diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-31 02:38:05 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-31 02:38:05 +0900 |
| commit | b51d4efaa1e5e0417d4306c02797f424938766cb (patch) | |
| tree | 56ef6a15c7e62fa0f4855e3e4453dffc4bac17ba /src/client/App.tsx | |
| parent | 7e04f7afbb3511e472135de5cb735314778604d3 (diff) | |
| download | kioku-b51d4efaa1e5e0417d4306c02797f424938766cb.tar.gz kioku-b51d4efaa1e5e0417d4306c02797f424938766cb.tar.zst kioku-b51d4efaa1e5e0417d4306c02797f424938766cb.zip | |
feat(client): add NoteTypesPage for note type management
Implement Phase 6 of the roadmap - NoteType list page with CRUD modals:
- NoteTypesPage displays all user's note types with templates and reversible badge
- CreateNoteTypeModal for creating new note types with templates
- EditNoteTypeModal for updating existing note types
- DeleteNoteTypeModal with constraint warning
- Navigation link from HomePage header
- Comprehensive tests for all components (65 new tests)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/client/App.tsx')
| -rw-r--r-- | src/client/App.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/App.tsx b/src/client/App.tsx index 3c20c54..e1b794c 100644 --- a/src/client/App.tsx +++ b/src/client/App.tsx @@ -4,6 +4,7 @@ import { DeckDetailPage, HomePage, LoginPage, + NoteTypesPage, NotFoundPage, StudyPage, } from "./pages"; @@ -28,6 +29,11 @@ export function App() { <StudyPage /> </ProtectedRoute> </Route> + <Route path="/note-types"> + <ProtectedRoute> + <NoteTypesPage /> + </ProtectedRoute> + </Route> <Route path="/login" component={LoginPage} /> <Route component={NotFoundPage} /> </Switch> |
