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