teecup/frontend/components
Erol Haagenrud 4b9d93941e Stableford is now a real spilleform for frittstående runder, alongside Slagspill/Match: selectable at round creation, editable afterward, shown as a badge everywhere the round appears.
"Plukket opp" — a new button in the scoring wizard's Slag step (only for Slagspill/Stableford, when handicap is known). Tapping it auto-hops forward just like picking a stroke count, and the server writes the exact Net Double Bogey score (par+2+mottatte slag) — so it flows through the existing HCP/AGS pipeline unchanged, always nets to exactly 0 Stableford points. Shown everywhere as a "PU" badge instead of a raw number: scorekortet, leaderboardet, "Så langt i runden".

Along the way, browser testing caught two real bugs (not just theoretical): the new-round form briefly showed a nonsensical "set up sides" notice under Stableford, and — more seriously — the match/skins territory-bar panel was rendering empty "Side A/Side B" bars on a Stableford round. Both traced to the same root cause (=== "stroke" checks that needed to also exclude the new format), and a full grep caught three more of the same pattern in watch-round.tsx before they could reach production.

Everything verified in scratch (hand-calculated math matched exactly) and in the browser (all four display surfaces, plus a regression check on an existing match round). Migration 038 applied to the real database, both containers redeployed, teeoff.no unaffected.
2026-07-29 19:46:17 +02:00
..
ui Program-skjermen er bygget og grundig scratch-verifisert. Kort oppsummert: 2026-07-18 12:20:45 +02:00
account-settings.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
course-rounds.tsx Rundeboksen på dashboardet (og på "Egne runder"/"Spilte baner"): 2026-07-29 15:46:49 +02:00
dashboard.tsx Rundeboksen på dashboardet (og på "Egne runder"/"Spilte baner"): 2026-07-29 15:46:49 +02:00
flight-group-leaderboard.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
friend-profile.tsx Stableford is now a real spilleform for frittstående runder, alongside Slagspill/Match: selectable at round creation, editable afterward, shown as a badge everywhere the round appears. 2026-07-29 19:46:17 +02:00
friends.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
install-prompt.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
login-form.tsx Update Todos 2026-07-19 10:36:50 +02:00
new-round.tsx Stableford is now a real spilleform for frittstående runder, alongside Slagspill/Match: selectable at round creation, editable afterward, shown as a badge everywhere the round appears. 2026-07-29 19:46:17 +02:00
notifications.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
org-members.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
own-rounds.tsx Rundeboksen på dashboardet (og på "Egne runder"/"Spilte baner"): 2026-07-29 15:46:49 +02:00
public-club.tsx Klubb-landingssiden er live på https://teecup.teeoff.no/clubs/{slug} — dermed er ADR-018 sine to planlagte frontend-skjermer komplette. 2026-07-18 10:48:20 +02:00
public-live.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
public-tournament.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
round-card.tsx Rundeboksen på dashboardet (og på "Egne runder"/"Spilte baner"): 2026-07-29 15:46:49 +02:00
round-detail.tsx Stableford is now a real spilleform for frittstående runder, alongside Slagspill/Match: selectable at round creation, editable afterward, shown as a badge everywhere the round appears. 2026-07-29 19:46:17 +02:00
round-leaderboard.tsx Stableford is now a real spilleform for frittstående runder, alongside Slagspill/Match: selectable at round creation, editable afterward, shown as a badge everywhere the round appears. 2026-07-29 19:46:17 +02:00
round-scorecard.tsx Stableford is now a real spilleform for frittstående runder, alongside Slagspill/Match: selectable at round creation, editable afterward, shown as a badge everywhere the round appears. 2026-07-29 19:46:17 +02:00
round-stats.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
rounds-stats-summary.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
session-blind-draw.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
session-individual-leaderboard.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
session-scorecard.tsx Deployed and documented. Summary of what changed: 2026-07-29 16:26:31 +02:00
sw-register.tsx Update Todos 2026-07-28 22:34:16 +02:00
team-chat.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
tournament-card.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
tournament-detail.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
tournament-leaderboard.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
tournament-program.tsx Etter første inngripen av Gemini 2026-07-29 12:44:51 +02:00
tournament-status-badge.tsx Update Todos 2026-07-19 21:51:05 +02:00
two-factor-flow.tsx Update Todos 2026-07-19 10:36:50 +02:00
verify-email-form.tsx Update Todos 2026-07-22 06:14:31 +02:00
verify-form.tsx Update Todos 2026-07-19 10:36:50 +02:00
watch-round.tsx Stableford is now a real spilleform for frittstående runder, alongside Slagspill/Match: selectable at round creation, editable afterward, shown as a badge everywhere the round appears. 2026-07-29 19:46:17 +02:00
wordmark.tsx Bygget: 2026-07-18 06:46:09 +02:00