wutzcalc/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 0ae25ecab7 client: fall back to touch events for long-press (Pointer Events not on old WebKit)
Fixes half of #70 - the long-tap/count-picker interaction.

Pointer Events (onPointerDown/Up/Cancel) only shipped in Safari 13/iOS
13. The same class of old-enough-WebKit kiosk device #66/#68 are
already about doesn't fire them at all, so the long-press timer never
starts there even though plain clicks (universally supported) keep
working - which matches the report exactly: add-one-by-tapping works
on the tablet, the long-press count picker doesn't, and both work fine
on a laptop's modern browser.

Added onTouchStart/onTouchEnd/onTouchCancel alongside the existing
pointer handlers, wired to the same start/cancel functions - safe on
browsers that fire both pointer and touch events for one touch, since
starting/cancelling the timer is already idempotent.

Not touching the second half of the report (negative amounts for
cart-only drinks) - genuinely ambiguous relayed text with several
plausible readings that imply different UI, asked mara for
clarification on the issue instead of guessing.

pnpm --filter client typecheck and build both clean.
2026-08-03 16:35:26 +02:00
..
public add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
src client: fall back to touch events for long-press (Pointer Events not on old WebKit) 2026-08-03 16:35:26 +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 client: standalone /stats page with charts, off the admin dashboard 2026-07-30 11:40:34 +02:00
stats.html client: standalone /stats page with charts, off the admin dashboard 2026-07-30 11:40:34 +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 client: show build version + browser diagnostics for bug triage 2026-08-03 15:33:17 +02:00