caterium-app/public
pavlov346346-source 40b5c146c2 feat: add photos for the 34 training-catalog items that had none
The banquet menu (18 dishes) and extras/supplies/delivery items (16)
in the training catalog were seeded with photo:'', which the catalog
tiles render as a plain red placeholder square. Sourced a real photo
for each item (mostly Pexels, free license, picked and visually
reviewed one by one to avoid mismatches -- several first search hits
were wrong: a live chicken for "chicken caesar salad", a person in
frame, branded bottles/cups) and two AI-generated (banquet-caprese,
banquet-roastbeef). Converted to square 1024x1024 WebP with sharp.

Wires the paths through the actual source of truth: ops/demo/trial-
banquet-data.mjs and trial-extras-data.mjs now set photo to the real
path, then ops/demo/build-trial-*.mjs regenerated public/demo/*.json
and the matching Supabase seed-function migrations, so the client's
static JSON fetch and the server-side company-provisioning function
stay in sync.

Bumped the demo-catalog fetch's own cache-busting query string in
training-catalog.js (and its script-tag/precache version), since it's
fetched by the client with a separate version from the outer script
tags -- the same stale-cache class of bug fixed earlier this session.

Verified: all 34 referenced files resolve (200) and decode as real
1024x1024 images; confirmed via the actual rendered catalog tiles
(#tiles img[src]) that the extras category -- where the user's
red-square screenshot was taken -- now serves the real photo paths.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 17:00:45 +03:00
..
api Correct support mailbox to support@caterium.ru (#42) 2026-09-21 11:04:06 +03:00
catalog Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
core feat: add photos for the 34 training-catalog items that had none 2026-09-22 17:00:45 +03:00
demo feat: add photos for the 34 training-catalog items that had none 2026-09-22 17:00:45 +03:00
fonts Restore distinct proposal designs and improve PDF typography and pagination 2026-09-18 04:05:36 +03:00
help Remove device PIN and fit calendar to mobile screens 2026-09-18 20:43:09 +03:00
legacy Optional per-profile training catalog with reversible example visibility (#35) 2026-09-20 12:18:40 +03:00
offer-gallery Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
offer-templates Refine six client proposal layouts and transparent company logos 2026-09-18 19:55:04 +03:00
vendor Route cloud access through Caterium and vendor login SDK 2026-09-18 19:07:47 +03:00
.htaccess Cache optimized trial photos for legacy URLs in the installed app 2026-09-18 04:59:16 +03:00
app-runtime.js Fix order deletion, line removal and Telegram provenance in documents 2026-09-22 16:05:38 +08:00
caterium-login-logo.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
caterium-mark-light.svg feat: add approved Caterium mark for light login 2026-09-12 05:56:39 +03:00
index.html feat: add photos for the 34 training-catalog items that had none 2026-09-22 17:00:45 +03:00
manifest.webmanifest brand: update PWA identity to Caterium 2026-09-11 10:03:25 +03:00
pwa-icon-192.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
pwa-icon-512.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
refresh-login-20260912.html fix: add one-click PWA cache refresh for login 2026-09-12 08:27:31 +03:00
service-worker.js feat: add photos for the 34 training-catalog items that had none 2026-09-22 17:00:45 +03:00
sun-logo.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00