clean repo

This commit is contained in:
Bastien Chanot committed 2026-05-18 19:40:44 +02:00
1 parent 27afb719f5
commit 12a3e48fdf
13 files changed
-418

No files matched your search

-57
View File
@@ -1,57 +0,0 @@
# TODO — Osteo Report
## Status
V1 MVP shipped. Domain + UI + PDF roundtrip green. Pipeline clean:
typecheck pass, lint 0 issues, 34/34 unit tests pass, build OK (~1.1 MB
gzipped JS, pdf chunk dominant). Detailed plan archived in
`IMPLEMENTATION-PLAN.md`.
## Done (V1)
- Phase A — schemas (report, finding, practitioner) + Zod-derived types.
- Phase B — equine pack: 26 macro zones, vertebral subzones (C7/T18/L6/S5),
32 pathologies with sourced citations, placeholder SVGs in `public/`.
- Phase C — Zustand store with persist (`osteo-report-draft`).
- Phase D — 3 routes (Home, NewReport, Editor) + species selector showing
all 9 species (8 disabled per BDR-007).
- Phase E — AnatomyView (DOMParser injection + click handlers), AnatomyCanvas
(3-view tabs + motion).
- Phase F — FindingEditor (multi-select + free-text pathology), FindingPanel.
- Phase G — ConclusionPanel.
- Phase H — PDF export (header, anatomy raster pages, findings table,
conclusion, footer) with `report.json` attached.
- Phase I — PDF import (Zod-validated, `NO_ATTACHMENT` error path).
- Phase J (partial) — Brand, Header, Footer, motion presets, basic a11y
labels on SVG.
- Phase L1 — typecheck/lint/test/build all green.
## Open backlog (post-MVP)
- [ ] **E5** ZoomOverlay — currently `return null`. Wire
`react-zoom-pan-pinch` inside Dialog when a macro zone has subzones.
- [ ] **K1** e2e test `tests/e2e/roundtrip.spec.ts` — full Playwright flow:
new bilan → select zones → create finding → export → import → assert
hydrated state.
- [ ] **L2/L3** Docker verify — `docker compose build` + run + smoke-test
CSP doesn't break the SPA in nginx preview.
- [ ] **J5** Full a11y pass — keyboard focus rings, color contrast AA,
SVG zone aria-labels per `data-zone`.
- [ ] Real anatomy SVGs (artist deliverable) — replace placeholders in
`public/species/equine/`.
- [ ] Build chunking — pdf chunk is 523 kB. Lazy-load PDF stack only on
export to drop initial bundle.
## Conventions
- Decompose every logic-touching task into 2-5 min subtasks.
- Mark each subtask `[x]` as finished; never batch.
- One subtask = one file or one coherent change. Bigger = split.
## Roadmap Phase 2 (out of MVP)
- Backend (PostgreSQL) + practitioner accounts
- Per-animal history
- Multi-tenant
- Additional species packs (chien, chat, lapin, bovin, chevre, ane,
mouton, porc) — anatomy + pathologies + SVGs.