From 84be23571d0e52f28abe52371939ce551e998760 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 15 Feb 2026 17:36:13 +0900 Subject: feat(deck): add progress bar showing review/total ratio on deck list Add totalCardCount and reviewCardCount to deck API responses and display a progress bar on the home page for each deck with cards. Co-Authored-By: Claude Opus 4.6 --- src/client/atoms/decks.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/atoms') diff --git a/src/client/atoms/decks.ts b/src/client/atoms/decks.ts index a0e569f..8c8397f 100644 --- a/src/client/atoms/decks.ts +++ b/src/client/atoms/decks.ts @@ -8,6 +8,8 @@ export interface Deck { description: string | null; dueCardCount: number; newCardCount: number; + totalCardCount: number; + reviewCardCount: number; createdAt: string; updatedAt: string; } -- cgit v1.3-1-g0d28