Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Trash, delete and undo

Deleting notes, the trash, restoring, emptying and the undo bar. Decisions: D-21, D-24, D-40.

  • A deleted note goes to the trash and comes back
    • Shared: NotesCoreTest.moveDeleteUndelete
    • Android UI: HistorySearchTrashUiTest.deletedNoteGoesToTrashAndComesBack
    • iOS UI: HistorySearchTrashUITests.DeletedNoteGoesToTrashAndComesBack
  • A restored note returns to its notebook
    • Shared: NotesCoreTest.moveDeleteUndelete
    • Not tested: Android UI, iOS UI
  • Saving a trashed note fails as stale
    • Shared: NotesCoreTest.moveDeleteUndelete
    • Not tested: Android UI, iOS UI
  • Deleting from the note offers Undo instead of asking (D-24)
    • Android UI: HistorySearchTrashUiTest.deletingFromTheNoteOffersUndoInsteadOfAsking
    • iOS UI: HistorySearchTrashUITests.DeletingFromTheNoteOffersUndoInsteadOfAsking
    • Not tested: Shared
  • Bulk deletes can be undone
    • Shared: OrganizingTest.bulkMovesAndDeletesCanBeUndone
    • Not tested: Android UI, iOS UI
  • Empty trash deletes forever unless undone (D-40)
    • Android UI: HistorySearchTrashUiTest.emptyTrashDeletesForeverUnlessUndone
    • iOS UI: HistorySearchTrashUITests.EmptyTrashDeletesForeverUnlessUndone
    • Not tested: Shared
  • Purging removes only trashed notes, with their history
    • Shared: NotesCoreTest.purgingRemovesOnlyTrashedNotesWithTheirHistory
    • Not tested: Android UI, iOS UI
  • Selected notes come back from the trash together
    • Android UI: HistorySearchTrashUiTest.selectedNotesComeBackFromTheTrashTogether
    • iOS UI: HistorySearchTrashUITests.SelectedNotesComeBackFromTheTrashTogether
    • Not tested: Shared

Gaps

  • App closing before the Empty trash undo bar expires (D-40: the notes stay in the trash) is untested.
  • A newer undo offer replacing the Empty trash bar, which purges the notes at once, is untested.
  • Undo after restoring several notes from the trash (puts them back in the trash) is untested.
  • A deleted notebook after its undo bar has gone (D-21: it can’t be restored) is untested.