feat(terminal): older TVs get a legacy build with a compatibility layer; modern output unchanged
- @vitejs/plugin-legacy: browsers without import.meta.resolve (older than Chrome 105 / Firefox 106 / Safari 16.4) load a second copy built for Chrome 79 / Firefox 78 / Safari 13 with polyfills. The modern targets and the stylesheet stay on Vite's own defaults, so modern chunks are byte-identical to before (only plugin-legacy's 230-byte guard in the entry). - terminal/src/compat.js (legacy copy only): swaps in <name>.compat.css (lightningcss for the older targets), sets container-size variables for signage slides, emulates flex gap. - @xenia/signage cq()/CQ_BOX: container units as before where supported, calc(var()) fallback otherwise; EmbeddedSlide no longer uses inline `inset`. - Shared Notice (@xenia/ui); "Devices that work" in Pair a device and Signage -> Screens (EN/EL). - tests/e2e/compat.mjs: modern browser loads nothing extra; a simulated older TV runs the legacy copy and the layer, pairs, and plays a slide at the same sizes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -234,7 +234,16 @@
|
||||
"removeTitle": "Remove {{name}}?",
|
||||
"removeBody": "It stops at once and shows the pairing screen. To use it again, pair it again.",
|
||||
"changeAppBody": "Whoever is signed in on it is signed out.",
|
||||
"limitReached": "{{label}}: the license allows {{max}}. Remove one or ask for a bigger license."
|
||||
"limitReached": "{{label}}: the license allows {{max}}. Remove one or ask for a bigger license.",
|
||||
"support": {
|
||||
"title": "Devices that work",
|
||||
"bestLabel": "Best:",
|
||||
"best": "Chrome or Edge 111, Firefox 114, Safari 16.4 or newer: phones, tablets and computers that are up to date, Android TV boxes, most TVs from 2024 on. Everything runs at full speed.",
|
||||
"compatLabel": "Works, with a compatibility layer:",
|
||||
"compat": "Chrome 79, Firefox 78, Safari 13 or newer, e.g. the built-in browser of LG and Samsung TVs from 2021 to 2023. Made for screens with signage: it may load and play more slowly. For tills, kitchen screens and menu tablets use a newer device.",
|
||||
"oldLabel": "Too old:",
|
||||
"old": "anything older (e.g. LG TVs from 2020 or before) shows a blank page. Plug an Android TV box or stick into the TV (any recent one is fine) and open the address there."
|
||||
}
|
||||
},
|
||||
"roles": {
|
||||
"superadmin": "Superadmin",
|
||||
|
||||
Reference in New Issue
Block a user