Opened 2 years ago

Last modified 4 months ago

#16116 new defect (bug)

Hide 'Move to Trash' for auto drafts

Reported by: nacin Owned by:
Priority: normal Milestone: Future Release
Component: Editor Version: 3.0
Severity: normal Keywords: needs-patch dev-feedback ui-focus
Cc: MarkJaquith

Description

The 'Move to Trash' link should not appear for auto-drafts.

This was the original intent of what [13905] removed, which I want to say was designed to reflect additional scenarios.

Attachments (1)

16116.diff (621 bytes) - added by nacin 2 years ago.

Download all attachments as: .zip

Change History (5)

nacin2 years ago

Closed #19066 as a duplicate.

  • Keywords 3.2-early removed
  • Milestone changed from Future Release to 3.3

The patch still applies correctly. Moving for review.

  • Keywords needs-patch dev-feedback added; has-patch removed
  • Milestone changed from 3.3 to Future Release

This patch is lame. Ideally what should happen is that the trash link should show after an autosave, as at that point it is no longer an auto-draft and can be deleted.

If anything, the issue right now is that if you trash an auto-draft with no data attached to it, you get an "Undo" link which untrashes it, but it just becomes an auto-draft again.

Perhaps trashing an auto-draft results in a force-delete instead, and ?deleted=1 on edit.php. That makes more sense.

  • Component changed from UI to Editor
  • Keywords ui-focus added
Note: See TracTickets for help on using tickets.