Skip to content

Commit 55f6a46

Browse files
authored
ui: move Skip Setup button to bottom-left navigation bar (#59)
- Welcome step: prominent 'Skip Setup' button (gray, same style as Back) - Other steps: subtle 'Skip' text link next to Back button - Hidden on completion step - Removed from top step indicator bar where it was barely visible
1 parent c1278a5 commit 55f6a46

1 file changed

Lines changed: 23 additions & 9 deletions

File tree

Sources/VocaMac/Views/OnboardingView.swift

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@ struct OnboardingView: View {
5353
.font(.caption)
5454
.foregroundStyle(.secondary)
5555
Spacer()
56-
if currentStep != .complete {
57-
Button(action: skipOnboarding) {
58-
Text("Skip setup")
59-
.font(.caption)
60-
.foregroundStyle(.secondary)
61-
}
62-
.buttonStyle(.plain)
63-
.help("Skip setup and don't show again. You can re-run it from Settings or Menu Bar → Setup Wizard.")
64-
}
6556
HStack(spacing: 4) {
6657
ForEach(OnboardingStep.allCases, id: \.self) { step in
6758
Circle()
@@ -97,6 +88,29 @@ struct OnboardingView: View {
9788

9889
// Navigation buttons
9990
HStack(spacing: 12) {
91+
if currentStep == .welcome {
92+
Button(action: skipOnboarding) {
93+
Text("Skip Setup")
94+
.font(.body)
95+
.padding(.horizontal, 16)
96+
.padding(.vertical, 8)
97+
.background(Color.gray.opacity(0.2))
98+
.foregroundStyle(.primary)
99+
.cornerRadius(8)
100+
}
101+
.buttonStyle(.plain)
102+
.help("Skip setup and don't show again. You can re-run it from Menu Bar → Setup Wizard.")
103+
} else if currentStep != .complete {
104+
Button(action: skipOnboarding) {
105+
Text("Skip")
106+
.font(.body)
107+
.padding(.horizontal, 16)
108+
.padding(.vertical, 8)
109+
}
110+
.buttonStyle(.plain)
111+
.foregroundStyle(.secondary)
112+
.help("Skip setup and don't show again.")
113+
}
100114
if currentStep != .welcome {
101115
Button(action: goToPreviousStep) {
102116
Text("Back")

0 commit comments

Comments
 (0)