SPA_AfterTemperRejection/dist/index.html
Erik 07c6789e03 fix(spa): reconnect spinner on connection loss, no demo data in prod
On a failed fetch the store keeps the last real payload (stale > fake) and
flags `disconnected` instead of falling back to bundled demo carts — an
operator must never book a reject against a fabricated entry. Sample data and
sample reason codes are gated behind import.meta.env.DEV, so `vite build`
tree-shakes them out entirely (verified: no sample strings in dist).

- cold start / no data: centered reconnect spinner that keeps retrying
- data present + drop: stale carts stay, header shows amber "reconnecting"
- reasons no longer seed sample codes in production
- polling retries faster (5s) while disconnected, recovers automatically

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 09:20:34 +02:00

19 lines
738 B
HTML

<!doctype html>
<!--
Dark-first (class="dark"). data-density="touch": this is a shop-floor TOUCH
terminal (operators book rejects with a finger), so controls use the 56px
touch sizing from @sp-ui-kit tokens — unlike the view-only overview board.
-->
<html lang="de" class="dark" data-density="touch">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ausschuss-Station</title>
<script type="module" crossorigin src="/module/temper_rejects/assets/index-CjCewD1P.js"></script>
<link rel="stylesheet" crossorigin href="/module/temper_rejects/assets/index-CU7fLO-K.css">
</head>
<body>
<div id="app"></div>
</body>
</html>