Files
pdf/frontend/README.md
T
2026-05-15 10:39:16 +05:30

748 B

Frontend (React + TypeScript) — placeholder

Phase 0 task "React + TypeScript frontend scaffolding" (Dev 2) and all later viewer/editor UI lives here. Not implemented yet — this session scaffolds the C++ build pipeline only.

Planned responsibilities (see the engine blueprint §9):

  • Layered viewer: canvas layer, selection layer, annotation layer, overlay layer.
  • PDF <-> canvas <-> zoomed coordinate mapping.
  • Virtualized page rendering (only visible pages).
  • Talks to the gateway over HTTP; later, to the engine directly via WASM.

Setup when implemented: Vite + React + TypeScript strict mode from day one.

frontend/
  package.json
  tsconfig.json        # "strict": true
  src/
    components/
    viewer/
    lib/