feat(app): the home dashboard's data: activity, streak, goal, layout
What the dashboard shows, worked out from this device's data: cards rated (crammed included, fresh starts not) and cards written per local day; the streak, up to today or yesterday, rest days counting; the cards falling due per day, but those resting in archived studysets; the study goal's progress in its day or week. The goal, the rest days and the dashboard's arrangement live in the synced settings (payload schema 3). Cards tell when they were made by their UUID v7 ids; reviews report their changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
5cec9f71dc
commit
d846ee4582
1 changed files with 1024 additions and 36 deletions
|
|
@ -189,6 +189,7 @@ final class SyncDevice(
|
|||
await studysets.dispose();
|
||||
await tags.dispose();
|
||||
await settings.dispose();
|
||||
await reviews.dispose();
|
||||
await cards.dispose();
|
||||
await _syncRequests.dispose();
|
||||
await _db.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue