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