Files
bonaminandClaude Opus 5.5 f31bdf42aa feat: printing problems shown and handled; printing set-up on v2 (platform-v2 step 6.10)
- a ticket that doesn't print is a problem for whoever sent it and the managers:
  GET /api/print-problems (the order, table, dishes, printer, since when, tries,
  last error, who sent it) and three ways out: print again, send to another
  printer, handled (services/print_problems.py; print_jobs.resolved_by /
  redirected_to, Alembic 0036); live event print.problems from the print paths
- phone: the red printer button opens the problems sheet, the table page warns
  (usePrintProblems replaces the 8 s poll); counter POS: a red button under the
  modes with the shared panel (@xenia/ordering PrintProblemsPanel + pure rules);
  manager: a card on the overview (top), the Tables page and the order page
- manager: Settings -> Printing (printers with reachability, test print, network
  scan; ticket layout + test ticket, beep, fonts with previews, dot leader,
  dividers) and Management -> Prep zones (cards + zone dialog with the ticket
  language, printers, copies, sorting, category order, kitchen screen) rebuilt in
  src/pages/printing; v1 PrintFontsTab, PrepZonesConfigPage, PendingPrints and
  /api/orders/pending-prints removed
- access: printer add/edit/delete/scan need core.settings.manage, prep zone
  changes catalog.menu.manage (were any dashboard user)
- tests: test_print_problems.py, @xenia/ordering printProblems, manager
  printing.test.mjs, e2e print_problems.mjs (done-when) + manager.mjs printing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 01:40:07 +02:00

52 lines
1.5 KiB
JSON

{
"name": "waiter_pwa",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview",
"build:native": "vite build --mode native && cap sync android",
"apk:debug": "npm run build:native && node scripts/build-apk.mjs debug",
"apk:release": "npm run build:native && node scripts/build-apk.mjs release",
"test": "node --test \"tests/*.test.mjs\""
},
"dependencies": {
"@capacitor/android": "8.6.2",
"@capacitor/app": "8.1.2",
"@capacitor/core": "8.6.2",
"@capgo/capacitor-updater": "8.54.2",
"@tanstack/react-query": "^5.107.1",
"@xenia/access": "^0.0.0",
"@xenia/api": "^0.0.0",
"@xenia/floorplan": "^0.0.0",
"@xenia/i18n": "^0.0.0",
"@xenia/ordering": "^0.0.0",
"@xenia/ui": "^0.0.0",
"axios": "^1.21.1",
"dexie": "^4.4.7",
"qr-scanner": "^1.4.2",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-router-dom": "^7.18.5",
"vite-plugin-pwa": "^2.0.0",
"workbox-window": "^7.4.1",
"zustand": "^5.1.0"
},
"devDependencies": {
"@capacitor/cli": "8.6.2",
"@eslint/js": "^9.39.5",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.3.0",
"eslint": "^9.39.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"fflate": "^0.8.3",
"globals": "^17.14.0",
"vite": "^8.3.8"
}
}