teecup/frontend
Erol Haagenrud 99b71ab97b All shipped, tested, and browser-verified. Summary of this round:
GIR question answered, not a gap: score − putts ≤ par − 2 is already the general formula, already ported to the new endpoint — it's not case-by-case, it works for every combination. The one real limit: it needs putts, so strokes_only rounds can't get a reliable GIR (score alone almost never proves it — a chipped-in birdie and a real GIR+1-putt look identical).

Miss direction — added fairway left/right and green long/short/left/right as pooled distribution bars on the aggregate stats page, using the same fields the per-round page already tracks.

Time-window picker — Siste runde / 5 / 10 / Denne måneden / I år / Siste år / Alltid, filters the whole page.

"vs. forrige periode" deltas — added, per your ask. One rule for every window type: "previous" = the same length (rounds or days) immediately before the current window's start, so there's no special-casing per calendar type. Colored by direction (green = improvement, orange = worse) except on the miss-direction numbers, which have no "better" side.

Verified with standalone logic tests against hand-computed scenarios, a full app import check, a clean typecheck, and live in the browser (clicked through windows, confirmed real numbers and a correct empty-previous case since your account only has 2 completed rounds so far).
2026-07-28 07:43:47 +02:00
..
app All done and verified live in the browser. Summary of this round: 2026-07-28 07:04:56 +02:00
components All shipped, tested, and browser-verified. Summary of this round: 2026-07-28 07:43:47 +02:00
lib PWA er bygget og scratch/build-verifisert. Status: 2026-07-19 23:51:08 +02:00
public PWA er bygget og scratch/build-verifisert. Status: 2026-07-19 23:51:08 +02:00
.dockerignore Alt rent, ingen byggeartefakter liggende igjen, dokumentasjonen oppdatert. Oppsummering: 2026-07-17 22:28:43 +02:00
.gitignore Før grafikk 2026-07-17 21:57:44 +02:00
components.json Før kommunikasjon med V0 2026-07-17 21:40:42 +02:00
Dockerfile ADR-018 er nå helt ferdig — backend, begge frontend-skjermer, og nå Open Graph-metadata, alt live samme dag. Oppsummert: 2026-07-18 10:58:36 +02:00
next.config.mjs Varsler (fra zip 20): in-app varslingssenter er live — bjelle med uleste-tall i dashbord-headeren, /my-notifications-side. Trigges i dag ved venneforespørsel sendt/akseptert; flere hendelser kan kobles på senere. 2026-07-26 06:53:58 +02:00
package.json Alt rent, ingen byggeartefakter liggende igjen, dokumentasjonen oppdatert. Oppsummering: 2026-07-17 22:28:43 +02:00
pnpm-lock.yaml Før grafikk 2026-07-17 21:57:44 +02:00
postcss.config.mjs Før kommunikasjon med V0 2026-07-17 21:40:42 +02:00
tsconfig.json Før kommunikasjon med V0 2026-07-17 21:40:42 +02:00