Months ago I suggested that I could provide this enhancement -- tbh, I started to implement it, ran into a problem, and got side-tracked so it never was completed. My bad!
However, I would like to finish this, since I'm about 80% done. Dave, which branch would you like me to use for the PR? Just to prove my intentions, and garner some feedback, here is what the revised Dashboard side-bar looks like in my dev environment:
Notice that the "hidden" menu items are lighter grey and use the line-through text style. Also notice the last item on the list is showing the fa-bar
icon, representing that fact that the menu item is "disabled" -- which in my mind means it cannot be navigated to.
And here is how I implemented the new "disabled" and "hidden" properties of the dashboard ui_tab
editor panel:
Looking at it now, I should probably add a bit of prose in a note on the editor panel, describing what the two flags are supposed to do. Please let me know if there are any other changes you would need, and I'll see if I can get this done in the next week or so...
__
Cheers,
Steve