Feature: Registration type selector (tryout $30 / remote eval $40) #165

Closed
opened 2026-03-28 23:12:59 +00:00 by forgejo_admin · 0 comments
Contributor

Type

Feature

Lineage

Frontend companion to basketball-api registration type feature.

Repo

forgejo_admin/westside-landing

User Story

As a remote player/parent
I want to indicate that I won't attend an in-person tryout
So that the program knows to evaluate me remotely and charges the correct fee

Context

The registration form currently hardcodes "$30 tryout fee." Remote/international players who can't attend tryouts need to indicate this and pay $40 instead. The selector goes before the payment section so the price updates dynamically.

File Targets

Files to modify:

  • src/routes/(app)/register/+page.svelte — add registration type radio buttons, dynamic price display, include in payload

Acceptance Criteria

  • Registration type selector appears before Step 4 (Payment)
  • Two options: "Tryout Registration ($30)" and "Remote Evaluation ($40)"
  • Default: Tryout Registration
  • Price display in Step 4 updates based on selection ($30 or $40)
  • "Pay Online" button text shows correct amount
  • registration_type field included in form payload
  • Mobile-friendly radio buttons

Test Expectations

  • Visual: both options render, default selected
  • Price text updates when toggling
  • Payload includes registration_type

Constraints

  • Use existing payment-option radio button styling
  • Match the visual weight of the payment method selector
  • Depends on basketball-api registration type feature being deployed

Checklist

  • PR opened
  • No unrelated changes
  • project-westside-basketball
  • forgejo_admin/basketball-api — API companion (must deploy first)
### Type Feature ### Lineage Frontend companion to basketball-api registration type feature. ### Repo `forgejo_admin/westside-landing` ### User Story As a remote player/parent I want to indicate that I won't attend an in-person tryout So that the program knows to evaluate me remotely and charges the correct fee ### Context The registration form currently hardcodes "$30 tryout fee." Remote/international players who can't attend tryouts need to indicate this and pay $40 instead. The selector goes before the payment section so the price updates dynamically. ### File Targets Files to modify: - `src/routes/(app)/register/+page.svelte` — add registration type radio buttons, dynamic price display, include in payload ### Acceptance Criteria - [ ] Registration type selector appears before Step 4 (Payment) - [ ] Two options: "Tryout Registration ($30)" and "Remote Evaluation ($40)" - [ ] Default: Tryout Registration - [ ] Price display in Step 4 updates based on selection ($30 or $40) - [ ] "Pay Online" button text shows correct amount - [ ] `registration_type` field included in form payload - [ ] Mobile-friendly radio buttons ### Test Expectations - [ ] Visual: both options render, default selected - [ ] Price text updates when toggling - [ ] Payload includes registration_type ### Constraints - Use existing `payment-option` radio button styling - Match the visual weight of the payment method selector - Depends on basketball-api registration type feature being deployed ### Checklist - [ ] PR opened - [ ] No unrelated changes ### Related - `project-westside-basketball` - `forgejo_admin/basketball-api` — API companion (must deploy first)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/westside-app#165
No description provided.