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:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user