clean all
This commit is contained in:
1 parent
f57d6ec3d3
commit
27afb719f5
101 files changed
+45
-14426
No files matched your search
@@ -17,4 +17,7 @@ rules:
|
||||
- Architecture validée (BDR-001..008). Stack React 19 + TS strict + Vite 6 + Tailwind 4 + pdf-lib + Zod + Zustand persist.
|
||||
- Scaffold skeleton créé : 21 fichiers config via scaffolder (blocked content filter), reste inline.
|
||||
- Toutes 9 espèces visibles dans selector, MVP equine seule fonctionnelle.
|
||||
- Build passes empty. Implementation plan à écrire (STEP 6).
|
||||
- Plan implémentation écrit (IMPLEMENTATION-PLAN.md, phases A-L).
|
||||
- V1 livré: domain core (commit b5b2e16), UI complet (commit f57d6ec). 34/34 tests verts, roundtrip PDF OK.
|
||||
- Wrap-up: 12 warnings ESLint corrigés (5 `void navigate`, `getAttribute` au lieu de `target.dataset`, 6 import-order auto-fix). Pipeline clean: typecheck + lint 0 + 34 tests + build OK.
|
||||
- Reste backlog post-MVP: ZoomOverlay (E5), e2e Playwright (K1), Docker verify (L2/L3), a11y full pass, SVGs réels, chunking PDF.
|
||||
+41
-6
@@ -2,17 +2,50 @@
|
||||
|
||||
## Status
|
||||
|
||||
Scaffold complete (skeleton + tooling + Docker + nginx). Build passes empty.
|
||||
Implementation plan to be written next (STEP 6 of /init-project).
|
||||
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`.
|
||||
|
||||
## Open milestones
|
||||
## Done (V1)
|
||||
|
||||
- [ ] V1 feature implementation (STEP 8) — see plan in this file once STEP 6 produces it.
|
||||
- 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 feature touching logic into subtasks of 2-5 min each.
|
||||
- Mark each subtask done with `[x]` as you finish; never batch.
|
||||
- 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)
|
||||
@@ -20,3 +53,5 @@ Implementation plan to be written next (STEP 6 of /init-project).
|
||||
- Backend (PostgreSQL) + practitioner accounts
|
||||
- Per-animal history
|
||||
- Multi-tenant
|
||||
- Additional species packs (chien, chat, lapin, bovin, chevre, ane,
|
||||
mouton, porc) — anatomy + pathologies + SVGs.
|
||||
Reference in new issue
Block a user