diff --git a/CHANGELOG.md b/CHANGELOG.md index da706308..c1dec3db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,19 +8,27 @@ Versions follow [Semantic Versioning](https://semver.org/). ### Added -- _(nothing yet)_ +- **Laterality & bilaterality** — `LateralSideSchema` (left/right) + `Bone.lateral`, `data-anno-lateral` parsed from the SVG; `LateralityPicker` modal in the zone-click flow, side shown in zone badges and PDF labels; bilateral zones get a separate findings picker per side. +- **SVG anatomy editor** — `/svg-editor` route, the vanilla annotation tool wrapped in React (BDR-017). +- **Standalone pathology editor** — `public/pathology-editor.html`, a zero-dependency JSON tree editor with SVG zone selection (BDR-020/021/022). +- **Welcome screen** — tabbed editor entry with a project SVG picker; `/editors` listing page. +- **Footer branding** — global footer with copyright, "Powered by ZenQuality" and the "Paws in Harmony" partnership logo, on both the site and the exported PDF. +- **gitflow socle** — `main`/`develop` model + versioned pre-commit hook. ### Changed -- _(nothing yet)_ +- **Unified `AppHeader`** across every route (logo brand + tagline). +- **Responsive mobile** — full phone/tablet adaptation across all components. +- **Project renamed** Zoosteo → Faunosteo across the whole codebase. ### Fixed -- _(nothing yet)_ +- **`pathology-editor.html` 404 in production** — it lived at the repo root, Vite never bundled it into `dist/`; moved to `public/` so it ships (LRN-029). +- **Docker species caching** — `Cache-Control: no-cache` header added for `/species/` assets so an updated catalog is served fresh. --- -## [1.0.0] — 2026-05-21 +## [0.1.0] — 2026-05-21 First public release. Single-praticien web app for veterinary osteopathy bilans on animal anatomy SVGs. Static SPA, no backend, no @@ -104,9 +112,6 @@ restores the session for a follow-up. picks the right snapshot at render time without a schema bump. - **PDF date format** — locale-aware via `formatDate(iso, locale)`, replacing the FR-only `formatDateFr` helper. -- **Default branch** — `main` → `master` (matches the Gitea remote at - `https://git.bchanot.fr/bchanot/faunosteo.git`). - ### Fixed - **PDF export crashed** `WinAnsi cannot encode "⚠" (0x26a0)` whenever @@ -164,7 +169,7 @@ restores the session for a follow-up. ## Pre-1.0 milestones (for reference) -These were never tagged but are reflected in git history on `master`. +These were never tagged but are reflected in git history on `main`. - **Scaffold (2026-05-18)** — initial skeleton from approved design spec: 80+ files (schemas, stubs, routes, stores, PDF modules, Docker @@ -182,8 +187,5 @@ These were never tagged but are reflected in git history on `master`. - **Catalog v2.0 + WinAnsi hotfix (2026-05-21)** — full 26-zone horse catalog landed, `requires_vet_referral` becomes the sole source of truth, PDF vet marker swapped to a WinAnsi-safe surrogate. Docs - refreshed, `DEPLOY.md` + `CHANGELOG.md` written, default branch - renamed `master`, repo pushed to `https://git.bchanot.fr/bchanot/faunosteo.git`. - -[Unreleased]: https://git.bchanot.fr/bchanot/faunosteo/compare/v1.0.0...HEAD -[1.0.0]: https://git.bchanot.fr/bchanot/faunosteo/releases/tag/v1.0.0 + refreshed, `DEPLOY.md` + `CHANGELOG.md` written, repo pushed to + `https://git.bchanot.fr/bchanot/faunosteo.git`. \ No newline at end of file diff --git a/README.md b/README.md index 4f186b61..e3af30f8 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,10 @@ contract. - **Configurable identity** — site name, brand, footer, tagline all come from env vars; nothing hardcoded - **Practitioner cache** — last-used practitioner block prefilled via localStorage - **Pathology editor** — standalone `pathology-editor.html` tool (no build step) for visually editing the species findings JSON via SVG zone selection; exports a downloadable JSON file +- **Laterality** — left/right side selection on bilateral zones, reflected in badges and the PDF +- **SVG anatomy editor** — in-app `/svg-editor` tool to annotate anatomy SVGs +- **Welcome screen + editors page** — tabbed entry with a project SVG picker and an `/editors` listing +- **Footer branding** — global footer (copyright, "Powered by ZenQuality", partner logo), on site + PDF --- @@ -77,7 +81,7 @@ docker compose up --build ```bash pnpm typecheck # TypeScript strict, no emit pnpm lint # ESLint 9 flat config, 0 warnings -pnpm test:run # vitest run (155 tests) +pnpm test:run # vitest run (174 tests) pnpm build # tsc + vite build → dist/ ``` @@ -134,11 +138,11 @@ osteo/ ## Status -v1.0 MVP — implementation complete. +v0.1.0 MVP — implementation complete. - `pnpm typecheck` ✅ - `pnpm lint` ✅ -- `pnpm test:run` ✅ — 155 tests across 29 files +- `pnpm test:run` ✅ — 174 tests across 30 files - `pnpm build` ✅ The first species data set ships with the real `Horse.svg` + `Horse_head.svg` diff --git a/docs/PDF-FORMAT.md b/docs/PDF-FORMAT.md index a19a681c..67d06a42 100644 --- a/docs/PDF-FORMAT.md +++ b/docs/PDF-FORMAT.md @@ -8,5 +8,5 @@ Will cover: - Observation page structure - Conclusion page structure - JSON attachment spec (EmbeddedFiles, afRelationship:Data) -- Font embedding (Inter TTF body, Fraunces TTF heading) +- Font handling (pdf-lib StandardFonts Helvetica/Times-Roman, WinAnsi; TTF Inter/Fraunces planned, not shipped) - Import/re-import roundtrip contract