From f1e3c938908a5b8d4f6197257a11d9f94d701747 Mon Sep 17 00:00:00 2001 From: EthanHealy01 Date: Wed, 29 Oct 2025 14:20:53 +0000 Subject: [PATCH] import changes --- .../tools/compare/CompareDocumentPane.tsx | 0 .../tools/compare/CompareNavigationDropdown.tsx | 0 .../tools/compare/CompareUploadSection.tsx | 0 .../tools/compare/CompareWorkbenchView.tsx | 16 ++++++++-------- .../components/tools/compare/compareView.css | 0 .../compare/hooks/useCompareChangeNavigation.ts | 0 .../tools/compare/hooks/useCompareHighlights.ts | 0 .../compare/hooks/useComparePagePreviews.ts | 0 .../tools/compare/hooks/useComparePanZoom.ts | 0 .../compare/hooks/useCompareRightRailButtons.tsx | 0 .../hooks/tools/compare/useCompareOperation.ts | 2 +- .../src/core/hooks/useShouldShowWelcomeModal.ts | 2 +- frontend/src/core/tools/Compare.tsx | 2 +- 13 files changed, 11 insertions(+), 11 deletions(-) rename frontend/src/{ => core}/components/tools/compare/CompareDocumentPane.tsx (100%) rename frontend/src/{ => core}/components/tools/compare/CompareNavigationDropdown.tsx (100%) rename frontend/src/{ => core}/components/tools/compare/CompareUploadSection.tsx (100%) rename frontend/src/{ => core}/components/tools/compare/CompareWorkbenchView.tsx (95%) rename frontend/src/{ => core}/components/tools/compare/compareView.css (100%) rename frontend/src/{ => core}/components/tools/compare/hooks/useCompareChangeNavigation.ts (100%) rename frontend/src/{ => core}/components/tools/compare/hooks/useCompareHighlights.ts (100%) rename frontend/src/{ => core}/components/tools/compare/hooks/useComparePagePreviews.ts (100%) rename frontend/src/{ => core}/components/tools/compare/hooks/useComparePanZoom.ts (100%) rename frontend/src/{ => core}/components/tools/compare/hooks/useCompareRightRailButtons.tsx (100%) diff --git a/frontend/src/components/tools/compare/CompareDocumentPane.tsx b/frontend/src/core/components/tools/compare/CompareDocumentPane.tsx similarity index 100% rename from frontend/src/components/tools/compare/CompareDocumentPane.tsx rename to frontend/src/core/components/tools/compare/CompareDocumentPane.tsx diff --git a/frontend/src/components/tools/compare/CompareNavigationDropdown.tsx b/frontend/src/core/components/tools/compare/CompareNavigationDropdown.tsx similarity index 100% rename from frontend/src/components/tools/compare/CompareNavigationDropdown.tsx rename to frontend/src/core/components/tools/compare/CompareNavigationDropdown.tsx diff --git a/frontend/src/components/tools/compare/CompareUploadSection.tsx b/frontend/src/core/components/tools/compare/CompareUploadSection.tsx similarity index 100% rename from frontend/src/components/tools/compare/CompareUploadSection.tsx rename to frontend/src/core/components/tools/compare/CompareUploadSection.tsx diff --git a/frontend/src/components/tools/compare/CompareWorkbenchView.tsx b/frontend/src/core/components/tools/compare/CompareWorkbenchView.tsx similarity index 95% rename from frontend/src/components/tools/compare/CompareWorkbenchView.tsx rename to frontend/src/core/components/tools/compare/CompareWorkbenchView.tsx index 0a1a3fb18..61b626ec0 100644 --- a/frontend/src/components/tools/compare/CompareWorkbenchView.tsx +++ b/frontend/src/core/components/tools/compare/CompareWorkbenchView.tsx @@ -12,14 +12,14 @@ import type { StirlingFileStub, StirlingFile } from '@app/types/fileContext'; import { useFilesModalContext } from '@app/contexts/FilesModalContext'; import { useFileActions, useFileContext } from '@app/contexts/file/fileHooks'; import { useRightRailButtons } from '@app/hooks/useRightRailButtons'; -import CompareDocumentPane from './CompareDocumentPane'; -import CompareUploadSection from './CompareUploadSection'; -import { useComparePagePreviews } from './hooks/useComparePagePreviews'; -import { useComparePanZoom } from './hooks/useComparePanZoom'; -import { useCompareHighlights } from './hooks/useCompareHighlights'; -import { useCompareChangeNavigation } from './hooks/useCompareChangeNavigation'; -import './compareView.css'; -import { useCompareRightRailButtons } from './hooks/useCompareRightRailButtons'; +import CompareDocumentPane from '@app/components/tools/compare/CompareDocumentPane'; +import CompareUploadSection from '@app/components/tools/compare/CompareUploadSection'; +import { useComparePagePreviews } from '@app/components/tools/compare/hooks/useComparePagePreviews'; +import { useComparePanZoom } from '@app/components/tools/compare/hooks/useComparePanZoom'; +import { useCompareHighlights } from '@app/components/tools/compare/hooks/useCompareHighlights'; +import { useCompareChangeNavigation } from '@app/components/tools/compare/hooks/useCompareChangeNavigation'; +import '@app/components/tools/compare/compareView.css'; +import { useCompareRightRailButtons } from '@app/components/tools/compare/hooks/useCompareRightRailButtons'; import { alert, updateToast, updateToastProgress, dismissToast } from '@app/components/toast'; import type { ToastLocation } from '@app/components/toast/types'; diff --git a/frontend/src/components/tools/compare/compareView.css b/frontend/src/core/components/tools/compare/compareView.css similarity index 100% rename from frontend/src/components/tools/compare/compareView.css rename to frontend/src/core/components/tools/compare/compareView.css diff --git a/frontend/src/components/tools/compare/hooks/useCompareChangeNavigation.ts b/frontend/src/core/components/tools/compare/hooks/useCompareChangeNavigation.ts similarity index 100% rename from frontend/src/components/tools/compare/hooks/useCompareChangeNavigation.ts rename to frontend/src/core/components/tools/compare/hooks/useCompareChangeNavigation.ts diff --git a/frontend/src/components/tools/compare/hooks/useCompareHighlights.ts b/frontend/src/core/components/tools/compare/hooks/useCompareHighlights.ts similarity index 100% rename from frontend/src/components/tools/compare/hooks/useCompareHighlights.ts rename to frontend/src/core/components/tools/compare/hooks/useCompareHighlights.ts diff --git a/frontend/src/components/tools/compare/hooks/useComparePagePreviews.ts b/frontend/src/core/components/tools/compare/hooks/useComparePagePreviews.ts similarity index 100% rename from frontend/src/components/tools/compare/hooks/useComparePagePreviews.ts rename to frontend/src/core/components/tools/compare/hooks/useComparePagePreviews.ts diff --git a/frontend/src/components/tools/compare/hooks/useComparePanZoom.ts b/frontend/src/core/components/tools/compare/hooks/useComparePanZoom.ts similarity index 100% rename from frontend/src/components/tools/compare/hooks/useComparePanZoom.ts rename to frontend/src/core/components/tools/compare/hooks/useComparePanZoom.ts diff --git a/frontend/src/components/tools/compare/hooks/useCompareRightRailButtons.tsx b/frontend/src/core/components/tools/compare/hooks/useCompareRightRailButtons.tsx similarity index 100% rename from frontend/src/components/tools/compare/hooks/useCompareRightRailButtons.tsx rename to frontend/src/core/components/tools/compare/hooks/useCompareRightRailButtons.tsx diff --git a/frontend/src/core/hooks/tools/compare/useCompareOperation.ts b/frontend/src/core/hooks/tools/compare/useCompareOperation.ts index f680c12f7..ade671e33 100644 --- a/frontend/src/core/hooks/tools/compare/useCompareOperation.ts +++ b/frontend/src/core/hooks/tools/compare/useCompareOperation.ts @@ -21,7 +21,7 @@ import { extractContentFromPdf, getWorkerErrorCode, filterTokensForDiff, -} from './operationUtils'; +} from '@app/hooks/tools/compare/operationUtils'; import { alert, dismissToast } from '@app/components/toast'; import type { ToastLocation } from '@app/components/toast/types'; diff --git a/frontend/src/core/hooks/useShouldShowWelcomeModal.ts b/frontend/src/core/hooks/useShouldShowWelcomeModal.ts index 8c95cbbf1..953150fb8 100644 --- a/frontend/src/core/hooks/useShouldShowWelcomeModal.ts +++ b/frontend/src/core/hooks/useShouldShowWelcomeModal.ts @@ -1,5 +1,5 @@ import { usePreferences } from '@app/contexts/PreferencesContext'; -import { useIsMobile } from './useIsMobile'; +import { useIsMobile } from '@app/hooks/useIsMobile'; export function useShouldShowWelcomeModal(): boolean { const { preferences } = usePreferences(); diff --git a/frontend/src/core/tools/Compare.tsx b/frontend/src/core/tools/Compare.tsx index d031e3f03..189fd647d 100644 --- a/frontend/src/core/tools/Compare.tsx +++ b/frontend/src/core/tools/Compare.tsx @@ -14,7 +14,7 @@ import { useCompareOperation, CompareOperationHook, } from '@app/hooks/tools/compare/useCompareOperation'; -import CompareWorkbenchView from '../../components/tools/compare/CompareWorkbenchView'; +import CompareWorkbenchView from '@app/components/tools/compare/CompareWorkbenchView'; import { useToolWorkflow } from '@app/contexts/ToolWorkflowContext'; import { useNavigationActions, useNavigationState } from '@app/contexts/NavigationContext'; import { useFileContext } from '@app/contexts/file/fileHooks';