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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user