refactor(frontend): extract OverviewTab safely

- New component: frontend/src/lib/components/OverviewTab.svelte
  - Props: selectedNode, notes, worklog, formatDate, nodeKindLabel
  - Events: createNote, addFile, createAction, switchTab, openNote
  - Pure display component, no internal state

- App.svelte changes:
  - Replaced inline overview markup with <OverviewTab>
  - Removed overview-related CSS (overview, meta-grid, qa-btn, etc.)
  - openCreateNote() call replaced with setActiveTab('notes') only
    (create note is now handled by NotesTab component)

- Build: npm run build , go test ./... 
This commit is contained in:
2026-06-16 03:29:18 +08:00
parent 58cdd61d27
commit 208cd970d7
6 changed files with 199 additions and 151 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -19,8 +19,8 @@
background: #13131f;
}
</style>
<script type="module" crossorigin src="/assets/main-nSPvOkeD.js"></script>
<link rel="stylesheet" crossorigin href="/assets/main-CUROQg6p.css">
<script type="module" crossorigin src="/assets/main-C0_3Dz8C.js"></script>
<link rel="stylesheet" crossorigin href="/assets/main-t8j1WzN6.css">
</head>
<body>
<div id="app"></div>