As an Editor, I want to delete a document
Behavior from source: Delete a document from contextual options with a consequences warning and post-deletion confirmation; constrain the child-document list and hide editing actions when permission is absent.
Original source · exact version bafyreigitrnrg5mw3dhsj6rwrip2fyhjfxw47vnqpa3c7tdbhsb3ovzj7m
Reviewed migration decision · Journey map · local task ID ut-ee94b10efa39464a.
Confidence: high; review status: needs-review. Similar source records are not merged. Source status icon is not a committed release or current product state.
Source acceptance and behavior
The document will be deleted with a warning modal explaining the consequences.
After deleting a confirmation toast will appear.
Limit subdocuments list in "show" to 3- When more than 3 add scroll to the section. Remember on mobile dialogs are full screen.
User closes the dialog by clicking outside in desktop or in the X icon in mobile.
User lacks permission to edit → Options in 3 dots button will vary just showing:
Share link
Export document
Draft / never published — Share link will option will prompt a toast notification: "Document not published yet. Publish it to generate a shareable link
Doc has no children: Shows empty state
Update copy as in design for more clarity of what the actions are, ie: Document version -> Versions history
Directory -> Child documents
Update icons as in design for more clarity of what actions are.
Update order of the actions by priority and group with deleting always at the end.
Full original readable source and block backlinks
Heading The user can "Delete a document"→ source block
Paragraph The document will be deleted with a warning modal explaining the consequences. source block
Paragraph After deleting a confirmation toast will appear. source block
Paragraph Limit subdocuments list in "show" to 3- When more than 3 add scroll to the section. Remember on mobile dialogs are full screen. source block
Heading Basic flow source block
Paragraph User clicks the 3 dots button source block
Paragraph A dialog opens bellow the button with a list of option source block
Paragraph User selects one of the options of their interest source block
Paragraph User closes the dialog by clicking outside in desktop or in the X icon in mobile. source block
Heading Edge Cases source block
Paragraph User lacks permission to edit → Options in 3 dots button will vary just showing: source block
Paragraph Share link source block
Paragraph Export document source block
Paragraph Draft / never published — Share link will option will prompt a toast notification: "Document not published yet. Publish it to generate a shareable link source block
Paragraph Doc has no children: Shows empty state source block
Heading UI considerations: source block
Paragraph Update copy as in design for more clarity of what the actions are, ie: Document version -> Versions history
Directory -> Child documents source block
Paragraph Update icons as in design for more clarity of what actions are. source block
Paragraph Update order of the actions by priority and group with deleting always at the end. source block
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime