h.buckle 12 Posted March 24 Posted March 24 I'm creating a plugin with 2 pages, a config page and a report page and trying to use PluginUI (no embedded html/js) I can't get the config page to appear when you click on the plugin in the catalog (or select settings from the context menu), instead it just displays the report page This is what I'm setting in the controller public PluginConfigPageController(string pluginId) { PluginId = pluginId; PageInfo = new PluginPageInfo { Name = "Configuration", DisplayName = "Settings", MenuIcon = "settings", EnableInMainMenu = false, IsMainConfigPage = true, EnableInUserMenu = false, }; } For the report page I have IsMainConfigPage = false If I don't include the report page at all (remove it from the list of UIPageControllers) then the settings page is shown when clicking on the plugin, so it seems like it just picks one from that list to display and ignores IsMainConfigPage?
ginjaninja 652 Posted July 29 Posted July 29 On 24/03/2026 at 10:04, h.buckle said: I'm creating a plugin with 2 pages, a config page and a report page and trying to use PluginUI (no embedded html/js) I can't get the config page to appear when you click on the plugin in the catalog (or select settings from the context menu), instead it just displays the report page This is what I'm setting in the controller public PluginConfigPageController(string pluginId) { PluginId = pluginId; PageInfo = new PluginPageInfo { Name = "Configuration", DisplayName = "Settings", MenuIcon = "settings", EnableInMainMenu = false, IsMainConfigPage = true, EnableInUserMenu = false, }; } For the report page I have IsMainConfigPage = false If I don't include the report page at all (remove it from the list of UIPageControllers) then the settings page is shown when clicking on the plugin, so it seems like it just picks one from that list to display and ignores IsMainConfigPage? Did you ever find the answer? are you using multiple pages or multiple tabs? i have hit the same problem in the past as well, but without understanding why, and none the wiser how the problem went away. i dont undersand in a multitab environment why 1 tab becomes the default tab, its not the 1st tab..possibly the last tab or a tab with "config" in its name, that always seems ?magically? become the primary tab when entering from the plugins page.
h.buckle 12 Posted 7 hours ago Author Posted 7 hours ago No I got bored and gave up. @softworkz@Lukeif PluginUI is the future it would be good if the official plugins were updated - almost all of the ones I looked at are still using html/js 1
softworkz 5368 Posted 44 minutes ago Posted 44 minutes ago 6 hours ago, h.buckle said: No I got bored and gave up. @softworkz@Lukeif PluginUI is the future it would be good if the official plugins were updated - almost all of the ones I looked at are still using html/js Yes, that's a legitimate point. We have recently started migrating most of the server configuration pages to the new UI model, but it's not merged yet and it won't be open-source anyway, so that's not directly useful, but another sign that our direction is clear in this regard. For the open-source plugins, we'll do the same at some point, it's just that this kind of work (where there's no direct user-facing improvement) often gets de-prioritized. But we have an AI Agent SKILL ready which has all the information that is needed for Plugin UI and which is about to be published shortly.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now