feat(paths): confetti for a finished path, and an import's progress
All checks were successful
CI / check (push) Successful in 13m32s
CI / deploy (push) Successful in 19s

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:
Tizian 「ティツィアーン」 2026-10-11 21:23:11 +02:00
commit b8e4e28a08
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -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(