mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-29 13:04:51 +02:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user