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>
This commit is contained in:
1 parent
89e010cc5d
commit
2d6ed809e2
18 files changed
+55
-45
No files matched your search
@@ -140,7 +140,7 @@ Status: closed.
|
|||||||
|
|
||||||
## BDR-017 | 2026-05-22 | SVG editor: vanilla JS wrap over React rewrite
|
## BDR-017 | 2026-05-22 | SVG editor: vanilla JS wrap over React rewrite
|
||||||
|
|
||||||
editor.html = ~1630-line standalone SVG annotation tool (DOM manipulation, drag/drop, polygon editing, zoom, categories, export). Integrated into React app via `useRef` + `useEffect` mounting all vanilla JS logic into container refs. Only CSS restyled to Zoosteo tokens.
|
editor.html = ~1630-line standalone SVG annotation tool (DOM manipulation, drag/drop, polygon editing, zoom, categories, export). Integrated into React app via `useRef` + `useEffect` mounting all vanilla JS logic into container refs. Only CSS restyled to Faunosteo tokens.
|
||||||
Alt rejected: full React rewrite (convert all state to Zustand/useState, all DOM ops to React) — massive effort ~10x, high risk of subtle behavior differences in drag/polygon/zoom interactions.
|
Alt rejected: full React rewrite (convert all state to Zustand/useState, all DOM ops to React) — massive effort ~10x, high risk of subtle behavior differences in drag/polygon/zoom interactions.
|
||||||
Status: closed.
|
Status: closed.
|
||||||
|
|
||||||
|
|||||||
@@ -75,10 +75,10 @@ User dropped catalog v1.2→v2.0 in place. pathologies.json now schema_version "
|
|||||||
- TODO Phase C item 1 "Author full horse.json" → done. B4 still has scope_disclaimer footer decision open.
|
- TODO Phase C item 1 "Author full horse.json" → done. B4 still has scope_disclaimer footer decision open.
|
||||||
- NEXT: B4 disclaimer footer call + C QA + Scaleway deploy.
|
- NEXT: B4 disclaimer footer call + C QA + Scaleway deploy.
|
||||||
- hotfix(pdf): PDF export crashed `WinAnsi cannot encode "⚠"` on any obs carrying a requires_vet_referral leaf — StandardFonts.Helvetica is WinAnsi-only. Swapped `⚠ ` PDF marker → `(!) ` (UI keeps ⚠). Regression test added on `widthOfTextAtSize` + prefixed label. LRN-021, EVAL-003 captured. 155/155 green. Follow-up: migrate PDF body to embedded TTF (Inter/Fraunces per CLAUDE.md spec) so future non-Latin-1 glyphs work.
|
- hotfix(pdf): PDF export crashed `WinAnsi cannot encode "⚠"` on any obs carrying a requires_vet_referral leaf — StandardFonts.Helvetica is WinAnsi-only. Swapped `⚠ ` PDF marker → `(!) ` (UI keeps ⚠). Regression test added on `widthOfTextAtSize` + prefixed label. LRN-021, EVAL-003 captured. 155/155 green. Follow-up: migrate PDF body to embedded TTF (Inter/Fraunces per CLAUDE.md spec) so future non-Latin-1 glyphs work.
|
||||||
- chore: rename project `osteo-report` → `zoosteo` (Gitea repo moved). 15 files: repo URLs (CHANGELOG, DEPLOY, package.json), brand strings (env.ts DEFAULTS, entrypoint.sh fallbacks, i18n fr/en, pdf attachment metadata, index.html title, Brand test, scaffold banner, README/CLAUDE/CHANGELOG/ADDING-A-SPECIES headings), example URL osteo.example.com → zoosteo.fr in DEPLOY.md. PDF FILENAME `osteo-report.json` + startsWith contract preserved. 155/155 tests green. Commit 7dd4f63 + push.
|
- chore: rename project `osteo-report` → `zoosteo` → `faunosteo` (Gitea repo moved). 15 files: repo URLs (CHANGELOG, DEPLOY, package.json), brand strings (env.ts DEFAULTS, entrypoint.sh fallbacks, i18n fr/en, pdf attachment metadata, index.html title, Brand test, scaffold banner, README/CLAUDE/CHANGELOG/ADDING-A-SPECIES headings), example URL osteo.example.com → zoosteo.fr in DEPLOY.md. PDF FILENAME `osteo-report.json` + startsWith contract preserved. 155/155 tests green. Commit 7dd4f63 + push.
|
||||||
- fix(docker): pin `pnpm@11.1.3` in Dockerfile:7. `corepack prepare pnpm@latest` re-resolved to pnpm >=11.4 on VPS cold build, which needs Node 22.13 → `ERR_UNKNOWN_BUILTIN_MODULE: node:sqlite` on Node 20 image. Commit 7dccde7 + push. BLK-005 + LRN-022 captured.
|
- fix(docker): pin `pnpm@11.1.3` in Dockerfile:7. `corepack prepare pnpm@latest` re-resolved to pnpm >=11.4 on VPS cold build, which needs Node 22.13 → `ERR_UNKNOWN_BUILTIN_MODULE: node:sqlite` on Node 20 image. Commit 7dccde7 + push. BLK-005 + LRN-022 captured.
|
||||||
- fix(docker) v2: 11.1.3 pin insufficient — pnpm 11.x ENTIRE LINE imports `node:sqlite` (not just 11.4+). Local dev was misleading because pnpm install never re-ran on host. Downgrade Dockerfile to `pnpm@10.13.1` (last 10.x cached on host, reads lockfile v9 unchanged). Commit 990c8e7 + push. BLK-005 + LRN-022 corrected with iteration log.
|
- fix(docker) v2: 11.1.3 pin insufficient — pnpm 11.x ENTIRE LINE imports `node:sqlite` (not just 11.4+). Local dev was misleading because pnpm install never re-ran on host. Downgrade Dockerfile to `pnpm@10.13.1` (last 10.x cached on host, reads lockfile v9 unchanged). Commit 990c8e7 + push. BLK-005 + LRN-022 corrected with iteration log.
|
||||||
- chore(docker): pin `container_name: zoosteo-web` in docker-compose.yml — Compose v2 always appends `-1` replica suffix; single-instance service doesn't need scaling. DEPLOY.md log-prune command updated. Commit 7d214ed.
|
- chore(docker): pin `container_name: faunosteo-web` in docker-compose.yml — Compose v2 always appends `-1` replica suffix; single-instance service doesn't need scaling. DEPLOY.md log-prune command updated. Commit 7d214ed.
|
||||||
- fix(docker): nginx template used bash-style `${PORT:-8080}` but envsubst doesn't support `:-default`. Switched to plain `${PORT}` since entrypoint.sh already exports PORT with default. Commit 0fcc526.
|
- fix(docker): nginx template used bash-style `${PORT:-8080}` but envsubst doesn't support `:-default`. Switched to plain `${PORT}` since entrypoint.sh already exports PORT with default. Commit 0fcc526.
|
||||||
- feat(ui): global footer (© year + brand + "Powered by ZenQuality" logo linking to zenquality.fr). New Footer.tsx mounted via flex-column layout in App.tsx so it sticks bottom on every route. Two i18n keys added (footer.all_rights_reserved, footer.powered_by). Commit caac149.
|
- feat(ui): global footer (© year + brand + "Powered by ZenQuality" logo linking to zenquality.fr). New Footer.tsx mounted via flex-column layout in App.tsx so it sticks bottom on every route. Two i18n keys added (footer.all_rights_reserved, footer.powered_by). Commit caac149.
|
||||||
- feat(ui): unify header — tagline next to brand on left for every page; LanguageSwitcher far right everywhere; dropped redundant "← Accueil" button on /new + /editor (brand is already a link to /). 3 files. Commit 1b01744 part 1.
|
- feat(ui): unify header — tagline next to brand on left for every page; LanguageSwitcher far right everywhere; dropped redundant "← Accueil" button on /new + /editor (brand is already a link to /). 3 files. Commit 1b01744 part 1.
|
||||||
@@ -87,9 +87,19 @@ User dropped catalog v1.2→v2.0 in place. pathologies.json now schema_version "
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## 2026-05-22 (session 2)
|
||||||
|
|
||||||
|
- feat: locale-aware hover tooltip on anatomy zones (AnatomyCanvas custom floating tooltip, replaces native SVG title).
|
||||||
|
- feat: /editors listing page + footer "Éditeurs" link + "Paws iin Harmony" credit.
|
||||||
|
- feat(i18n): SVG editor header navbar + 58 FR/EN keys; pathology editor header + 76 FR/EN keys. Both editors fully bilingual.
|
||||||
|
- fix(ui): 3 iterations on vertical centering — h-full→flex-1 on route containers (LRN-027). App.tsx main needs flex flex-col for children to grow.
|
||||||
|
- Commits 569e571..89e010c (9 commits). 155/155 tests green throughout.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## 2026-05-22
|
## 2026-05-22
|
||||||
|
|
||||||
Integrated standalone editor.html (~1630 lines vanilla JS SVG annotation tool) into React app at /svg-editor route. Vanilla JS wrapped in useRef+useEffect — zero behavior loss. CSS restyled to Zoosteo tokens (warm palette, accent vars, serif headings). DOMParser used for safe SVG loading (no innerHTML). Page noindexed via dynamic meta tag. 3 files created (SvgEditorRoute.tsx, svg-editor.css), 1 modified (App.tsx route registration), CLAUDE.md folder structure updated.
|
Integrated standalone editor.html (~1630 lines vanilla JS SVG annotation tool) into React app at /svg-editor route. Vanilla JS wrapped in useRef+useEffect — zero behavior loss. CSS restyled to Faunosteo tokens (warm palette, accent vars, serif headings). DOMParser used for safe SVG loading (no innerHTML). Page noindexed via dynamic meta tag. 3 files created (SvgEditorRoute.tsx, svg-editor.css), 1 modified (App.tsx route registration), CLAUDE.md folder structure updated.
|
||||||
- 155/155 tests green, typecheck clean, build OK (941KB main). No regressions.
|
- 155/155 tests green, typecheck clean, build OK (941KB main). No regressions.
|
||||||
- BDR-017 (vanilla wrap decision), LRN-022 (DOMParser SVG loading) captured.
|
- BDR-017 (vanilla wrap decision), LRN-022 (DOMParser SVG loading) captured.
|
||||||
- feat(editor): standalone pathology-editor.html — JSON pathology tree editor with SVG zone selection. 1390 lines vanilla JS/CSS, zero deps. Pre-wired species list + manual upload. Fuzzy zone matching ported from zoneMatch.ts. Recursive tree editor: add/edit/delete nodes, sources management, auto ID generation. SVG sanitized (scripts/foreignObject/on* stripped). Export full JSON preserving all zones. public/species/equine/pathologies.json added for HTTP access. Docs synced (CLAUDE.md + README).
|
- feat(editor): standalone pathology-editor.html — JSON pathology tree editor with SVG zone selection. 1390 lines vanilla JS/CSS, zero deps. Pre-wired species list + manual upload. Fuzzy zone matching ported from zoneMatch.ts. Recursive tree editor: add/edit/delete nodes, sources management, auto ID generation. SVG sanitized (scripts/foreignObject/on* stripped). Export full JSON preserving all zones. public/species/equine/pathologies.json added for HTTP access. Docs synced (CLAUDE.md + README).
|
||||||
|
|||||||
+5
-5
@@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
All notable changes to **Zoosteo** are documented here.
|
All notable changes to **Faunosteo** are documented here.
|
||||||
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||||
Versions follow [Semantic Versioning](https://semver.org/).
|
Versions follow [Semantic Versioning](https://semver.org/).
|
||||||
|
|
||||||
@@ -105,7 +105,7 @@ restores the session for a follow-up.
|
|||||||
- **PDF date format** — locale-aware via `formatDate(iso, locale)`,
|
- **PDF date format** — locale-aware via `formatDate(iso, locale)`,
|
||||||
replacing the FR-only `formatDateFr` helper.
|
replacing the FR-only `formatDateFr` helper.
|
||||||
- **Default branch** — `main` → `master` (matches the Gitea remote at
|
- **Default branch** — `main` → `master` (matches the Gitea remote at
|
||||||
`https://git.bchanot.fr/bchanot/zoosteo.git`).
|
`https://git.bchanot.fr/bchanot/faunosteo.git`).
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
@@ -183,7 +183,7 @@ These were never tagged but are reflected in git history on `master`.
|
|||||||
catalog landed, `requires_vet_referral` becomes the sole source of
|
catalog landed, `requires_vet_referral` becomes the sole source of
|
||||||
truth, PDF vet marker swapped to a WinAnsi-safe surrogate. Docs
|
truth, PDF vet marker swapped to a WinAnsi-safe surrogate. Docs
|
||||||
refreshed, `DEPLOY.md` + `CHANGELOG.md` written, default branch
|
refreshed, `DEPLOY.md` + `CHANGELOG.md` written, default branch
|
||||||
renamed `master`, repo pushed to `https://git.bchanot.fr/bchanot/zoosteo.git`.
|
renamed `master`, repo pushed to `https://git.bchanot.fr/bchanot/faunosteo.git`.
|
||||||
|
|
||||||
[Unreleased]: https://git.bchanot.fr/bchanot/zoosteo/compare/v1.0.0...HEAD
|
[Unreleased]: https://git.bchanot.fr/bchanot/faunosteo/compare/v1.0.0...HEAD
|
||||||
[1.0.0]: https://git.bchanot.fr/bchanot/zoosteo/releases/tag/v1.0.0
|
[1.0.0]: https://git.bchanot.fr/bchanot/faunosteo/releases/tag/v1.0.0
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Zoosteo — CLAUDE.md
|
# Faunosteo — CLAUDE.md
|
||||||
|
|
||||||
# Generated by scaffolder 2026-05-18. Single source of truth for Claude in this repo.
|
# Generated by scaffolder 2026-05-18. Single source of truth for Claude in this repo.
|
||||||
# Global rules: ~/.claude/CLAUDE.md — this file extends or overrides them.
|
# Global rules: ~/.claude/CLAUDE.md — this file extends or overrides them.
|
||||||
@@ -68,7 +68,7 @@ pnpm format
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Build image
|
# Build image
|
||||||
docker build -t zoosteo .
|
docker build -t faunosteo .
|
||||||
|
|
||||||
# Run with compose (reads .env for APP_* vars)
|
# Run with compose (reads .env for APP_* vars)
|
||||||
docker compose up --build
|
docker compose up --build
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ each one explicitly.
|
|||||||
|
|
||||||
| Variable | Required | Default | Notes |
|
| Variable | Required | Default | Notes |
|
||||||
| ----------------- | -------- | ---------------- | ------------------------------------------------------------------------------------ |
|
| ----------------- | -------- | ---------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `APP_SITE_NAME` | yes | `Zoosteo` | Browser `<title>`, OG `site_name`. |
|
| `APP_SITE_NAME` | yes | `Faunosteo` | Browser `<title>`, OG `site_name`. |
|
||||||
| `APP_BRAND_NAME` | yes | `Zoosteo` | Header brand block, PDF header. Praticien-visible identity. |
|
| `APP_BRAND_NAME` | yes | `Faunosteo` | Header brand block, PDF header. Praticien-visible identity. |
|
||||||
| `APP_FOOTER_NAME` | yes | `Zoosteo` | Footer copyright line. |
|
| `APP_FOOTER_NAME` | yes | `Faunosteo` | Footer copyright line. |
|
||||||
| `APP_TAGLINE` | yes | `Bilans d'ostéopathie animalière` | Hero tagline on Home. |
|
| `APP_TAGLINE` | yes | `Bilans d'ostéopathie animalière` | Hero tagline on Home. |
|
||||||
| `PORT` | no | `8080` | Container listen port. Override to relocate the loopback bind. |
|
| `PORT` | no | `8080` | Container listen port. Override to relocate the loopback bind. |
|
||||||
|
|
||||||
@@ -145,8 +145,8 @@ docker info | grep -i 'logging driver\|live restore'
|
|||||||
```bash
|
```bash
|
||||||
# As your non-root deploy user (see Hardening §1 if you have not made one yet)
|
# As your non-root deploy user (see Hardening §1 if you have not made one yet)
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://git.bchanot.fr/bchanot/zoosteo.git
|
git clone https://git.bchanot.fr/bchanot/faunosteo.git
|
||||||
cd zoosteo
|
cd faunosteo
|
||||||
|
|
||||||
# Configure identity
|
# Configure identity
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
@@ -174,7 +174,7 @@ This project has no `scripts/deploy.sh` yet. Pull-and-recompose from the
|
|||||||
VPS is the path:
|
VPS is the path:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd ~/zoosteo
|
cd ~/faunosteo
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git reset --hard origin/master # default branch is "master" on this remote
|
git reset --hard origin/master # default branch is "master" on this remote
|
||||||
docker compose up --build -d
|
docker compose up --build -d
|
||||||
@@ -224,7 +224,7 @@ set -e
|
|||||||
DEST="/var/backups/osteo"
|
DEST="/var/backups/osteo"
|
||||||
DATE="$(date -u +%Y%m%d)"
|
DATE="$(date -u +%Y%m%d)"
|
||||||
mkdir -p "$DEST"
|
mkdir -p "$DEST"
|
||||||
cp /home/<deploy-user>/zoosteo/.env "$DEST/env-$DATE"
|
cp /home/<deploy-user>/faunosteo/.env "$DEST/env-$DATE"
|
||||||
chmod 600 "$DEST/env-$DATE"
|
chmod 600 "$DEST/env-$DATE"
|
||||||
find "$DEST" -name 'env-*' -mtime +30 -delete
|
find "$DEST" -name 'env-*' -mtime +30 -delete
|
||||||
```
|
```
|
||||||
@@ -257,7 +257,7 @@ aws s3 sync /var/backups/osteo s3://<bucket>/osteo/ --storage-class STANDARD_IA
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose down
|
docker compose down
|
||||||
cp /var/backups/osteo/env-<date> /home/<deploy-user>/zoosteo/.env
|
cp /var/backups/osteo/env-<date> /home/<deploy-user>/faunosteo/.env
|
||||||
docker compose up --build -d
|
docker compose up --build -d
|
||||||
curl -sI https://zoosteo.fr/
|
curl -sI https://zoosteo.fr/
|
||||||
```
|
```
|
||||||
@@ -493,7 +493,7 @@ ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no deploy@zoost
|
|||||||
## Rollback
|
## Rollback
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd ~/zoosteo
|
cd ~/faunosteo
|
||||||
git reflog | head -20 # find the known-good SHA
|
git reflog | head -20 # find the known-good SHA
|
||||||
git reset --hard <known-good-sha>
|
git reset --hard <known-good-sha>
|
||||||
docker compose up --build -d
|
docker compose up --build -d
|
||||||
@@ -615,7 +615,7 @@ from `/var/lib/docker/containers/<id>/*.log` anyway, lower the cap in
|
|||||||
(`/etc/docker/daemon.json`). Host nginx logs in `/var/log/nginx/`;
|
(`/etc/docker/daemon.json`). Host nginx logs in `/var/log/nginx/`;
|
||||||
rotate via logrotate (default Ubuntu config). Certbot logs in
|
rotate via logrotate (default Ubuntu config). Certbot logs in
|
||||||
`/var/log/letsencrypt/`.
|
`/var/log/letsencrypt/`.
|
||||||
- **Manual log prune**: `docker compose logs --no-color > /tmp/x; truncate -s 0 $(docker inspect --format='{{.LogPath}}' zoosteo-web)`.
|
- **Manual log prune**: `docker compose logs --no-color > /tmp/x; truncate -s 0 $(docker inspect --format='{{.LogPath}}' faunosteo-web)`.
|
||||||
- **Key rotation**: `.env` carries no secret material, but if
|
- **Key rotation**: `.env` carries no secret material, but if
|
||||||
`APP_BRAND_NAME` etc. need to change, edit `.env` + `docker compose up
|
`APP_BRAND_NAME` etc. need to change, edit `.env` + `docker compose up
|
||||||
-d` (no rebuild — `entrypoint.sh` reads env on container start).
|
-d` (no rebuild — `entrypoint.sh` reads env on container start).
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Zoosteo
|
# Faunosteo
|
||||||
|
|
||||||
Web app for veterinary osteopaths to write session bilans on animal anatomy
|
Web app for veterinary osteopaths to write session bilans on animal anatomy
|
||||||
SVGs — click zones, build observations, export a self-contained PDF with the
|
SVGs — click zones, build observations, export a self-contained PDF with the
|
||||||
@@ -87,7 +87,7 @@ pnpm build # tsc + vite build → dist/
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm build # production build → dist/
|
pnpm build # production build → dist/
|
||||||
docker build -t zoosteo . # multi-stage Docker image
|
docker build -t faunosteo . # multi-stage Docker image
|
||||||
docker compose up --build # run with env_file: .env
|
docker compose up --build # run with env_file: .env
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
container_name: zoosteo-web
|
container_name: faunosteo-web
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ ENV_JS="/usr/share/nginx/html/env.js"
|
|||||||
|
|
||||||
cat > "$ENV_JS" <<EOF
|
cat > "$ENV_JS" <<EOF
|
||||||
window.__APP_CONFIG__ = {
|
window.__APP_CONFIG__ = {
|
||||||
siteName: "${APP_SITE_NAME:-Zoosteo}",
|
siteName: "${APP_SITE_NAME:-Faunosteo}",
|
||||||
brandName: "${APP_BRAND_NAME:-Zoosteo}",
|
brandName: "${APP_BRAND_NAME:-Faunosteo}",
|
||||||
footerName: "${APP_FOOTER_NAME:-Zoosteo}",
|
footerName: "${APP_FOOTER_NAME:-Faunosteo}",
|
||||||
tagline: "${APP_TAGLINE:-Bilans d'ostéopathie animalière}"
|
tagline: "${APP_TAGLINE:-Bilans d'ostéopathie animalière}"
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "env.js written: APP_BRAND_NAME=${APP_BRAND_NAME:-Zoosteo}"
|
echo "env.js written: APP_BRAND_NAME=${APP_BRAND_NAME:-Faunosteo}"
|
||||||
|
|
||||||
# Replace PORT placeholder in nginx config if needed
|
# Replace PORT placeholder in nginx config if needed
|
||||||
# (nginx:alpine supports envsubst via templates; we keep it explicit)
|
# (nginx:alpine supports envsubst via templates; we keep it explicit)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Adding a New Species
|
# Adding a New Species
|
||||||
|
|
||||||
Zoosteo ships with one species (`equine`). Adding a new one is
|
Faunosteo ships with one species (`equine`). Adding a new one is
|
||||||
mostly authoring work — anatomy SVGs and a findings JSON — backed by a
|
mostly authoring work — anatomy SVGs and a findings JSON — backed by a
|
||||||
small amount of boilerplate that the project can scaffold for you.
|
small amount of boilerplate that the project can scaffold for you.
|
||||||
|
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ Approximate structure:
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<title>Zoosteo — Éditeur de pathologies</title>
|
<title>Faunosteo — Éditeur de pathologies</title>
|
||||||
<style>/* all styles */</style>
|
<style>/* all styles */</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="description" content="Bilans d'ostéopathie animalière" />
|
<meta name="description" content="Bilans d'ostéopathie animalière" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<title>Zoosteo</title>
|
<title>Faunosteo</title>
|
||||||
<!--
|
<!--
|
||||||
Runtime config injected by docker/entrypoint.sh at container start.
|
Runtime config injected by docker/entrypoint.sh at container start.
|
||||||
window.__APP_CONFIG__ overrides build-time VITE_APP_* values.
|
window.__APP_CONFIG__ overrides build-time VITE_APP_* values.
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "zoosteo",
|
"name": "faunosteo",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Single-praticien veterinary osteopathy report app with PDF export/import",
|
"description": "Single-praticien veterinary osteopathy report app with PDF export/import",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="robots" content="noindex,nofollow">
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<title>Zoosteo — Éditeur de pathologies</title>
|
<title>Faunosteo — Éditeur de pathologies</title>
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--color-bg: #fbf9f5;
|
--color-bg: #fbf9f5;
|
||||||
@@ -518,7 +518,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<header class="pe-header" id="pe-header">
|
<header class="pe-header" id="pe-header">
|
||||||
<div class="pe-header-left">
|
<div class="pe-header-left">
|
||||||
<a href="/" class="pe-header-brand">Zoosteo</a>
|
<a href="/" class="pe-header-brand">Faunosteo</a>
|
||||||
<span class="pe-header-tagline" id="pe-header-tagline"></span>
|
<span class="pe-header-tagline" id="pe-header-tagline"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="pe-lang-toggle" id="pe-lang-toggle">
|
<div class="pe-lang-toggle" id="pe-lang-toggle">
|
||||||
@@ -736,7 +736,7 @@
|
|||||||
|
|
||||||
function updateStaticTexts() {
|
function updateStaticTexts() {
|
||||||
document.documentElement.lang = currentLocale;
|
document.documentElement.lang = currentLocale;
|
||||||
document.title = 'Zoosteo — ' + t('title');
|
document.title = 'Faunosteo — ' + t('title');
|
||||||
taglineEl.textContent = t('tagline');
|
taglineEl.textContent = t('tagline');
|
||||||
document.body.setAttribute('data-small-screen-msg', t('small_screen'));
|
document.body.setAttribute('data-small-screen-msg', t('small_screen'));
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -21,9 +21,9 @@ declare global {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULTS: AppConfig = {
|
const DEFAULTS: AppConfig = {
|
||||||
siteName: 'Zoosteo',
|
siteName: 'Faunosteo',
|
||||||
brandName: 'Zoosteo',
|
brandName: 'Faunosteo',
|
||||||
footerName: 'Zoosteo',
|
footerName: 'Faunosteo',
|
||||||
tagline: "Bilans d'ostéopathie animalière",
|
tagline: "Bilans d'ostéopathie animalière",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -26,7 +26,7 @@ export const en: Dict = {
|
|||||||
'home.import.error_generic': 'Failed to read the PDF.',
|
'home.import.error_generic': 'Failed to read the PDF.',
|
||||||
'home.import.error_invalid_pdf': 'This file is not a readable PDF.',
|
'home.import.error_invalid_pdf': 'This file is not a readable PDF.',
|
||||||
'home.import.error_no_attachment':
|
'home.import.error_no_attachment':
|
||||||
'This PDF was not generated by Zoosteo (no data detected).',
|
'This PDF was not generated by Faunosteo (no data detected).',
|
||||||
'home.import.error_incompatible_version':
|
'home.import.error_incompatible_version':
|
||||||
'This PDF uses format v{version}, incompatible with the current version (v2). Re-export the report from a recent version of the app.',
|
'This PDF uses format v{version}, incompatible with the current version (v2). Re-export the report from a recent version of the app.',
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ export const en: Dict = {
|
|||||||
'footer.all_rights_reserved': 'All rights reserved.',
|
'footer.all_rights_reserved': 'All rights reserved.',
|
||||||
'footer.powered_by': 'Powered by',
|
'footer.powered_by': 'Powered by',
|
||||||
'footer.editors': 'Editors',
|
'footer.editors': 'Editors',
|
||||||
'footer.with_help': 'With help from',
|
'footer.in_partnership': 'In partnership with',
|
||||||
|
|
||||||
// editors page
|
// editors page
|
||||||
'editors.title': 'Editors',
|
'editors.title': 'Editors',
|
||||||
@@ -150,7 +150,7 @@ export const en: Dict = {
|
|||||||
'pdf.owner_prefix': 'Owner: ',
|
'pdf.owner_prefix': 'Owner: ',
|
||||||
'pdf.siret_prefix': 'SIRET ',
|
'pdf.siret_prefix': 'SIRET ',
|
||||||
'pdf.export_date_prefix': 'Exported on ',
|
'pdf.export_date_prefix': 'Exported on ',
|
||||||
'pdf.title.suffix.bilan': 'Zoosteo — ',
|
'pdf.title.suffix.bilan': 'Faunosteo — ',
|
||||||
'pdf.subject': 'Animal osteopathic report',
|
'pdf.subject': 'Animal osteopathic report',
|
||||||
|
|
||||||
'lang.switch_to_fr': 'Passer en français',
|
'lang.switch_to_fr': 'Passer en français',
|
||||||
|
|||||||
+2
-2
@@ -30,7 +30,7 @@ export const fr: Dict = {
|
|||||||
'home.import.error_invalid_pdf':
|
'home.import.error_invalid_pdf':
|
||||||
"Ce fichier n'est pas un PDF lisible.",
|
"Ce fichier n'est pas un PDF lisible.",
|
||||||
'home.import.error_no_attachment':
|
'home.import.error_no_attachment':
|
||||||
"Ce PDF n'a pas été généré par Zoosteo (pas de données détectées).",
|
"Ce PDF n'a pas été généré par Faunosteo (pas de données détectées).",
|
||||||
'home.import.error_incompatible_version':
|
'home.import.error_incompatible_version':
|
||||||
"Ce PDF est au format v{version}, incompatible avec la version actuelle (v2). Réexportez le bilan depuis une version récente de l'application.",
|
"Ce PDF est au format v{version}, incompatible avec la version actuelle (v2). Réexportez le bilan depuis une version récente de l'application.",
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ export const fr: Dict = {
|
|||||||
'footer.all_rights_reserved': 'Tous droits réservés.',
|
'footer.all_rights_reserved': 'Tous droits réservés.',
|
||||||
'footer.powered_by': 'Propulsé par',
|
'footer.powered_by': 'Propulsé par',
|
||||||
'footer.editors': 'Éditeurs',
|
'footer.editors': 'Éditeurs',
|
||||||
'footer.with_help': 'Avec l\'aide de',
|
'footer.in_partnership': 'En partenariat avec',
|
||||||
|
|
||||||
// editors page
|
// editors page
|
||||||
'editors.title': 'Éditeurs',
|
'editors.title': 'Éditeurs',
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export async function attachReportJson(pdfDoc: PDFDocument, report: Report): Pro
|
|||||||
const bytes = new TextEncoder().encode(JSON.stringify(report, null, 2))
|
const bytes = new TextEncoder().encode(JSON.stringify(report, null, 2))
|
||||||
await pdfDoc.attach(bytes, FILENAME, {
|
await pdfDoc.attach(bytes, FILENAME, {
|
||||||
mimeType: 'application/json',
|
mimeType: 'application/json',
|
||||||
description: 'Zoosteo state v2',
|
description: 'Faunosteo state v2',
|
||||||
creationDate: new Date(),
|
creationDate: new Date(),
|
||||||
modificationDate: new Date(),
|
modificationDate: new Date(),
|
||||||
afRelationship: AFRelationship.Data,
|
afRelationship: AFRelationship.Data,
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ describe('Brand', () => {
|
|||||||
<Brand />
|
<Brand />
|
||||||
</ConfigProvider>,
|
</ConfigProvider>,
|
||||||
)
|
)
|
||||||
expect(screen.getByText(/Zoosteo/i)).toBeInTheDocument()
|
expect(screen.getByText(/Faunosteo/i)).toBeInTheDocument()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user