I worked with some kind folks in the UX team to promote the delete button on the node edit form to a local menu task (aka tab) like edit, view, track and revisions are. The general consensus is that this is a good thing but Dries would like to unify the interaction model across core if we push it through. I couldnt agree more.
I plan to submit an issue for each affected module and work through the efforts that way to keep the patches small and reviewable.
The reasons behind removing the delete from the edit form are numerated in the isssue mentioned above: Move delete node button on edit form to a local menu task
Definitions
LMT = local menu task (aka menu tab tab)
DLMT = Default LMT
Overview
The changes listed below focus on letting you modify (edit and delete) the items "in place" instead of relying on an all of the administrative interfaces (which are still provided and more UX friendly) for those interactions. The LMTs automatically determine if you have permissions via user_access(). The changes will also be focused on letting you take an action with fewer clicks (e.g. click delete from the forum itself, or the administrative menu (admin/build/forum) instead of requiring you to navigate to the admin section then edit then delete.) I will be tackling 4 main interaction modalities:
- Provide a link to "Add item" at the bottom of lists of items (e.g. admin/user/roles)
- Provide a Local Menu Task (aka Tab) to edit and delete items where they live (e.g. node/#/@action)
- Provide a link to edit and delete item in the administrative list tables (e.g. admin/user/roles)
- Remove the ability to delete items from the edit form (e.g. node/@nid/edit)
Changes
Existing delete items on edit form and suggest resolutions:
- Node
- Remove "delete content type" button from edit menu form. (admin/build/node-type/@type)
- User
- Add "Delete" LMT to user page (user/@uid)
- Add "delete" link to user overview table (admin/user/user)
- Add "Add user" link to the bottom of the list.
- Forum & Forum Container
- Add an edit and delete LMT to the forum container view page (forum/#) with a DLMT for "view" provided as well.
- Add "delete" link to the overview page (admin/build/forum).
- Remove delete button from forum edit page.
- Menu
- Add overview table on menu over view page (admin/build/menu). Issue
- Add edit/delete items to new table on menu overview page (admin/build/menu).
- Add delete LMT to menu page (admin/build/menu-customize/menu-@name)
- Remove delete button and form processing logic from menu edit (admin/build/menu-customize/menu-@name/edit)
- Remove delete button and form processing logic from menu item edit (admin/build/menu/item/@menu_id/edit)
- A few changes to the Add item will be desired on menu page (admin/build/menu-customize/menu-@name) UX guys refer putting Add item functionality at the bottom of lists as wella s in a LMT im begining to agree.
- Aggregator
- Add "Add feed/category" to the bottom of the feed and category overview tables. (admin/content/aggregator)
- Add "delete" link for each feed in the feed and category overview tables (admin/content/aggregator)
- Remove "delete button" and form processing logic from feed and category edit forms (admin/content/aggregator/edit/feed/@cat_id)
- Rename "Operations" header "Feed Operations" and add "Item Operations" header (admin/content/aggregator)
- Rename Update Items to "Refresh Items" (Trying to distinguish better from "editing the feed") (admin/content/aggregator)
- Add "delete" link to the feed operations header on the category overview table (admin/content/aggregator)
- Rename "configure" LMT to "edit" and add "delete" LMT on category page (aggregator/categories/@cat_id)
- Taxonomy
- Add "Add Vocabulary" to the bottom of the vocabulary list (admin/content/taxonomy)
- Create a user facing page to view a vocabulary (name, description, term list with link to content assigned to term, Add term link at bottom of table) (suggested menu path: taxonomy/vocabulary/@vid)
- Remove "list terms" and link "vocabulary name" field in overview table to the new page created above.
- Provide View (DMLT), Edit, delete LMTs for user facing vocabulary page above.
- Filter
- Rename the "configure" link in overview table to "edit" (because it links to an edit LMT which also has a configure LMT :). (admin/settings/filter)
- Add "Add text format" to the bottom of the overview table (admin/settings/filter)
- Profile
- Compliant for both "edit on delete form" and "add items on bottom of lists"
- Roles
- Existing patch by me: XXX
- Block, Contact, Path, Locale
- Compliant with regards to "edit on delete form"
- Need to add "Add item" on end of item list.
Comments
Post new comment