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

Replace fi-sci modal with direct use of MUI component. #178

Merged
merged 3 commits into from
Jul 31, 2024
Merged

Conversation

jsoules
Copy link
Collaborator

@jsoules jsoules commented Jul 30, 2024

This PR removes the dependency on @fi-sci/modal-window in favor of modal dialog boxes more in line with the MUI standard & default look-and-feel. Functionality is unchanged.

Additional changes include moving the content of the connection-configuration modal dialog to its own file, and adding a ThemeProvider component at the project root to fix a persistent known issue in MUI/Vite combinations (see mui/material-ui#31835). (I incidentally updated the versions of MUI and Icons-Material while attempting to address this bug, but I think this isn't super important--we can back out if desired.)

The "CloseableDialog" component follows directly on the example from https://mui.com/material-ui/react-dialog/ (see "Customization").

@magland
Copy link
Collaborator

magland commented Jul 31, 2024

This looks great! Once this gets merged (hopefully soon!). I will resolve conflicts with my 2 outstanding PRs.

Copy link
Collaborator

@WardBrian WardBrian left a comment

Choose a reason for hiding this comment

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

A few minor comments but this mostly looks good to me!

@WardBrian WardBrian merged commit 13a32a4 into main Jul 31, 2024
2 checks passed
@WardBrian WardBrian deleted the use-std-modal branch July 31, 2024 15:12
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.

3 participants