Remove cash payment option from registration form #224
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/westside-app!224
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "223-remove-cash-registration-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Remove the cash payment option from the public registration form. Cash remains valid in the API and admin UI (Mark Paid button on player profile). This is a UI-only change.
Changes
src/routes/(app)/register/+page.svelte— removed cash radio button, cash conditional note, and cash submit text variantsrc/app.css— removed unused.cash-noteand.info-value-cashCSS rulesTest Plan
Review Checklist
Related Notes
Related
Closes #223
QA Review -- PR #224
Scope Check
players/[id]/+page.svelteconfirmed untouchedDiff Review (2 files, 0 additions, 11 deletions)
src/routes/(app)/register/+page.svelte
getSubmitText()src/app.css
.cash-noterule removed (line 2106).info-value-cashrule removed (lines 3584-3586)Residual Reference Check
grep -i cashon registration page returns zero matchesgrep -i cashon app.css returns zero matchesFindings
No issues found. Pure deletion PR, surgically scoped. All removed lines match the issue spec exactly.
VERDICT: APPROVED
PR #224 Review
DOMAIN REVIEW
Stack: SvelteKit (Svelte 5 runes), CSS
This is a deletion-only PR (0 additions, 11 deletions) that removes the cash payment option from the public registration form. The change is well-scoped:
src/routes/(app)/register/+page.svelte): Removes the cash radio button, the conditional cash-note{#if}block, and thegetSubmitText()cash branch. After the PR, only'card'and'promo'options remain. The defaultpaymentMethod = $state('card')is unchanged, so no dead code path can be reached.src/app.css): Removes.cash-noteand.info-value-cashrules. Verified neither class is referenced anywhere else insrc/-- both are dead CSS after the template removal.src/routes/(app)/players/[id]/+page.svelte:647is not in the diff. Cash remains a valid admin action.payment_method: paymentMethodat line 129 still sends whatever is selected. Since'cash'can no longer be selected, it will never be sent. No API contract change needed.No accessibility, performance, or UX concerns -- this is purely removing an option, not adding or restructuring UI.
BLOCKERS
None.
This is a deletion-only change with no new functionality, so the "new functionality must have tests" blocker criterion does not apply. No user input paths added, no secrets, no DRY issues.
NITS
None. Clean removal with no orphaned code.
SOP COMPLIANCE
223-remove-cash-registration-uifollows{issue-number}-{kebab-case-purpose}Closes #223PROCESS OBSERVATIONS
Low-risk, well-scoped UI change. Two files, all deletions. Change failure risk is minimal -- the only risk would be if some JS path still tried to set
paymentMethodto'cash', but no such code exists. Deployment frequency positive (small, independent change).VERDICT: APPROVED