feat(app): Home, the Library and the studyset sheets laid out as before

Home: plain cards on the surface, 16 dp apart, the goal first and the
Pomodoro timer after it in a new dashboard. The streak chip sits centred
in the app bar, and its sheet shows the days inside a big flame and the
week as marks over the weekdays' initials, with a word on today in a box.
The week names its day as "Thursday, Oct 8" and its days carry no
tooltip. The heatmap scrolls its weekdays with the weeks, outlines the
days to come, and names a day's activities with its date. The goal card
has a ring of 5 dp, a check once met and a pencil, and its sheet saves
across its width with Remove goal below. Arranging puts an eye on each
widget's corner and lifts the one picked up, with a tap the hand feels;
with every widget hidden, Customise brings arranging back. The stepper
moves to core, where the goal's sheet takes it too.

Library: the counts line includes files (PDFs); Refresh in the app bar
and pulling the list down sync now; a list that can't be read offers
Retry, which reads it again; the star keeps its square corners.

Studyset sheet: "Title *", the secondary title explained behind a
question mark, Inherit as a box beside the colour, and the description
in up to three lines with a chevron. Move sheet: round marks, the
studyset itself marked as current, the top level only while it is
inside another, archived studysets last under their heading, the
destination named in the footer, and a new studyset to move into, made
only once the move is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-08 11:12:23 +02:00
commit aa69be47d1
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -96,7 +96,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get studysetSheetSecondaryHelper =>
'Shown as a small label above the title.';
'Shown as a small label above the title on cards and the studyset\'s header. Paths use it to label tiers (Challenge, Milestone, Lesson).';
@override
String get studysetSheetColor => 'Colour';
@ -169,6 +169,23 @@ class AppLocalizationsEn extends AppLocalizations {
return '$_temp0';
}
@override
String studysetCountFiles(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: '$count files',
one: '1 file',
);
return '$_temp0';
}
@override
String get libraryRefresh => 'Refresh';
@override
String get libraryRetry => 'Retry';
@override
String get studysetNoContent => 'No content yet';
@ -840,20 +857,37 @@ class AppLocalizationsEn extends AppLocalizations {
String get studysetMoveTopLevel => 'Top level';
@override
String get studysetMoveCurrent => 'Where it is now';
String get studysetMoveCurrent => '(current)';
@override
String get studysetMoveTopLevelRow => 'Top level (no parent)';
@override
String get studysetMoveArchived => 'Archived';
@override
String get studysetMoveNew => 'New studyset';
@override
String get studysetMoveSelectDestination => 'Select a destination';
@override
String studysetMoveDestination(String name) {
return 'Destination: $name';
}
@override
String get studysetMoveConfirm => 'Move';
@override
String get studysetMoveShowInside => 'Show what is inside';
String get studysetMoveShowInside => 'Show sub-studysets';
@override
String get studysetMoveHideInside => 'Hide what is inside';
String get studysetMoveHideInside => 'Hide sub-studysets';
@override
String studysetMoved(String destination) {
return 'Moved to $destination.';
String studysetMoved(String title, String destination) {
return 'Moved \"$title\" to $destination.';
}
@override
@ -872,11 +906,16 @@ class AppLocalizationsEn extends AppLocalizations {
String get studysetSheetDescription => 'Description';
@override
String get studysetSheetDescriptionAdd => 'Add a description';
String get studysetSheetDescriptionAdd => 'Tap to add a description';
@override
String get studysetSheetInheritColor =>
'Same colour as the studyset it is in';
String get studysetSheetDescriptionAdded => 'Description added — tap to edit';
@override
String get studysetSheetInheritColor => 'Inherit';
@override
String get fieldRequired => 'required';
@override
String get exploreTitle => 'Explore';
@ -2166,10 +2205,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get homeAllHidden => 'All widgets are hidden';
@override
String get homeAllHiddenHint => 'Long-press here to bring some back.';
String get homeAllHiddenBody => 'Bring some back to fill your dashboard.';
@override
String get homeWidgetGoal => 'Study goal';
String get homeCustomise => 'Customise';
@override
String get homeWidgetGoal => 'Daily goal';
@override
String get homeWidgetWeek => 'Week overview';
@ -2283,17 +2325,6 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get weekRestDay => 'Rest day';
@override
String weekDueCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: '$count cards due',
one: '1 card due',
);
return '$_temp0';
}
@override
String get heatmapLess => 'Less';
@ -2318,7 +2349,6 @@ class AppLocalizationsEn extends AppLocalizations {
locale: localeName,
other: '$count activities',
one: '1 activity',
zero: 'Nothing',
);
return '$_temp0 · $date';
}
@ -3140,7 +3170,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get imageOpenPdfPage => 'Open the PDF at this page';
@override
String get homeWidgetDeadlines => 'Reading deadlines';
String get homeWidgetDeadlines => 'PDF reading deadlines';
@override
String get deadlinesTitle => 'Reading deadlines';
@ -3681,12 +3711,12 @@ class AppLocalizationsEnUs extends AppLocalizationsEn {
return 'Color: $color';
}
@override
String get studysetSheetInheritColor => 'Same color as the studyset it is in';
@override
String get tagSheetColor => 'Color';
@override
String get formatAlignCenter => 'Center';
@override
String get homeCustomise => 'Customize';
}