Files
faunosteo/.claude/memory/journal.md
T

2.6 KiB

Journal


2026-05-18

Scaffolded Osteo Report MVP skeleton from approved design spec. Created 80+ files: schemas, stubs, routes, stores, PDF modules, Docker infra. Moved Horse.svg + Horse_head.svg to public/species/equine/. pnpm install + build + typecheck + tests passing. pnpm 11 used (corepack shim broken on host Node 20.20.0).

  • MVP scaffold+impl done. Editor flow works. PDF roundtrip green. Real SVG assets in repo.

2026-05-19

Fixed 3 zone-interaction bugs (b9da4fa). Detail-popup clicks now resolved via detailBones map. Spine zones (data-anno-special="vertebral-precision") auto-open VertebraPicker on click. ObservationCard hides "Vertèbres…" button on non-special zones. Parser reads data-anno-special; convention doc updated.

  • BLK-003 resolved. LRN-004, LRN-005 captured. 91 tests green, lint clean, build OK.
  • VertebraPicker preselects region tab inferred from zone label (b3bd75d). +5 tests.
  • Hotfix: detailBones now accumulate across popup opens; merged allBones passed to ObservationList so detail-popup zone labels survive after modal close.
  • PDF rendering bugfix: titles cleared the header rule, zone-line wrap respects following blocks, non-selected zones hidden + data-anno-* stripped before raster, main SVG skipped when every zone lives in details. BLK-004, LRN-006, LRN-007 captured.
  • PDF styling pass: eyebrow + Times 22 title + 2pt accent rule + uppercase accent section labels + color-coded severity pill (sage/amber/red). Eyebrow/title baseline gap raised to 27pt after first attempt still overlapped. BDR-008, LRN-008 captured.
  • Commits this session: b9da4fa..d7ea99e (10 commits — bugfix + feat + hotfix + PDF styling).

2026-05-19 (session 2)

feat(editor): home-nav (back btn + clickable Brand link to "/") + "Modifier les infos" dialog reusing PractitionerForm/AnimalForm via draft-copy with save/cancel. 3 store setters (setPractitioner/setAnimal/setOwner), 4 setter tests. Cache re-synced on save. 100/100 tests, lint 0, typecheck clean.

  • hotfix(pdf): multi-SVG observation page packed into 2-col grid; pre-rasterize → measure aspect → reserve text-area height → cell budget per row; single-SVG keeps full width; floor prevents zero-cells. Text sections now always visible. LRN-009 captured.
  • hotfix(editor): zone-highlight scoped to active obs only (collapsed obs no longer leave faint 'linked'/'multi' tints). AnatomyCanvas re-paints highlights after async SVG mount so DetailModal popup zones color correctly. NewReportRoute header harmonized with editor — back btn + clickable Brand left-aligned. 3 files (hotfix cap +1, accepted). LRN-010 captured.