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

chore(packages): [MC-1308] Upgrade notistack library to v2 #1210

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

nina-py
Copy link
Contributor

@nina-py nina-py commented Jul 12, 2024

Goal

Upgrade this library so that we no longer have an indirect dependency on Material UI v4 which has not been in active development since 2021.

  • Upgraded the notistack library to v.2.0.8
  • Removed one last remaining dependency on Material UI 4 that was left over in our own code
  • Tests are passing; additionally, manually tested that the duplicate item modal and notices work fine

Reference

https://mozilla-hub.atlassian.net/browse/MC-1308

- Upgraded the `notistack` library to v.2.0.8

- Removed one last remaining dependency on Material UI 4 that was
left over in our own code
@nina-py nina-py requested a review from a team as a code owner July 12, 2024 04:53
Comment on lines -11 to -14
link: {
color: theme.palette.primary.main,
textDecoration: 'none',
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This style wasn't needed in the duplicate item modal - I think an earlier version of it had a link to the corpus item page, but it has since been replaced with a button. The rest of the styles have been moved over to the component itself into sx props.

Copy link
Contributor

@katerinachinnappan katerinachinnappan left a comment

Choose a reason for hiding this comment

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

Ty!

@nina-py nina-py merged commit 091cbb6 into main Jul 12, 2024
6 checks passed
@nina-py nina-py deleted the MC-1308-upgrade-notistack branch July 12, 2024 06:04
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.

2 participants