[Haik]: refactor: restructure Dashboard page from flat file layout into nested component directories — move DashboardCanvas, DashboardHeader, DashboardHeaderParts, DashboardToolbar, ToolbarButtons, HistoryPanel, ViewPickerPanel, CanvasControls, and DashboardViewCard into DashboardCanvas/components/ subtree with dedicated folders for DashboardToolbar and DashboardHeader; consolidate shared types (CardType, CanvasActions, TetherInfo) from useDashboardSelection, useCanvasControls, and useTetherPaths into types/types.ts; extract duplicated formatRelativeTime into utils/formatRelativeTime.ts; update all import paths across hooks, shared modules, and DashboardCard

This commit is contained in:
haikdc
2026-04-18 12:39:05 -07:00
parent 6a9dd59eec
commit 0ee6fe7ccb
24 changed files with 130 additions and 136 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { CardType } from '@/app/pages/Dashboard/useDashboardSelection';
import type { CardType } from '@/app/pages/Dashboard/types/types';
export interface ClipboardCard {
type: CardType;