wearerequired / admin-menu-manager

Manage the WordPress admin menu using a simple drag & drop interface.
https://wordpress.org/plugins/admin-menu-manager/
GNU General Public License v2.0
61 stars 6 forks source link

Allow removal of menu items #12

Closed hlashbrooke closed 9 years ago

hlashbrooke commented 9 years ago

It would be great if items could be removed from the menu completely. You would obviously need a way to be able to restore them, so a possible UI could be a a box that appears below the 'Edit Menu' button while you're in edit mode where you can drop unneeded menu items. They will then remain there and can be dragged back into place in the future.

I'm not sure how possible that will be, but it would be a great add-on to what is already an awesome plugin.

swissspidy commented 9 years ago

Hey @hlashbrooke, thanks for submitting this! Such a feature would really help decluttering the admin menu.

As this is closely related to #3 UI-wise, so I will have to think about a nice way to interated both. A "dropbox" in the bottom (or maybe on the right) definitely sounds interesting.

neverything commented 9 years ago

I thought about the same feature as @hlashbrooke too last night. Maybe a fly-out when you are in edit mode that allows you to hide the menu item for certain user roles or everyone.

The restore with a dropbox or similar to inactive but configured widgets could be the solution to restore the menu items.

hlashbrooke commented 9 years ago

Yeah - it would link up with #3 nicely. A dropbox would be the most obvious UI to me, but as long as it's a logical way to store the items until they're needed again then it will be very useful.

swissspidy commented 9 years ago

I'm moving this to the 2.0.0 milestone, where I want to make a big rewrite of the plugin in order to accommodate for the various UI changes coming up:

For now the plugin works as expected and makes for a nice version 1.0.

hlashbrooke commented 9 years ago

I think that's a good move - no point in delaying v1 for features that can wait for v2 :)

swissspidy commented 9 years ago

A sneak peek at what I've been working on:

bildschirmfoto 2015-05-02 um 17 28 12

swissspidy commented 9 years ago

This is currently integrated in the develop branch. Trashing & restoring menu items works well so far, but needs more testing. New issues can be opened for found bugs.

hlashbrooke commented 9 years ago

That screenshot looks awesome - I'll check out the develop branch a little later too :)