refactor: split Dashboard.tsx (~1225 lines) into tab components #13
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dashboard.tsx contains the layout shell plus three conceptually separate tab bodies in a single 1225-line file. Split into:
Dashboard.tsx keeps the outer layout, tab navigation, and shared state (project scope picker, date range).
Each tab component receives the data it needs via props; shared chart helpers (HourlyTokensChart, HeatmapChart) move to a co-located charts/ subfolder.