Skip to content

Conversation

@lizlooney
Copy link
Collaborator

Modified handleDeleteProject to select the next project after deleteProject has finished.

Fixes #316

@lizlooney
Copy link
Collaborator Author

I created this as a draft PR because I'm not sure that we should select another project and exit the dialog when the user deletes a project. What if they delete a project that isn't even the current project? What if they want to delete several project?
Let's talk about this on Monday.

…rent project is the one being

deleted. Also keep the dialog up after deleting a project.

Renamed project to currentProject and setProject to setCurrentProject in MenuProps.
Renamed project to currentProject and setProject to setCurrentProject in ProjectManageModalProps.
Added "Project Management" to i18n.
@lizlooney lizlooney marked this pull request as ready for review November 25, 2025 05:10
Copy link
Collaborator

@alan412 alan412 left a comment

Choose a reason for hiding this comment

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

LGTM

@alan412 alan412 merged commit c5f15ff into wpilibsuite:main Nov 25, 2025
1 check passed
@lizlooney lizlooney deleted the pr_issue_316 branch November 25, 2025 18:54
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.

Deleting the current project makes the whole window go white

2 participants