diff --git a/clients/macos/vellum-assistant/Features/MainWindow/MainWindow.swift b/clients/macos/vellum-assistant/Features/MainWindow/MainWindow.swift index 9cebb2aaef2..6698a61352e 100644 --- a/clients/macos/vellum-assistant/Features/MainWindow/MainWindow.swift +++ b/clients/macos/vellum-assistant/Features/MainWindow/MainWindow.swift @@ -107,7 +107,7 @@ final class MainWindow { window.titlebarAppearsTransparent = true window.backgroundColor = NSColor(VColor.background) window.isReleasedWhenClosed = false - window.contentMinSize = NSSize(width: 500, height: 400) + window.contentMinSize = NSSize(width: 800, height: 600) window.setFrame(windowRect, display: false) window.setFrameAutosaveName("MainWindow") diff --git a/clients/macos/vellum-assistant/Features/MainWindow/MainWindowView.swift b/clients/macos/vellum-assistant/Features/MainWindow/MainWindowView.swift index 7d8d080fbff..d71ecebcb95 100644 --- a/clients/macos/vellum-assistant/Features/MainWindow/MainWindowView.swift +++ b/clients/macos/vellum-assistant/Features/MainWindow/MainWindowView.swift @@ -563,6 +563,12 @@ struct MainWindowView: View { ) case .doctor: DoctorPanel(onClose: { windowState.activePanel = nil }) + case .generated: + // Generated panel is handled inline in chatContentView when expanded; + // if we reach here, isDynamicExpanded is false — clear activePanel so + // the user falls back to the chat view instead of seeing a blank screen. + Color.clear.frame(width: 0, height: 0) + .onAppear { windowState.activePanel = nil } default: EmptyView() } diff --git a/clients/macos/vellum-assistant/Features/Onboarding/OnboardingState.swift b/clients/macos/vellum-assistant/Features/Onboarding/OnboardingState.swift index 8adf9f526e5..9f25bd8a51d 100644 --- a/clients/macos/vellum-assistant/Features/Onboarding/OnboardingState.swift +++ b/clients/macos/vellum-assistant/Features/Onboarding/OnboardingState.swift @@ -24,7 +24,7 @@ enum ActivationKey: String, CaseIterable { final class OnboardingState { /// Bump this version whenever the default-flow step order changes so that /// persisted step indices from a previous layout are not consumed as-is. - private static let currentFlowVersion = 2 + private static let currentFlowVersion = 3 var currentStep: Int = 0 var assistantName: String = "Velly"