Skip to content

Fix #468: reset multi-repo state when reopening new session dialog#470

Draft
asheshgoplani wants to merge 1 commit intomainfrom
fix/468-multirepo-uncheck
Draft

Fix #468: reset multi-repo state when reopening new session dialog#470
asheshgoplani wants to merge 1 commit intomainfrom
fix/468-multirepo-uncheck

Conversation

@asheshgoplani
Copy link
Copy Markdown
Owner

Summary

  • ShowInGroup() was missing multi-repo field resets (multiRepoEnabled, multiRepoPaths, multiRepoPathCursor, multiRepoEditing), causing multi-repo mode to persist across dialog reopens
  • Fixed checkbox focus indicator to show as focused when multi-repo is enabled, making the space-to-uncheck discoverable

Test plan

  • New test TestNewDialog_ShowInGroup_ResetsMultiRepo verifies all 4 fields are reset
  • All existing newdialog tests pass
  • Build and vet pass clean

Fixes #468

ShowInGroup() was missing the multi-repo field resets that other
ephemeral fields (worktree, sandbox) already had. Once multi-repo
mode was enabled, closing and reopening the dialog kept it checked
with no visual way to uncheck it.

Also fix the checkbox focus indicator so it shows as focused when
multi-repo is enabled, making the space-to-uncheck action discoverable.

Fixes #468

Committed by Ashesh Goplani
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.

Uncheck the multi-repo mode

1 participant