Improve timeline UX and add catalog restore scripts for paintings and portraits.

Load the home-page catalog once with a lightweight artists API, batch pan/zoom updates per frame, use dynamic year labels, and speed up movement-flow zoom. Add sync-image-paths and fetch-artist-images plus docs for the post-seed pipeline.
This commit is contained in:
Danila Khodjaef
2026-07-03 18:33:16 +03:00
parent 7f26696328
commit 02d238b043
26 changed files with 865 additions and 195 deletions
+7 -3
View File
@@ -37,9 +37,11 @@ Interactive virtual art gallery: zoomable historical timeline with era click-to-
4. Enrich the catalog (recommended after seed):
```bash
npm run fetch-artist-bios # Wikipedia biographies for all artists
npm run expand-catalog # add famous works for artists with thin catalogs
npm run update-influences # art-history lineage links between paintings
npm run sync-image-paths # import paintings from data/images/paintings/ when present
npm run fetch-artist-images # link or download artist portraits
npm run fetch-artist-bios # Wikipedia biographies for all artists
npm run expand-catalog # add famous works for artists with thin catalogs
npm run update-influences # art-history lineage links (detail panels + 3D hall)
npm run migrate:artist-palette # optional: JSONB column for PainterPalette enrichment
npm run import-painter-palette # optional: metadata + influence links from Inputs/PainterPalette.csv
npm run migrate:checkup-flags # review/fixed flags for Checkup + debug mode (paintings)
@@ -70,3 +72,5 @@ Run API and Vite dev server separately:
npm run dev:server # API — PORT from .env (3520 or 3001)
npm run dev:client # http://localhost:5173 (proxies /api and /images)
```
Both processes must run when the public domain is proxied to Vite (`deploy/nginx-gallery.conf`).