wutzcalc/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 09e1bec9bb client: show build version + browser diagnostics for bug triage
Fixes #68.

- Bar switcher and stats page get a low-contrast "wutzcalc <git-sha>"
  footer at the bottom (VersionFooter component, shared).
- Admin panel gets a fuller Diagnose section: version, user agent,
  screen resolution + device pixel ratio, viewport size, browser
  language.

Version is the short git commit sha, baked in at build time via
vite.config.ts define (falls back to "dev" if .git is unavailable at
build time, e.g. a tarball/CI-artifact deploy) - matches how deploys
actually run (pnpm build from a git checkout, per
deploy/wutzcalc.service), but stays defensive rather than failing the
build.

pnpm --filter client typecheck and build both clean.
2026-08-03 15:33:17 +02:00
..
public add svg favicon + toolbar logo; set theme before paint 2026-06-14 22:55:15 +02:00
src client: show build version + browser diagnostics for bug triage 2026-08-03 15:33:17 +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