Quizzes: To do = started but unfinished; durations roll into days

The To do tab now lists only quizzes you've started and not finished;
untouched ones stay under All. Quiz times show hours and days
(3h 20m, 2d 4h) instead of ever-growing minutes, and 59.96s no longer
prints as "60.0s".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gosangam
2026-10-18 14:29:05 +05:30
co-authored by Claude Opus 5.5
parent 52cd48b12e
commit f855699e72
2 changed files with 19 additions and 3 deletions
+3 -1
View File
@@ -57,7 +57,9 @@ export function QuizzesList() {
? true
: filter === "done"
? q.my.state === "completed"
: q.my.state !== "completed",
: // To do: started but not finished. Untouched quizzes live
// under All.
q.my.state === "in_progress",
),
[list, filter],
);