Source decision 0063 — As an Editor, I want to delete a document
Original source · exact version bafyreigitrnrg5mw3dhsj6rwrip2fyhjfxw47vnqpa3c7tdbhsb3ovzj7m · Read-derived block
Classification: story; source kind: story; decision: approve; confidence: high; review status: needs-review.
Rationale: A concrete editor action with observable warning, success feedback, permission behavior and dialog requirements. Copied contextual-menu flow is broader than deletion, so retain separately from the menu story.
Review qualification: Uncertain identity/behavior/duplication remains a separate candidate; do not merge without review.
Canonical target (to be published after manifest): Proposed canonical target
Similar source candidates — kept separate
Evidence snapshot: original readable text 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