feat(paths): confetti for a finished path, and an import's progress
Finishing a path bursts confetti over the view saying so: pieces in the palette's brightest colours fall once from the top, turning, and fade out in under two seconds, so the screen settles. Drawn by hand rather than with a package; nothing falls with animations switched off on the device. Importing paths into a studyset shows its Paths tab at once, and above the paths, as they come in, how far the import has come: which path of how many, by its title, and a bar filling with every path and step stored. Before, the paths appeared one by one in whatever tab showed, with nothing saying how many were still to come. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MMm7usAo6q9ZZRoPkWjoxi Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
80a0c409d5
commit
b8e4e28a08
1 changed files with 549 additions and 100 deletions
|
|
@ -392,6 +392,28 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||
return 'Couldn\'t import $file. $reason';
|
||||
}
|
||||
|
||||
@override
|
||||
String pathImportReading(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: 'Reading $count files…',
|
||||
one: 'Reading the file…',
|
||||
);
|
||||
return '$_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String pathImportStoring(int index, int count, String title) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: 'Importing path $index of $count: “$title”…',
|
||||
one: 'Importing “$title”…',
|
||||
);
|
||||
return '$_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String pathsImported(int count, int steps) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
|
|
|
|||
Loading…
Reference in a new issue