feat(terminal): the menu tablet app (platform-v2 step 5.7a)

terminal/src/apps/menu-tablet: the venue's menu for staff (a quick price
check) and guests. Category chips that jump to their section, or one A–Z
list; compact rows, expanded rows (photo, description) or full cards; tap a
product to see it big (photo, price, description, tags); search that ignores
accents and also finds names typed in Latin letters ("souvl"); sold out
marked; the guest's language for the tablet's texts; back to the start (search
cleared, first language, top) after the set time without a touch; light or
dark; the last menu kept for offline; live on menu_tablet.changed /
device.updated. @xenia/i18n exports ./latin for plain-JS use.
tests: logic (3), e2e menu_tablet.mjs (10 checks, in run-all).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 23:44:42 +02:00
co-authored by Claude Opus 5.5
parent 2a6640fe5c
commit cc81e0a31f
11 changed files with 430 additions and 6 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
"main": "src/index.js",
"exports": {
".": "./src/index.js",
"./sample": "./sample/Sample.jsx"
"./sample": "./sample/Sample.jsx",
"./latin": "./src/latin.js"
},
"scripts": {
"test": "node --test \"tests/*.test.mjs\"",