Implement keyboard shortcuts and enrich note/task viewer views

Keyboard shortcuts (App.vue):
- g+h/n/t/p/c: navigate to home/notes/tasks/projects/chat
- n / t: new note / new task (when not in an input field)
- Escape: go home (when not typing)
- Shortcuts panel updated to document all working shortcuts

NoteViewerView:
- Context breadcrumb: parent note link (↑), project badge, milestone badge
- Fetches project and parent note titles in parallel on load
- Back button label improved to "← Notes"

TaskViewerView:
- Context breadcrumb: parent task link (uses parent_title from API), project badge, milestone badge
- Sub-tasks section with inline progress bar and status dots (clickable to advance)
- Sub-tasks loaded from /api/notes?parent_id=X&type=task
- Note type extended with optional parent_title field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 19:32:19 -05:00
parent 3bc6443161
commit eac4c6d86a
4 changed files with 492 additions and 34 deletions
+1
View File
@@ -7,6 +7,7 @@ export interface Note {
body: string;
tags: string[];
parent_id: number | null;
parent_title?: string | null;
project_id: number | null;
milestone_id: number | null;
status: TaskStatus | null;