caterium-app/public
pavlov346346-source 14e3d6b45b fix: merge addon pills into one card, wire it to editable Settings
Two related fixes reported directly against live screenshots:

1. addonRow rendered each addon ("Напитки", "Чайная станция", ...) as
   its own tall bordered pill sitting side by side -- disjointed, and
   unlike the single-card "Полезные дополнения" treatment in the
   referenced design. Now draws one card with a heading
   ("Рекомендуем добавить") containing all the icon+label items,
   matching how checklistCard already works.

2. The addon list and the "Всё под контролем" checklist were hardcoded
   constants in the canvas module, completely bypassing the app's
   existing editable Client Offer Settings (Настройки → Предложение →
   "Дополнительно к заказу", textarea-backed extraServices/controlLines
   the user can already edit for the old templates). preparedSnapshot
   now attaches the resolved controlLines/extraServices/titles onto
   every snapshot; the 8 signature templates read them via a local
   shadowing const (falls back to the previous defaults when nothing
   is configured), so editing that Settings textarea now actually
   changes what shows up in these templates too, on all 8 of them from
   one change since addonRow/checklistCard are shared helpers.

Verified locally: default list (6 items) lays out cleanly in one card
with 2-line wrapping where needed; a snapshot with custom
controlLines/extraServices renders those exact custom strings instead
of the defaults, confirming the wiring actually works end to end and
isn't just falling back silently.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 11:28:18 +03:00
..
catalog Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
core fix: merge addon pills into one card, wire it to editable Settings 2026-09-16 11:28:18 +03:00
legacy Caterium v17.7.3 — clients server read 2026-09-09 12:07:37 +03:00
offer-gallery Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
offer-templates Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
.htaccess fix: prevent stale auth shell on Timeweb 2026-09-12 08:12:11 +03:00
app-runtime.js fix: merge addon pills into one card, wire it to editable Settings 2026-09-16 11:28:18 +03: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 6 new client-offer PDF templates, archive the old 13 2026-09-15 18:27:23 +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 fix: align safe service worker with release cache guard 2026-09-14 17:10:16 +03:00
sun-logo.png Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00