问题
I have 2 questions here:
1. How to hide unwanted Tabs in the Tab navigator of Hawtio?
There are other tabs on home page as well as Connection page of Hawtio. I want to remove few and keep only my custom tabs.
2. By default, after connecting to remote server, it lands on Active MQ page. Here, I want it to land on my custom plugin html.
I know the URL which is being hit for landing on ActiveMQ page. But I want to figure out from where it is being hit. If not that, I want to find out how can I pass my own URL (for landing on custom Plugin html, which opens only when I click on the custom Tab.)
The changes need to be done at the code level. Any help is appreciated.
回答1:
Ad 1.
In the preference you can disable/enable plugins, and change the order they are listed.
Ad 2.
In the preference you can reorder the plugins so your custom plugin is listed first.
来源:https://stackoverflow.com/questions/41996934/how-to-hide-the-tabs-in-hawtio-also-how-to-stop-the-default-landing-on-activem