feat(app): the studyset screen with its topics, the tree's own screen
A studyset's screen, as decided with the tree (2026-09-30/10-01):
- A breadcrumb from the library down to the studyset; its steps go up
(replacing the location, so back leads further up), and steps that
don't fit fold into a "…" listing them, nearest first.
- From expanded windows on, two columns: the description over the topics,
the flashcards beside them, Study and Add material in the app bar. Below
that, the topics are in a drawer, opened from a bar at the bottom that
also holds Study and Add material and slides away while reading onwards;
the back button stays where a drawer would have taken its place.
- The topics: "All topics" for the whole studyset, then the studysets
inside it in their order, each with the study it invites, what it holds
and its options (edit, delete), opening on top of this screen; a switch
rearranges them by dragging; "New sub-studyset" creates one inside.
- Study covers the studyset with everything inside it ("Learn 12" while
something is due). Add material offers flashcards for now.
- Options: Edit (the sheet, now with the description, edited in the whole
window, and for a studyset inside another the colour of the one it is
in, which a new one takes at first), Move to… (the tree and the top
level, without the studyset itself and what is inside it), Archive or
Unarchive with Undo, Delete with Undo, which closes the screen.
- The description cut short when long, the whole a tap away; the licence
as the last line, linking to its text where that is known.
The list's bloc, scoped to a parent, lists its children, works out the
studyset's own progress, creates inside it, reorders and moves. The card
list leaves adding and studying to the screen. The inline editing of the
title and description, and its bloc, are gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
9c2960f49d
commit
31d87e8415
1 changed files with 2597 additions and 541 deletions
|
|
@ -78,7 +78,7 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||
|
||||
@override
|
||||
String get libraryDeleteMessage =>
|
||||
'It is deleted with its cards, on all your devices. You can undo this for a few seconds.';
|
||||
'It is deleted with everything inside it and all their cards, on all your devices. You can undo this for a few seconds.';
|
||||
|
||||
@override
|
||||
String get libraryDeleteConfirm => 'Delete';
|
||||
|
|
@ -201,6 +201,104 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||
@override
|
||||
String get studysetMenuDelete => 'Delete';
|
||||
|
||||
@override
|
||||
String get studysetMenuMove => 'Move to…';
|
||||
|
||||
@override
|
||||
String get studysetTabFlashcards => 'Flashcards';
|
||||
|
||||
@override
|
||||
String get studysetFlashcardsEmpty => 'No flashcards yet';
|
||||
|
||||
@override
|
||||
String get studysetFlashcardsEmptyHint => 'Add some to start studying.';
|
||||
|
||||
@override
|
||||
String get studysetAddMaterial => 'Add material';
|
||||
|
||||
@override
|
||||
String get studysetCreateFlashcards => 'Create flashcards';
|
||||
|
||||
@override
|
||||
String get studysetStudy => 'Study';
|
||||
|
||||
@override
|
||||
String studysetLearnCount(int count) {
|
||||
return 'Learn $count';
|
||||
}
|
||||
|
||||
@override
|
||||
String get studysetOpenTopics => 'Show topics';
|
||||
|
||||
@override
|
||||
String get studysetTopics => 'Topics';
|
||||
|
||||
@override
|
||||
String get studysetAllTopics => 'All topics';
|
||||
|
||||
@override
|
||||
String get studysetNewSubStudyset => 'New sub-studyset';
|
||||
|
||||
@override
|
||||
String get studysetSubStudysetsEmpty => 'No sub-studysets yet.';
|
||||
|
||||
@override
|
||||
String get studysetSubStudysetsEmptyHint =>
|
||||
'Break this studyset into milestones or lessons.';
|
||||
|
||||
@override
|
||||
String get studysetReorder => 'Reorder';
|
||||
|
||||
@override
|
||||
String get studysetReorderDone => 'Done';
|
||||
|
||||
@override
|
||||
String get studysetDragToReorder => 'Drag to reorder';
|
||||
|
||||
@override
|
||||
String get studysetMoveTitle => 'Move studyset to';
|
||||
|
||||
@override
|
||||
String get studysetMoveTopLevel => 'Top level';
|
||||
|
||||
@override
|
||||
String get studysetMoveCurrent => 'Where it is now';
|
||||
|
||||
@override
|
||||
String get studysetMoveConfirm => 'Move';
|
||||
|
||||
@override
|
||||
String get studysetMoveShowInside => 'Show what is inside';
|
||||
|
||||
@override
|
||||
String get studysetMoveHideInside => 'Hide what is inside';
|
||||
|
||||
@override
|
||||
String studysetMoved(String destination) {
|
||||
return 'Moved to $destination.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get studysetReadMore => 'Read more';
|
||||
|
||||
@override
|
||||
String get studysetDescriptionTitle => 'Description';
|
||||
|
||||
@override
|
||||
String get studysetDescriptionEditTitle => 'Edit description';
|
||||
|
||||
@override
|
||||
String get studysetDescriptionSave => 'Save';
|
||||
|
||||
@override
|
||||
String get studysetSheetDescription => 'Description';
|
||||
|
||||
@override
|
||||
String get studysetSheetDescriptionAdd => 'Add a description';
|
||||
|
||||
@override
|
||||
String get studysetSheetInheritColor => 'Same color as the studyset it is in';
|
||||
|
||||
@override
|
||||
String get exploreTitle => 'Explore';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue