Practitioner-facing copy only — the displayed term for a zone with no left/right side. Internal token 'unpaired', data-anno-lateral attribute, and types are unchanged. Affects the SVG editor laterality dropdown and the lateral.unpaired key (FR + EN).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The file lived at the repo root, where Vite never bundles it (only index.html is the build entry). In production nginx fell through to the SPA index.html and React showed 'Page introuvable' at /pathology-editor.html. Moving it under public/ makes Vite copy it verbatim into dist/, so nginx serves it as a real static file. The /editors link (href=/pathology-editor.html) is unchanged — public/ is the web root.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rasterize Paws_in_harmony.svg via canvg and embed it as the partnership credit in the PDF footer, replacing the text handle. Falls back to the '@paws.iin.harmony' text if rasterization or fetch fails.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the 'Paws iin Harmony' text credit in the partnership row with the Paws_in_harmony.svg logo served from public/, mirroring the ZenQuality logo treatment.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Record the pivot from additive distribution to an authoritative full-spine
editor, the click-opens-own-tab precedence change, and the accepted
orphan-findings wart on prune.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The vertebra picker now edits the whole spine at once instead of a single
zone. Seed it with the union of vertebrae across every spine zone of the
observation (collectSpineVertebrae) so switching tabs reveals selections made
on other zones. Clicking a zone always opens its own region tab (initialRegion
now takes priority over the first existing selection).
On confirm, syncSpineZones reconciles authoritatively per region: replace each
region's vertebrae (deselection sticks), prune a spine zone whose region drops
to zero, spawn a zone for a newly picked region. Non-spine zones and their
order are preserved untouched. Supersedes the additive distribute model.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Record vertebra picker distribution decision (target replaces, others union)
and the "drive derived UI by spawning the source-of-truth row" learning.
Add spineZones.ts to the CLAUDE.md src/lib folder map.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Picking vertebrae in a region tab other than the clicked zone now creates
(or additively merges) the matching spine zone, so the SVG highlights it,
it appears in the observation's selected zones, and its findings picker shows.
Extract distributeVertebraeToZones + findSpineZoneId + regionFromLabel into
src/lib/spineZones.ts (regionFromLabel re-exported from VertebraPicker for
back-compat). Target region replaces (deselection sticks); other regions union
(side-tab picks never wipe a pre-existing zone). Unmapped regions fall back to
the target zone.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Generated 24 PNGs (128/256/512/1024) from 6 SVG logos into public/assets/
- PDF footer now uses faunosteo-horizontal-com (with .com branding)
- Simplified logo.ts: both logos are pre-rasterized PNGs, removed SVG
rasterization code
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Removed "faunosteo.com" text (logo alone is clickable)
- Replaced "In partnership with Paws iin Harmony" + separate handle
with single "@paws.iin.harmony" link
- Swapped ZenQuality SVG for dark PNG (logo-horizontal-1024.png)
which renders better on white pages
- Footer now: [Faunosteo logo] | [Powered by ZQ logo] | [@paws.iin.harmony]
with page numbers below center
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Header logo centered between practitioner/animal text on every page
- Added clickable link annotations (faunosteo.com, zenquality.fr, Instagram)
- Bundled ZenQuality SVG logo at public/brand/zenquality-logo.svg
- Footer separator moved above logo area
- Removed isFirstPage gating on header logo
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Header: centered Faunosteo logo on first page.
Footer: Faunosteo logo + faunosteo.com, ZenQuality logo + "Powered by",
Paws iin Harmony + @instagram handle, page numbers. Removed export date
and plain-text site name from footer.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bilateral zones now get distinct findings pickers (e.g. "Épaule (Gauche)"
and "Épaule (Droite)") instead of one shared picker. Finding schema gains
optional `side` field so pathologies are tracked per-side. PDF export
groups findings by zone+side with side label in section headers.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SVG/JSON files under /species/ have no content hash in their filename,
so browsers could serve stale cached versions after updates. Adding
Cache-Control: no-cache forces revalidation on every request while
still allowing 304 Not Modified for unchanged files.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Welcome screen now offers two tabs: "Project SVGs" with species and view
dropdowns that load anatomy SVGs from the species registry, and "Upload
a file" with the existing file import flow. Download filename dynamically
tracks the loaded file instead of hardcoded horse_anatomy_edited.svg.
Co-Authored-By: Claude <noreply@anthropic.com>
Adds a Latéralité/Laterality select (unpaired / bilateral) to the SVG
editor edit panel. Value is persisted as data-anno-lateral on all
sibling elements via applyEdit and restored on selection via showEditPanel.
i18n keys added to both fr/en dicts.
Co-Authored-By: Claude <noreply@anthropic.com>
Append side suffix (e.g. "(Gauche)" / "(Left)") after each zone label
in the PDF observation page, using the existing lateral.left/lateral.right
i18n keys.
Co-Authored-By: Claude <noreply@anthropic.com>
Insert bilateral check in onZoneClick between vertebral-precision
and unpaired toggle logic. Both-sides-present clears all matching
zones; otherwise opens LateralityPicker to let user pick L/R/both.
Co-Authored-By: Claude <noreply@anthropic.com>
Exports LateralSideSchema (z.enum left/right) and LateralSide type.
Adds optional side field to ObservationZoneSchema for bilateral zone distinction.
Covers new schema with 6 dedicated tests (accepts/rejects for both types).
Co-Authored-By: Claude <noreply@anthropic.com>
Read data-anno-lateral from annotated SVG elements and expose it as
Bone.lateral ('bilateral' | 'unpaired' | undefined). Follows the same
merge logic used for data-anno-special.
Co-Authored-By: Claude <noreply@anthropic.com>
- Brand component now renders horizontal SVG logo instead of text
- New AppHeader shared component replaces per-route header boilerplate
- Tagline updated to "Outils pour ostéopathes animaliers"
- All routes use AppHeader (HomeRoute, EditorsRoute, NewReportRoute, SvgEditorRoute)
- ReportHeader and Footer simplified
- DEPLOY.md URLs updated zoosteo.fr → faunosteo.com
- Logo assets added (favicon.svg, logo-horizontal.svg, apple-touch-icon.png)
- Removed unused eslint-disable directive in SvgEditorRoute
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
h-full (height:100%) doesn't resolve when the parent only has flex-1
without an explicit height. flex-1 (flex-grow) works because the
parent App.tsx <main> IS a flex container — no explicit height needed.
Co-Authored-By: Claude <noreply@anthropic.com>
App.tsx <main> was flex-1 but not a flex container itself, so child
routes with h-full + grid place-items-center couldn't resolve their
height for vertical centering.
Co-Authored-By: Claude <noreply@anthropic.com>
Remove h1 heading from editors page, use same centered grid layout
as home page — cards vertically and horizontally centered in viewport.
Co-Authored-By: Claude <noreply@anthropic.com>
Replaced min-h-screen with h-full on both routes — App.tsx flex layout
already provides min-h-screen + flex-1, so the inner min-h-screen was
doubling the minimum height and pushing the footer off-screen.
Co-Authored-By: Claude <noreply@anthropic.com>
Header with brand link + FR/EN segmented toggle reading/writing
osteo:locale localStorage key. 76 translation keys covering all
UI strings. View state tracked for re-render on locale switch.
Co-Authored-By: Claude <noreply@anthropic.com>
Compact header (Brand + LanguageSwitcher) above the SVG editor.
All 58 hardcoded strings in JSX template and vanilla JS replaced with
t() calls via TFn passed to initSvgEditor. Editor re-inits on locale
change. CSS drop overlay uses data-drop-label attr for translated text.
Co-Authored-By: Claude <noreply@anthropic.com>
New /editors route listing SVG editor and pathology editor with
descriptions and CTAs. Footer gains Éditeurs link, Paws iin Harmony
credit, and pipe-separated layout. 69 i18n keys added (editors.*,
footer.*, svg_editor.*) in both FR and EN dicts.
Co-Authored-By: Claude <noreply@anthropic.com>
Custom floating tooltip replaces native SVG <title> — follows cursor,
shows zone name in active locale (FR/EN), dark pill style with 120ms
fade. getAnnotatedElement() helper added to svgConvention.ts.
Co-Authored-By: Claude <noreply@anthropic.com>