mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-17 18:25:42 +02:00
[eric] tree: group app/components HUD/search/gates/pickers into overlays/
This commit is contained in:
@@ -29,7 +29,7 @@ const Analytics = lazy(() => import('./pages/Analytics/Analytics'));
|
||||
const OnboardingRoot = lazy(() =>
|
||||
import('./components/Onboarding').then((m) => ({ default: m.OnboardingRoot })),
|
||||
);
|
||||
const SignInGate = lazy(() => import('./components/SignInGate'));
|
||||
const SignInGate = lazy(() => import('./components/overlays/SignInGate'));
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
(window as any).__openswarmPrefetchRoute = (path: string) => {
|
||||
@@ -64,7 +64,7 @@ import { useKeyboardShortcuts } from '@/shared/hooks/useKeyboardShortcuts';
|
||||
import { useDeepLink } from '@/shared/hooks/useDeepLink';
|
||||
import { useWindowFocus } from '@/shared/hooks/useWindowFocus';
|
||||
import { useInteractionHeartbeat } from '@/shared/hooks/useInteractionHeartbeat';
|
||||
import KeyboardShortcutsHelp from './components/KeyboardShortcutsHelp';
|
||||
import KeyboardShortcutsHelp from './components/overlays/KeyboardShortcutsHelp';
|
||||
import { ThemeProvider, useThemeMode, useClaudeTokens } from '@/shared/styles/ThemeContext';
|
||||
import { ClaudeTokens } from '@/shared/styles/claudeTokens';
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import LinearProgress from '@mui/material/LinearProgress';
|
||||
import CircularProgress from '@mui/material/CircularProgress';
|
||||
// Settings modal lazy-loaded so its 2.3K LOC + Stripe/OAuth helpers don't ship on first paint.
|
||||
const Settings = React.lazy(() => import('@/app/pages/Settings/Settings'));
|
||||
import DynamicIsland from '@/app/components/DynamicIsland';
|
||||
import DynamicIsland from '@/app/components/overlays/DynamicIsland';
|
||||
import Dashboard from '@/app/pages/Dashboard/Dashboard';
|
||||
import DashboardHost from '@/app/components/Layout/DashboardHost';
|
||||
import { useLastDashboardId } from '@/shared/hooks/useLastDashboardId';
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import { API_BASE, getAuthToken } from '@/shared/config';
|
||||
import { store } from '@/shared/state/store';
|
||||
import { setPendingFocusAgentId } from '@/shared/state/tempStateSlice';
|
||||
import ApprovalBar, { BatchApprovalBar, parseMcpToolName, useMcpToolMeta, getToolIcon } from '@/app/pages/AgentChat/shell/ApprovalBar';
|
||||
import GlobalSearchPalette from '@/app/components/GlobalSearchPalette';
|
||||
import GlobalSearchPalette from '@/app/components/overlays/GlobalSearchPalette';
|
||||
import { useClaudeTokens } from '@/shared/styles/ThemeContext';
|
||||
|
||||
type IslandState = 'idle' | 'compact' | 'compact-actionable' | 'expanded';
|
||||
@@ -23,7 +23,7 @@ import { openSettingsModal } from '@/shared/state/settingsSlice';
|
||||
import { useAppDispatch, useAppSelector } from '@/shared/hooks';
|
||||
import { useClaudeTokens } from '@/shared/styles/ThemeContext';
|
||||
import { SKILL_COLOR } from '@/app/components/editor/richEditorUtils';
|
||||
import PlanPicker from '@/app/components/PlanPicker';
|
||||
import PlanPicker from '@/app/components/overlays/PlanPicker';
|
||||
import { ErrorSlime } from '@/app/components/feedback/ErrorSlime';
|
||||
|
||||
const streamingCursorKeyframes = `
|
||||
|
||||
@@ -9,7 +9,7 @@ import { closeSettingsModal, AppSettings } from '@/shared/state/settingsSlice';
|
||||
import { onboardingBus } from '@/app/components/Onboarding/eventBus';
|
||||
import { resetTour } from '@/shared/state/onboardingProgressSlice';
|
||||
import { useClaudeTokens } from '@/shared/styles/ThemeContext';
|
||||
import TrustedFilePatterns from '@/app/components/TrustedFilePatterns';
|
||||
import TrustedFilePatterns from '@/app/components/overlays/TrustedFilePatterns';
|
||||
import SoftwareUpdateRow from './SoftwareUpdateRow';
|
||||
import type { SettingsStyles } from '../settingsStyles';
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import { useAppDispatch } from '@/shared/hooks';
|
||||
import { disconnectSubscription } from '@/shared/state/settingsSlice';
|
||||
import { useClaudeTokens } from '@/shared/styles/ThemeContext';
|
||||
import { API_BASE } from '@/shared/config';
|
||||
import PlanPicker from '@/app/components/PlanPicker';
|
||||
import PlanPicker from '@/app/components/overlays/PlanPicker';
|
||||
import type { OpenSwarmPlan } from '@/shared/subscription/checkout';
|
||||
|
||||
/** Pro managed-subscription card: Subscribe CTA when disconnected, live usage + Manage/Disconnect when active. */
|
||||
|
||||
Reference in New Issue
Block a user