caterium-app/public/core
pavlov346346-source 7446a551f6 fix: allow premium-dark/premium-emerald in template id whitelists
Two separate Set-based whitelists (OFFER_TEMPLATE_IDS in app-runtime.js
and TEMPLATE_IDS in ux-fixes-v1764.js) validated any explicit template
selection before persisting/rendering it, but neither had been updated
when premium-dark/premium-emerald were added. The per-order "Оформление
PDF" picker's click handler calls persistOfferTemplate(), which silently
returned false when the id failed this check -- so clicking either
premium card in an order's offer modal did nothing, no error, no toast.
Verified end-to-end against a real order: both ids now persist and the
picker shows the selected state correctly.

Also bumped performance.js's internal RELEASE tag, since it gates the
cache-busting query string used to dynamically load ux-fixes-v1764.js
and eight other core modules -- otherwise this fix would hit the same
stale-cache issue just fixed in index.html.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 13:46:15 +03:00
..
account-center-v1780.js fix: expose manager account and password controls 2026-09-12 10:10:25 +03:00
auth-security-v1774.js fix: fall back to direct Supabase auth on proxy 500 2026-09-14 17:26:32 +03:00
classic-offer-pdf-v1767.js Caterium v17.6.7 — restore classic client proposal PDFs 2026-09-08 07:29:40 +03:00
data-layer-v1773.js perf: stop recomputing the full client list per client on bulk push 2026-09-12 14:08:57 +03:00
developer-console-v1768.js Caterium v17.6.8 — Developer Console UX and error fixes 2026-09-08 07:58:54 +03:00
hotfix-v1763.js Caterium v17.6.5 stability hardening 2026-09-08 05:55:48 +03:00
login-signature-v1776.js fix: use approved Caterium logo on cream login 2026-09-12 05:57:35 +03:00
offer-workspace-v1769.js Caterium v17.6.9 — offer PDF workspace and gallery uploads 2026-09-08 08:21:11 +03:00
ops-ux-v1762.js fix: stop the menu-editor button-patch interval once it succeeds 2026-09-12 14:09:06 +03:00
order-enhancements-v1775.js feat: load Caterium Signature login screen 2026-09-11 19:19:12 +03:00
pdf-engine.js Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
performance.js fix: allow premium-dark/premium-emerald in template id whitelists 2026-09-16 13:46:15 +03:00
server-automation-v1770.js Caterium v17.7.0 — architecture foundation 2026-09-08 13:24:34 +03:00
signature-offer-pdf-v18.js feat: add visual heading to midnight-checklist menu section 2026-09-16 13:36:09 +03:00
stability-v1760.css Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
sun-safe.js feat: load Caterium account center 2026-09-12 08:48:57 +03:00
trial-promo-developer-v181.js feat: add trial promo management to developer console 2026-09-13 18:44:18 +03:00
ux-fixes-v1764.js fix: allow premium-dark/premium-emerald in template id whitelists 2026-09-16 13:46:15 +03:00