wutzcalc/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 59f6041a16 admin: surface silent failures, guard against double-submit on add
- Drinks.add()/patch() now check res.ok and alert() the error text,
  matching the pattern every other mutator in this file already
  used (Drinks.del(), everything in Bars) — previously a rejected
  name/price change just re-fetched the (unchanged) list with no
  indication anything went wrong.
- Stats.reload(), Drinks.reload(), Bars.reload() now .catch() a
  failed fetch/non-ok response instead of leaving an unhandled
  promise rejection — a network hiccup used to leave the section
  stuck on 'Lade…' forever with no visible error.
- Drinks 'Hinzufügen' and Bars 'Bar hinzufügen' are now disabled
  while their POST is in flight, mirroring the submitting guard
  Sale.tsx already uses — a fast double-tap could otherwise fire two
  requests before the first reload() resolved.
2026-07-29 20:32:55 +02:00
..
public add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
src admin: surface silent failures, guard against double-submit on add 2026-07-29 20:32:55 +02:00
admin.html add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
index.html add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
package.json scaffold festival drink tracker (pnpm workspace, Fastify + SQLite, Preact tablet UI, admin) 2026-05-19 18:12:01 +02:00
tsconfig.json scaffold festival drink tracker (pnpm workspace, Fastify + SQLite, Preact tablet UI, admin) 2026-05-19 18:12:01 +02:00
vite.config.ts dev: make the client's dev-server proxy target configurable via WUTZ_SERVER_PORT 2026-07-29 20:06:38 +02:00