[Haik]: refactor: restructure Dashboard module boundaries — move ElementSelectionContext (split into ElementSelectionProvider, SelectedElement, useElementSelection), SelectionOverlay, domSelectorHelpers, and useDomElementSelector from global components/ into Dashboard/_shared/element_selection and Dashboard/hooks/useDomElementSelector; relocate types.ts and formatRelativeTime.ts into Dashboard/_shared; update imports in Dashboard.tsx, DashboardCanvas, CanvasControls, DashboardHeader, ViewEditor, useIframeElementSelector, dashboardClipboard, and all Dashboard hooks

This commit is contained in:
haikdc
2026-04-18 14:15:02 -07:00
parent 31e3d66436
commit 2f0ff10d3f
21 changed files with 97 additions and 92 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { CardType } from '@/app/pages/Dashboard/types/types';
import { type CardType } from '@/app/pages/Dashboard/_shared/types';
export interface ClipboardCard {
type: CardType;