Hide items from menu(s) / disable animation

Started by fatalfuuu, Today at 11:08:42 AM

Previous topic - Next topic
Is it possible to hide entries from the webui menus?

I note an old post from 2016 which doesn't seem to work now - is it supposed to or no longer possible? https://forum.opnsense.org/index.php?topic=2955.0


Also - officially or unofficially - any way to disable menu animations?

You can create a user with very specific permissions.

But your best bet is this PR. https://github.com/opnsense/core/pull/10033

As a separate proposal, I was also contemplating adding a toggle setting that could disable automatic menu collapsing generally. I think the scroll would probably still need to happen though.

Quote from: Greelan on Today at 11:56:47 AMAs a separate proposal, I was also contemplating adding a toggle setting that could disable automatic menu collapsing generally. I think the scroll would probably still need to happen though.

In my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...

Not sure how to optimally fix this. Thats why I like your PR a lot.

Disabling automatic menu collapsing in my mind would quickly lead to a monstrosity.

Quote from: sopex8260 on Today at 12:41:07 PMDisabling automatic menu collapsing in my mind would quickly lead to a monstrosity.

I agree - I would never use the toggle xD

Quote from: sopex8260 on Today at 12:41:07 PMIn my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...

Not sure I understand what you mean by this?

Quote from: Greelan on Today at 12:51:16 PM
Quote from: sopex8260 on Today at 12:41:07 PMIn my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...

Not sure I understand what you mean by this?
Example :

- System
-- Access
--- Users

Only Users can be opened in a New Tab ;)

Mouse/Touchpad Middle Click or CTRL+Click = Open link in New Tab.
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Thanks for the first heads up, if you notice the link it suggests that this would never be changed hence I didn't go looking for it.

I wasn't really looking to limit to users, just reduce the amount of options I know I would never need in a specific install.


I had made a suggestion in the past that having the software name in the list should ideally be replaced with its generic function (DHCP etc) and at a minimum it should say DHCP Kea, not Kea DHCP.


Quote from: nero355 on Today at 03:32:13 PM
Quote from: Greelan on Today at 12:51:16 PM
Quote from: sopex8260 on Today at 12:41:07 PMIn my opinion, the biggest problem with the menu is that you can "middle click" to nothing. If you have not reached the last level of the menu with the actual settings...

Not sure I understand what you mean by this?
Example :

- System
-- Access
--- Users

Only Users can be opened in a New Tab ;)

Mouse/Touchpad Middle Click or CTRL+Click = Open link in New Tab.

Exactly this... And you think everything is fine because a new tab opens but its just the tab you were before duplicated :(


Quote from: fatalfuuu on Today at 03:56:53 PMThanks for the first heads up, if you notice the link it suggests that this would never be changed hence I didn't go looking for it.

I wasn't really looking to limit to users, just reduce the amount of options I know I would never need in a specific install.



The link mentioned that it would not be overwritten during updates, a decade later, many things work differently on opnsense, and thus, this broke.

I know you don't need to limit users, but the result is the same. If you limit your user to not have permissions on options you "would never need in a specific install"

Quote from: fatalfuuu on Today at 03:56:53 PMI had made a suggestion in the past that having the software name in the list should ideally be replaced with its generic function (DHCP etc) and at a minimum it should say DHCP Kea, not Kea DHCP.
I fully support your suggestion !! :)

By the way I think this topic : https://forum.opnsense.org/index.php?topic=51346.msg263541#msg263541
Is interesting for many of us here, so please have a look there too!
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)