mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-07 10:17:43 +02:00
[eric] tree: group Dashboard cards into cards/
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import React, { type RefObject } from 'react';
|
||||
import { AnimatePresence } from 'framer-motion';
|
||||
import AgentCard from './AgentCard';
|
||||
import DashboardViewCard from './DashboardViewCard';
|
||||
import BrowserCard from './BrowserCard';
|
||||
import NoteCard from './NoteCard';
|
||||
import AgentCard from './cards/AgentCard';
|
||||
import DashboardViewCard from './cards/DashboardViewCard';
|
||||
import BrowserCard from './cards/BrowserCard';
|
||||
import NoteCard from './cards/NoteCard';
|
||||
import {
|
||||
EXPANDED_CARD_MIN_H,
|
||||
DEFAULT_CARD_W,
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import AgentChat from '@/app/pages/AgentChat/AgentChat';
|
||||
import { parseMcpToolName, getMcpShortAction } from '@/shared/mcpToolMeta';
|
||||
import { useClaudeTokens } from '@/shared/styles/ThemeContext';
|
||||
import { useDashboardActive } from '@/shared/hooks/useDashboardActive';
|
||||
import { useOverlayScrollPassthrough } from './useOverlayScrollPassthrough';
|
||||
import { useOverlayScrollPassthrough } from '../useOverlayScrollPassthrough';
|
||||
import { useStreamingMessage } from '@/shared/state/streamingSlice';
|
||||
import { isCanvasInteractionActive, onCanvasInteractionEnd } from '@/shared/canvasInteractionState';
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ import { useBrowserActivity } from '@/shared/useBrowserActivity';
|
||||
import { getActionLabel } from '@/shared/browserCommandHandler';
|
||||
import { resolveInput, isGoogleSearch } from '@/shared/resolveUrl';
|
||||
import BrowserAgentOverlay from './BrowserAgentOverlay';
|
||||
import { useOverlayScrollPassthrough } from './useOverlayScrollPassthrough';
|
||||
import { useOverlayScrollPassthrough } from '../useOverlayScrollPassthrough';
|
||||
import { useElementSelection } from '@/app/components/ElementSelectionContext';
|
||||
|
||||
type ResizeDir = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
||||
+1
-1
@@ -15,7 +15,7 @@ import { API_BASE, getAuthToken } from '@/shared/config';
|
||||
import { useClaudeTokens } from '@/shared/styles/ThemeContext';
|
||||
import ViewPreview, { ViewPreviewHandle } from '@/app/pages/Views/ViewPreview';
|
||||
import { getDefault } from '@/shared/inputSchemaDefaults';
|
||||
import { useOverlayScrollPassthrough } from './useOverlayScrollPassthrough';
|
||||
import { useOverlayScrollPassthrough } from '../useOverlayScrollPassthrough';
|
||||
import {
|
||||
useRuntimePreviewUrl,
|
||||
pickPreviewUrl,
|
||||
Reference in New Issue
Block a user