fix(wizard): improve UX with step reordering and UI polish

- Reorder wizard steps: dates before sports (enables availability check)
- Add contentShape(Rectangle()) for full tap targets on all cards
- Fix route preference showing preselected value
- Fix sport cards having inconsistent heights
- Speed up step reveal animation (0.3s → 0.15s)
- Add debounced scroll delay to avoid interrupting selection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-01-12 21:13:45 -06:00
parent 8a958a0f7e
commit 94bb68d431
9 changed files with 348 additions and 162 deletions

View File

@@ -62,16 +62,16 @@ final class TripWizardViewModel {
var isPlanningModeStepVisible: Bool { true }
var isSportsStepVisible: Bool {
var isDatesStepVisible: Bool {
planningMode != nil
}
var isDatesStepVisible: Bool {
isSportsStepVisible && !selectedSports.isEmpty
var isSportsStepVisible: Bool {
isDatesStepVisible && hasSetDates
}
var isRegionsStepVisible: Bool {
isDatesStepVisible && hasSetDates
isSportsStepVisible && !selectedSports.isEmpty
}
var isRoutePreferenceStepVisible: Bool {