diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-25 23:02:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-25 23:02:35 +0900 |
| commit | 38b8fc0e9927c4146b4c8b309b2bcc644abd63d0 (patch) | |
| tree | f76ba23251645e552fccd201362064b06de50bdd /src/client/pages/HomePage.test.tsx | |
| parent | 7a77e72bb49ed3990a0c4581292a37a8a4f35231 (diff) | |
| download | kioku-38b8fc0e9927c4146b4c8b309b2bcc644abd63d0.tar.gz kioku-38b8fc0e9927c4146b4c8b309b2bcc644abd63d0.tar.zst kioku-38b8fc0e9927c4146b4c8b309b2bcc644abd63d0.zip | |
Allow each deck to specify a default note type that is auto-selected
when creating new notes. Includes DB schema migration, server API
updates, sync layer support, and UI for editing the default in the
deck settings modal.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/client/pages/HomePage.test.tsx')
| -rw-r--r-- | src/client/pages/HomePage.test.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/pages/HomePage.test.tsx b/src/client/pages/HomePage.test.tsx index de7a768..adcc651 100644 --- a/src/client/pages/HomePage.test.tsx +++ b/src/client/pages/HomePage.test.tsx @@ -92,6 +92,7 @@ const mockDecks = [ id: "deck-1", name: "Japanese Vocabulary", description: "Common Japanese words", + defaultNoteTypeId: null, dueCardCount: 5, newCardCount: 0, totalCardCount: 100, @@ -103,6 +104,7 @@ const mockDecks = [ id: "deck-2", name: "Spanish Verbs", description: null, + defaultNoteTypeId: null, dueCardCount: 0, newCardCount: 0, totalCardCount: 0, @@ -258,6 +260,7 @@ describe("HomePage", () => { id: "deck-1", name: "No Description Deck", description: null, + defaultNoteTypeId: null, dueCardCount: 0, newCardCount: 0, totalCardCount: 0, @@ -340,6 +343,7 @@ describe("HomePage", () => { id: "deck-new", name: "New Deck", description: "A new deck", + defaultNoteTypeId: null, dueCardCount: 0, newCardCount: 0, totalCardCount: 0, |
