Problem/Motivation
The default action on /admin/content is "Delete selected content". It's really easy to push "Apply" button by mistake, thinking it will apply the filter, because of the button title, and because it's positioned at the bottom of the form, typically where people expect to look for submit buttons. (This actually happened to me today, and I've been using Drupal for 8 years.)
Proposed resolution
- Use the D7 sort order (#3)
- Make the default action something safer (or make the default a no-op).
- Change the "Apply" button back to "Update" (like D7), "Execute", or even something action specific ("Delete").
Proposed alternatives
Alternatives for order of operations. The first operation in a list is the default.
Alternative 1: D7-like
- Publish content
- Unpublish content
- Promote content to front page
- Remove content from front page
- Make content sticky
- Make content unsticky
- Delete content
- Save content
Variation: Unpublish as default, by swapping Publish and Unpublish. This has the same Cons. For consistency the other operation pairs should also be swapped.
Alternative 2: Safe default
- - None -
- Publish content
- Unpublish content
- Delete content
- Save content
- Promote content to front page
- Remove content from front page
- Make content sticky
- Make content unsticky
Variation: Place Delete and Save at the bottom of the list as in D7.
Alternative 3: Safe first
- Make content sticky
- Make content unsticky
- Promote content to front page
- Remove content from front page
- Publish content
- Unpublish content
- Delete content
- Save content
Variation: Use Promote/Demote as first operation pair.
Remaining tasks
- Implement the suggestion in Comment #75
- Fix the failing tests: see Comment #72
- Make follow-up to delete the Save content option
User interface changes
Yes!
API changes
N/A