As an Editor, I want to delete a document

The user can "Delete a document"→

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.

Basic flow

  • User clicks the 3 dots button

  • A dialog opens bellow the button with a list of option

  • User selects one of the options of their interest

  • User closes the dialog by clicking outside in desktop or in the X icon in mobile.

Edge Cases

  • 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

UI considerations:

  • 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.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime