diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-15 17:36:13 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-15 17:36:13 +0900 |
| commit | 84be23571d0e52f28abe52371939ce551e998760 (patch) | |
| tree | 0122f749ebc87b9c02af985de3f69f7e6b9e4e39 /src/client/pages/DeckDetailPage.test.tsx | |
| parent | cbb45c8776444e90f26d27e53241cf5a9ba5ec4f (diff) | |
| download | kioku-84be23571d0e52f28abe52371939ce551e998760.tar.gz kioku-84be23571d0e52f28abe52371939ce551e998760.tar.zst kioku-84be23571d0e52f28abe52371939ce551e998760.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'src/client/pages/DeckDetailPage.test.tsx')
| -rw-r--r-- | src/client/pages/DeckDetailPage.test.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/pages/DeckDetailPage.test.tsx b/src/client/pages/DeckDetailPage.test.tsx index b2fa7f0..bb9d80c 100644 --- a/src/client/pages/DeckDetailPage.test.tsx +++ b/src/client/pages/DeckDetailPage.test.tsx @@ -62,6 +62,8 @@ const mockDeck = { description: "Common Japanese words", dueCardCount: 0, newCardCount: 0, + totalCardCount: 0, + reviewCardCount: 0, createdAt: "2024-01-01T00:00:00Z", updatedAt: "2024-01-01T00:00:00Z", }; |
