feat(app): undo deleting a card
Deleting a card, from the list or while studying, asks first ("Delete
flashcard?"), then offers Undo for a few seconds ("Flashcard deleted").
Meanwhile the card leaves every list and session; once the time to
undo is over, its revisions are blanked and it is deleted for good, as
notes and studysets already are (CardDeletions, a DelayedDeletions).
Undo while studying puts the card back into the round where it was.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
c5cbc53bdd
commit
2b188641c3
1 changed files with 219 additions and 44 deletions
|
|
@ -2266,6 +2266,24 @@ abstract class AppLocalizations {
|
|||
/// **'Flashcard unburied'**
|
||||
String get cardTileUnburied;
|
||||
|
||||
/// No description provided for @cardDeleteTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Delete flashcard?'**
|
||||
String get cardDeleteTitle;
|
||||
|
||||
/// No description provided for @cardDeleteMessage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This flashcard will be removed from the studyset. You can undo this for a few seconds.'**
|
||||
String get cardDeleteMessage;
|
||||
|
||||
/// No description provided for @cardDeleted.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Flashcard deleted'**
|
||||
String get cardDeleted;
|
||||
|
||||
/// No description provided for @cardFilterTooltip.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
|
|||
Loading…
Reference in a new issue