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/pages/HomePage.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/pages/HomePage.tsx')
| -rw-r--r-- | src/client/pages/HomePage.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/client/pages/HomePage.tsx b/src/client/pages/HomePage.tsx index b7b2c29..9b9f2de 100644 --- a/src/client/pages/HomePage.tsx +++ b/src/client/pages/HomePage.tsx @@ -1,5 +1,6 @@ import { faBoxOpen, + faLayerGroup, faPen, faPlus, faSpinner, @@ -80,6 +81,18 @@ export function HomePage() { <div className="flex items-center gap-3"> <SyncStatusIndicator /> <SyncButton /> + <Link + href="/note-types" + className="p-2 text-muted hover:text-slate hover:bg-ivory rounded-lg transition-colors" + title="Manage Note Types" + > + <FontAwesomeIcon + icon={faLayerGroup} + className="w-4 h-4" + aria-hidden="true" + /> + <span className="sr-only">Manage Note Types</span> + </Link> <button type="button" onClick={logout} |
