Admin Menu Editor - Suggestions

Hi @joy ,

I’ve been playing with the Admin Menu & Toolbar Editor, and I’ve got a couple of suggestions.

Please see my screenshot here: CM-Menu-Editor · CleanShot Cloud

Firstly, I think enabling AJAX here, so the individual switchers here react in real time, would make the whole feature a bit more intuitive. Currently, it’s a bit tricky to see where you’re at due to the constant reloading.

On the screenshot, there are 3 items.

  1. When I activate the ‘All User Roles’ switcher, then save and reload, then after, unless I open up the options for that particular tab, I wouldn’t know that anything is activated, because the main ‘Hide’ switch is in innactive state.

    So, I suggest that activating the ‘All User Roles’ switch should also automatically activate the main ‘Hide’ switch, because it basically does the same thing. Then again, disabling the main ‘Hide’ switch should deactivate the ‘All User Roles’ or vice versa.

  2. Currently, I seem to be able to activate/deactivate all switchers randomly. In this case, when the ‘All User Roles’ switcher is active, it should disable the individual role switchers and vice versa. Again AJAX here would work best, to see the change in real time.

  3. And lastly, if I only select some user roles from the available switchers, again, this should affect the main ‘Hide’ switch, but in this case, it should put it into a “half active” mode if it makes any sense.
    By ”half active”, I mean the colour of the switch is not fully green, but it is light green, for example. But, visually, this tells me that this menu is not fully hidden.

    Currently, again, even if I hide the menu only for certain roles, save, reload the page, then on the page load, the main ‘Hide’ switch is inactive, so unless I open up the settings for this tab, I wouldn’t even know that for some roles, the switches are active.

Let me know your thoughts.
Yann