feat(todo): Upcoming's tasks dragged onto another day (ADR 0033, D16)

A row of Upcoming, overdue ones too, held and dropped on another day
moves there, its time, duration and recurrence kept; Moved to … offers
Undo. The tint over a day a drag hovers is laid beside the rows, not
around them, which paint on the Material beneath.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-01 17:58:06 +01:00
commit c83f7c46ff
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64
5 changed files with 173 additions and 15 deletions

View file

@ -167,5 +167,6 @@
"quickAddTokenHint": "Tippe ein hervorgehobenes Wort an, um es als Text zu behalten.",
"deadlineTitle": "Frist",
"orderChanged": "Reihenfolge geändert",
"addTaskCancel": "Hier ablegen zum Abbrechen"
"addTaskCancel": "Hier ablegen zum Abbrechen",
"taskMovedTo": "Verschoben auf {day}"
}

View file

@ -457,5 +457,14 @@
"addTaskCancel": "Drop here to cancel",
"@addTaskCancel": {
"description": "The × left in the add button's place while it is dragged (D16)."
},
"taskMovedTo": "Moved to {day}",
"@taskMovedTo": {
"description": "Snack bar after a task was dragged onto another day in Upcoming (ADR 0033, D16).",
"placeholders": {
"day": {
"type": "String"
}
}
}
}

View file

@ -1107,6 +1107,12 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Drop here to cancel'**
String get addTaskCancel;
/// Snack bar after a task was dragged onto another day in Upcoming (ADR 0033, D16).
///
/// In en, this message translates to:
/// **'Moved to {day}'**
String taskMovedTo(String day);
}
class _AppLocalizationsDelegate

View file

@ -713,4 +713,9 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get addTaskCancel => 'Hier ablegen zum Abbrechen';
@override
String taskMovedTo(String day) {
return 'Verschoben auf $day';
}
}

View file

@ -712,6 +712,11 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get addTaskCancel => 'Drop here to cancel';
@override
String taskMovedTo(String day) {
return 'Moved to $day';
}
}
/// The translations for English, as used in the United Kingdom (`en_GB`).