From b51d4efaa1e5e0417d4306c02797f424938766cb Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Wed, 31 Dec 2025 02:38:05 +0900
Subject: feat(client): add NoteTypesPage for note type management
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
---
 src/client/App.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/client/App.tsx')

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>
-- 
cgit v1.2.3-70-g09d2

