Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down