wutzcalc/client/src/admin
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
..
Admin.tsx client: show build version + browser diagnostics for bug triage 2026-08-03 15:33:17 +02:00
main.tsx tablet: split price/pfand, light mode, bigger bold text 2026-06-14 21:57:52 +02:00