Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/web-ui/src/app/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import { useSceneStore } from '../stores/sceneStore';
import { useShortcut } from '@/infrastructure/hooks/useShortcut';
import { configManager } from '@/infrastructure';
import { sessionStorageAdapter } from '@/shared';
import { sessionStorageAdapter } from '@/shared/utils/sessionStorageAdapter';

type TransitionDirection = 'entering' | 'returning' | null;
import { FlowChatManager } from '../../flow_chat/services/FlowChatManager';
Expand Down Expand Up @@ -125,7 +125,7 @@
} catch (error) {
log.error('Failed to open project', error);
}
}, [openWorkspace, t]);

Check failure on line 128 in src/web-ui/src/app/layout/AppLayout.tsx

View workflow job for this annotation

GitHub Actions / Frontend Build

React Hook useCallback has an unnecessary dependency: 't'. Either exclude it or remove the dependency array
const handleNewProject = useCallback(() => setShowNewProjectDialog(true), []);
const handleShowAbout = useCallback(() => setShowAboutDialog(true), []);

Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/app/layout/panelConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* - expanded: expanded mode (wide content, more information)
*/

import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';
import { createLogger } from '@/shared/utils/logger';

const log = createLogger('PanelConfig');
Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/app/services/AppManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
import { globalEventBus } from '../../infrastructure/event-bus';
import { createLogger } from '@/shared/utils/logger';
import { i18nService } from '@/infrastructure/i18n';
import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';

const log = createLogger('AppManager');

Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/flow_chat/components/ChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import { useDeepReviewConsent } from './DeepReviewConsentDialog';
import { useSessionReviewActivity } from '../hooks/useSessionReviewActivity';
import { shouldBlockDeepReviewCommand } from '../utils/deepReviewCommandGuard';
import './ChatInput.scss';
import { sessionStorageAdapter } from '@/shared';
import { sessionStorageAdapter } from '@/shared/utils/sessionStorageAdapter';

const log = createLogger('ChatInput');

Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/flow_chat/store/FlowChatStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import type { WorkspaceInfo } from '@/shared/types';
import { sessionBelongsToWorkspaceNavRow } from '../utils/sessionOrdering';
import { sessionMatchesWorkspace } from '../utils/workspaceScope';
import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';

const log = createLogger('FlowChatStore');

Expand Down Expand Up @@ -79,7 +79,7 @@
storage.removeItem(key);
}
})
} catch (e) {

Check warning on line 82 in src/web-ui/src/flow_chat/store/FlowChatStore.ts

View workflow job for this annotation

GitHub Actions / Frontend Build

'e' is defined but never used. Allowed unused caught errors must match /^_/u
log.warn("Failed to clear session key");
}

Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/flow_chat/store/inputHistoryStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* History is now session-scoped - each session maintains its own input history.
*/

import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';
import { create } from 'zustand';
import { createJSONStorage, persist } from 'zustand/middleware';

Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/hooks/useModelConfigs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from 'react';
import { ModelConfig } from '../shared/types';
import { modelConfigManager } from '../infrastructure/config/services/modelConfigs';
import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';
export const useModelConfigs = () => {
const [configs, setConfigs] = useState<ModelConfig[]>([]);
const [loading, setLoading] = useState(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { lspService } from '@/tools/lsp/services/LspService';
import { createLogger } from '@/shared/utils/logger';
import './LspConfig.scss';
import {workspaceAPI} from "@/infrastructure";
import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';

const log = createLogger('LspConfig');

Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/tools/editor/services/EditorManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import { globalEventBus } from '../../../infrastructure/event-bus';
import { getMonacoLanguage } from '@/infrastructure/language-detection';
import { createLogger } from '@/shared/utils/logger';
import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';

const log = createLogger('EditorManager');

Expand Down
2 changes: 1 addition & 1 deletion src/web-ui/src/tools/lsp/services/LspConfigService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* LSP config service (user-facing settings).
*/

import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';
import { createLogger } from '@/shared/utils/logger';

const log = createLogger('LspConfigService');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { storage } from '@/shared';
import { storage } from '@/shared/utils/storageAdapter';
import { STORAGE_KEYS } from '@/shared/constants/app';
import { createLogger } from '@/shared/utils/logger';

Expand Down
Loading