Bastien Chanot and Claude Opus 4.6
c73af46c33
docs(plans): add laterality support implementation plan
...
10 tasks: schema, parser, i18n, LateralityPicker, EditorRoute integration,
ObservationCard display, PDF output, SVG editor dropdown, docs, verification.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-05-23 22:12:06 +02:00
Bastien Chanot and Claude Opus 4.6
880de17dbe
docs(specs): add laterality support design spec
...
Defines per-zone bilateral/unpaired SVG attribute, ObservationZone.side
schema field, LateralityPicker UI flow, and SVG editor integration.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-05-23 22:09:50 +02:00
Bastien Chanot and Claude Opus 4.6
a73d8da263
fix(ui): responsive mobile — full phone/tablet adaptation across all components
...
Surgical CSS/className-only changes, zero behavior impact. 155/155 tests green.
- Dialog: tighter mobile padding (p-3/px-4), reduced max-height to 85vh
- Button: sm size h-8→h-9 (36px touch target), responsive text sizing
- VertebraPicker: 44px min-height touch targets on mobile region tabs
- SVG editor: sidebar stacks below canvas <768px, full-width mobile,
zoom controls 40px, canvas min-height 40vh
- AnatomyCanvas: SVG child constrained to fit container
- EditorRoute: responsive gap/padding, canvas max-h-[55vh] on mobile
- ObservationList + ConclusionPanel: responsive section heading typography
Target: 375px+ (iPhone SE) usable, 768px+ (iPad) polished, desktop no regressions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-05-23 20:01:50 +02:00
Bastien Chanot and Claude Opus 4.6
2d6ed809e2
chore: rename Zoosteo → Faunosteo across entire project
...
Brand strings, config defaults, i18n dicts, PDF attachment metadata,
HTML titles, Docker container name, package name, repo URLs, deploy
paths, and all documentation updated. Git remote switched to
faunosteo.git. Domain URLs (zoosteo.fr) preserved — DNS update is
separate. 155/155 tests green.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-05-22 21:44:21 +02:00
Bastien Chanot and Claude Opus 4.6
9cca51c504
feat(editor): add standalone pathology editor tool
...
Standalone HTML page for editing species pathology JSON via SVG-based
zone selection. Supports pre-wired species list and manual SVG+JSON
upload. Features fuzzy zone matching (ported from zoneMatch.ts),
recursive tree editor with full CRUD, auto ID generation, and safe
JSON export preserving all zones and root fields.
Includes SVG sanitization (script/foreignObject/on* stripping),
unsaved changes protection, and French error messages.
Also copies pathologies.json to public/ for HTTP access from the editor.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-05-22 04:42:07 +02:00
Bastien Chanot and Claude Opus 4.7
0a05c479a0
docs(plan): B3 i18n FR/EN implementation plan
...
12 tasks, TDD per task, file paths + full code shape + verification.
Locale store + dicts + useT separate green commits; PDF + route
migrations land as one atomic green-build commit (formatDate +
exportReportToPdf signature change cross the boundary).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-20 06:50:15 +02:00
Bastien Chanot and Claude Opus 4.7
d559f565ac
docs(spec): B3 i18n FR/EN site + PDF design
...
Approved design before implementation. Locale = render preference
(store, not Report schema). PDF export takes explicit locale arg.
Finding leaf labels via existing dual snapshot; catalog descriptions
+ scope_disclaimer stay FR-only this iteration.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-20 06:44:28 +02:00
Bastien Chanot and Claude Opus 4.7
1109e33383
refactor(anatomy): rename SVG data attrs (bone → anno) per new convention
...
User updated the clickable-zone convention in the source SVGs:
data-bone-id → data-anno-id
data-bone-fr → data-anno-name-fr
data-bone-en → data-anno-name-en
data-category → data-anno-category
data-opens-detail → data-anno-opens-detail
Bulk-renamed across:
- public/species/equine/Horse.svg + Horse_head.svg (86 anno-attrs each)
- src/anatomy/svgConvention.ts (parser + getBoneIdFromEvent)
- src/anatomy/types.ts (doc strings)
- src/components/canvas/AnatomyCanvas.tsx (querySelector + delegated click)
- src/styles/index.css (`[data-bone-id]` selectors → `[data-anno-id]`)
- src/domain/species/types.ts + schema/observation.ts (doc strings)
- docs/{ANATOMY-SVG-CONVENTION,ADDING-A-SPECIES,superpowers/specs,plans}.md
- CLAUDE.md + .claude/{memory/learnings,tasks/TODO}.md
- tests/unit/{anatomy.svgConvention,anatomy.svgLoader,components.AnatomyCanvas}.test.tsx
Internal TS type names and field names (Bone, boneId, parseSvgBones,
getBoneIdFromEvent) are kept intentionally — they're the application's
logical shape and the persisted JSON contract. ObservationZone.boneId is
the identifier seen in already-exported PDFs; renaming it would break
re-import of those PDFs. Only the SVG-side attribute names change.
90/90 tests pass, lint clean, build clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-19 03:10:06 +02:00
Bastien Chanot and Claude Opus 4.7
9a99fc916b
docs: reframe as multi-praticien + multi-species (equine = first data set, not specialization)
...
The app is open to any praticien who wants to use it (not 'single-praticien'),
and the architecture is multi-species — equine ships first, dog/cat/goat/cow/
pig/rabbit/donkey/sheep come as pure data drops following the same convention.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-18 22:20:03 +02:00
Bastien Chanot and Claude Opus 4.7
8ca36b5ccd
chore: initial scaffold + design spec + implementation plan
...
Skeleton for Osteo Report MVP. Build passes, 7 smoke tests green, real
Horse.svg + Horse_head.svg in public/species/equine/. Zod schemas are
the contract; store/anatomy/pdf modules are typed stubs throwing
"not implemented" awaiting implementation.
Spec: docs/superpowers/specs/2026-05-18-osteo-report-mvp-design.md
Plan: docs/superpowers/plans/2026-05-18-osteo-report-mvp.md (23 phases, ~70 TDD tasks)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-18 20:55:10 +02:00