feat: refactor document opening/preview logic to support preview/sidepanel actions.

This commit is contained in:
2025-12-04 01:02:54 +01:00
parent 447b012e48
commit 8bb9f9950a
6 changed files with 37 additions and 24 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ import { PointerTrackingProvider, usePointerTracking } from './PointerTrackingCo
import type { Identifier } from '../types/identifiers';
import type { DocumentsListEntry, Document } from '../types/documents';
import { useAppState } from '../app/appState';
import { useDocumentOpen } from '../context/DocumentOpenContext';
import { useDocumentOpen } from '../contexts/DocumentOpenContext';
type TagLike = { id?: Identifier | null; label?: string; color?: string | null } | null;
type OverlaySource = { url: string; alt?: string | null; mimeType?: string | null; };