Can the GUI levels stay expanded?

Started by tcm1010, March 20, 2026, 04:01:13 AM

Previous topic - Next topic
I have recently had to do a lot of troubleshooting, jumping between System:Gateways:Configuration, VPN:WireGuard:{Instance,Peers,Status}, etc.  Each time I need to jump from one category level to another, the previous category level collapses and becomes hidden, so going back to it is three clicks.  Is there a setting (I haven't yet found...) to keep the category/function/config levels I have already entered fully expanded?

Secondary question: are there any plans for a possible "favorites" category, so one click on a favorite would get me immediately to where I want to go?

Thank you in advance.

(Current version: 26.1.2_5)

Quote from: tcm1010 on March 20, 2026, 04:01:13 AMare there any plans for a possible "favorites" category, so one click on a favorite would get me immediately to where I want to go?
I am not sure what to answer so have a look at these posts :
- https://forum.opnsense.org/index.php?topic=50692.msg259170#msg259170
- https://forum.opnsense.org/index.php?topic=50686.msg259070#msg259070

I would like to think that there is a chance somewhere in the future ?!


At least you are not the only one with that wish :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Quote from: nero355 on March 20, 2026, 04:19:41 PMI would like to think that there is a chance somewhere in the future ?!


At least you are not the only one with that wish :)

Thanks nero355 for pointing those out.  I did a lot of searching before posting and did not come across those threads (probably because I used "GUI" as one of the search criteria).

Shall I mark this thread [SOLVED]...or [REDUNDANT]?  :-)



Quote from: tcm1010 on March 20, 2026, 05:05:12 PMThanks nero355 for pointing those out.
You are welcome! :)

QuoteI did a lot of searching before posting and did not come across those threads (probably because I used "GUI" as one of the search criteria).
No worries! Stuff happens! ;)

QuoteShall I mark this thread [SOLVED]...or [REDUNDANT]? :-)
I would wait for a reply from one of the developers of OPNsense.
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Oh yes, a fix for this would be great!

I started to use multiple windows as mitigation.

I'm proposing to submit a PR shortly to implement a Favorites section.

  • It only appears if the user has at least one favorite selected. If all favorites are removed, the Favorites section disappears
  • Favorites are added/removed simply by clicking on a star icon next to each leaf menu item. The star icon changes appearance if the item is in the Favorites list
  • The Favorites list is stored per-user, and is subject to their permissions
  • If a favorited menu item is removed (eg an interface is removed or a plugin uninstalled), the Favorites entry is also removed
  • Favorites entries appear in the same order as the corresponding menu items

Some sample screenshots attached.

That looks like it will work very nicely.  Thank you, Greelan!

Quote from: Greelan on Today at 01:07:09 PM
  • Favorites are added/removed simply by clicking on a star icon next to each leaf menu item. The star icon changes appearance if the item is in the Favorites list
IMHO it would be better to manage the chosen favorites in the Favorites Category itself rather than have stars appear everywhere suddenly across the OPNsense webGUI.

Another option would be to have 'Add this page to my Favorites' on the top of each settings page, but a bit "tucked away" like for example the small button for 'Export Static DHCP Mappings to .CSV file' is at the moment :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Today at 08:14:42 PM #8 Last Edit: Today at 08:45:35 PM by Greelan
I realised when doing this everyone would have an opinion xD

I thought about the first option. It seemed cumbersome to me. To add a Favorite, you would need to click a button and then navigate a list and click another?

I also thought about the second option. The issue with that is there isn't consistency between pages that would make adding an icon or setting there convenient or consistent. Probably the only realistic spot to add it is at the start or end of the heading on the page.

The nice part though of having the favorite icon in the menu is that multiple options can be clicked without having to open each page.

Maybe Franco or Ad will see this and can weigh in from a preferred UI perspective before I finalise a PR.

Quote from: Greelan on Today at 08:14:42 PMI realised when doing this everyone would have an opinion xD
I know, but those stars make OPNsense a bit "Super Mario World" if you know what I mean... Consumer level stuff...

QuoteI thought about the first option. It seemed cumbersome to me. To add a Favorite, you would need to click a button and then navigate a list and click another?
IMHO similar to Enabling/Disabling KEA/DNSmasqd on Multiple Interfaces but maybe with some improvements :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Today at 11:05:45 PM #10 Last Edit: Today at 11:08:32 PM by Greelan
Quote from: nero355 on Today at 10:49:17 PMIMHO similar to Enabling/Disabling KEA/DNSmasqd on Multiple Interfaces but maybe with some improvements :)
I don't think you can equate the two. There are just a few interfaces that appear in the list in your example. There are on the other hand dozens of leaf pages. Also a dropdown in a menu item would look super odd imo - not even sure it is possible.

Anyway, I'm preparing an alternative that has a small star in each breadcrumb heading. Unobstrusive and not "Super Mario World" to my eye