Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChooseProjectButton: Deactivate all project rows before selecting new active project #1414

Merged
merged 7 commits into from
Jan 24, 2024

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jan 23, 2024

Fixes #1413

Although the list box is in SINGLE selection mode, the radio buttons in the project rows are not affected by this so have to be explicitly unchecked when a new active project is chosen.

This PR makes the GitManager the source of truth regarding the active_project_path. Some public access is removed. It also simplifies the ProjectRows and makes sure they remain grouped even when projects are removed and are re-added.

@jeremypw jeremypw requested a review from a team January 23, 2024 11:37
@colinkiama
Copy link
Sponsor Member

I can still produce the issue:
Screenshot from 2024-01-24 09 47 28

@jeremypw
Copy link
Collaborator Author

That's weird - I was sure it was fixed but now it isnt 😞

@jeremypw
Copy link
Collaborator Author

This proving trickier than expected to fix in all circumstances so I'm going to convert to draft after have a deeper rethink.

@jeremypw jeremypw marked this pull request as draft January 24, 2024 13:21
@jeremypw jeremypw marked this pull request as ready for review January 24, 2024 15:14
@jeremypw
Copy link
Collaborator Author

@colinkiama Hopefully fixed now!

Copy link
Sponsor Member

@colinkiama colinkiama left a comment

Choose a reason for hiding this comment

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

All good now!

@colinkiama colinkiama merged commit 753a3c5 into master Jan 24, 2024
6 checks passed
@colinkiama colinkiama deleted the jeremypw/projectchooser-deselect-inactive branch January 24, 2024 20:10
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.

ProjectChooser: More than one active project selected under some circumstances
2 participants