As an Editor, I want to delete a document

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

Attributes
map
name
As an Editor, I want to delete a document
owner
status
candidate
behavior
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.
goalRefs
1.
map
localIdgoal-1e102ab52db22563
userTask
map
localIdut-ee94b10efa39464a
actorRefs
1.
map
localIdactor-b1c855ce22485a8d
provenance
1.
reviewStatusneeds-review
sourceBlockId6s-ViP1X
sourceVersionbafyreigitrnrg5mw3dhsj6rwrip2fyhjfxw47vnqpa3c7tdbhsb3ovzj7m
sourceDocument
extractionRationaleA 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.
migrationEntry
proposedReleases

Empty list

acceptanceCriteria
1.The document will be deleted with a warning modal explaining the consequences.
2.After deleting a confirmation toast will appear.
3.Limit subdocuments list in "show" to 3- When more than 3 add scroll to the section. Remember on mobile dialogs are full screen.
4.User closes the dialog by clicking outside in desktop or in the X icon in mobile.
5.User lacks permission to edit → Options in 3 dots button will vary just showing:
6.Share link
7.Export document
8.Draft / never published — Share link will option will prompt a toast notification: "Document not published yet. Publish it to generate a shareable link
9.Doc has no children: Shows empty state
10.Update copy as in design for more clarity of what the actions are, ie: Document version -> Versions history Directory -> Child documents
11.Update icons as in design for more clarity of what actions are.
12.Update order of the actions by priority and group with deleting always at the end.
Attributes schemaThe fields this document carries.
Fetching schema…