diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-15 16:45:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-15 16:45:35 +0900 |
| commit | cea7703ac440c38636ce2abd5baab35a23d05843 (patch) | |
| tree | 38de7bdf13a6b4b006319ee7800206eab9e35215 /src/client/atoms | |
| parent | 65fcf4111bc64267624b4e348bb704d006de5327 (diff) | |
| download | kioku-cea7703ac440c38636ce2abd5baab35a23d05843.tar.gz kioku-cea7703ac440c38636ce2abd5baab35a23d05843.tar.zst kioku-cea7703ac440c38636ce2abd5baab35a23d05843.zip | |
feat(deck): display new card count on deck detail page
Add newCardCount alongside Total and Due stats in the deck detail view,
queried from cards with state=New via a new countNewCards repository method.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/client/atoms')
| -rw-r--r-- | src/client/atoms/decks.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/atoms/decks.ts b/src/client/atoms/decks.ts index 5a4d44e..a0e569f 100644 --- a/src/client/atoms/decks.ts +++ b/src/client/atoms/decks.ts @@ -7,6 +7,7 @@ export interface Deck { name: string; description: string | null; dueCardCount: number; + newCardCount: number; createdAt: string; updatedAt: string; } |
