Skip to content

fix: address PR #2957 feedback (panel, window min, flow version)#2961

Merged
AnitaKirkovska merged 1 commit into
mainfrom
fix/pr-2957-feedback
Feb 16, 2026
Merged

fix: address PR #2957 feedback (panel, window min, flow version)#2961
AnitaKirkovska merged 1 commit into
mainfrom
fix/pr-2957-feedback

Conversation

@AnitaKirkovska
Copy link
Copy Markdown
Contributor

@AnitaKirkovska AnitaKirkovska commented Feb 16, 2026

Summary

Fixes review feedback from PR #2957:

  • Generated panel handling: Clear activePanel when .generated is routed to fullWindowPanel but isDynamicExpanded is false, preventing the main content area from going blank with no path back to chat.
  • Window minimum size: Align NSWindow contentMinSize (was 500x400) with MainWindowView's .frame(minWidth: 800, minHeight: 600) constraint, preventing content clipping when users resize the window below the SwiftUI minimum.
  • Flow version bump: Bump currentFlowVersion from 2 to 3 so users mid-onboarding on the old 8-step flow get properly reset to step 0 via the version migration mechanism.

Test plan

  • Verify that collapsing the generated panel (setting isDynamicExpanded = false while activePanel == .generated) falls back to the chat view instead of showing a blank screen
  • Verify the window cannot be resized smaller than 800x600
  • Verify that a user with persisted onboarding step from the old flow (version 2) gets reset to step 0 on launch

🤖 Generated with Claude Code


Open with Devin

1. Handle collapsed generated panel: clear activePanel when .generated
   routes to fullWindowPanel but isDynamicExpanded is false, preventing
   a blank content area with no path back to chat.
2. Align window minimum size: update NSWindow contentMinSize from
   500x400 to 800x600 to match MainWindowView's .frame(minWidth:minHeight:)
   constraint, preventing content clipping at small sizes.
3. Bump currentFlowVersion to 3: ensures users mid-onboarding on the
   old 8-step flow get properly reset to step 0 via the version
   migration mechanism.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant