-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Enforce path imports for MUI icons, upgrade to ESLint v8 #1225
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding some explanations to help with review
There is a few more places where we should add these eslint rules:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@krassowski Awesome work Mike! Thanks for diving deep into this and fixing the issue for Jupyter AI so quickly. You're a legend. 🎉
I'll reach out to @brichet and @andrii-i to let them know about your work here. They can help migrate this change over to their repos. I'll ask them to credit & co-author you on the PRs. 👍
@meeseeksdev please backport to 2.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
Thanks Mike, this is great! |
…ade to ESLint v8 * Enforce path imports for mui icons, migrate to newer eslint * Replace mui icons imports with path imports (cherry picked from commit 5b99b0f)
…upgrade to ESLint v8) (#1226) * Backport PR #1225: Enforce path imports for MUI icons, upgrade to ESLint v8 * Enforce path imports for mui icons, migrate to newer eslint * Replace mui icons imports with path imports (cherry picked from commit 5b99b0f) * fix 2.x MUI icon imports * run yarn dedupe --------- Co-authored-by: Michał Krassowski <[email protected]>
Thanks @krassowski and @dlqqq for the ping, I'll see how to port it to jupyter-chat 👍 |
Thanks for help with the backport! Looking forward to seeing a new 2.x version released :) |
@krassowski Yes, we were planning on doing a release either today or tomorrow. Looking at the commit history, it seems like a patch release (v2.29.1) would suffice, since I think all of the changes are doc updates & bug fixes. Any objections? |
Sounds good to me! |
Bumps eslint to v8 required to add enforcement rules for path imports on mui
Enforces new icons - the CI correctly fails on first commit:
Fixes jupyter-ai slows down initial page load significantly by downloading 4MB of icons it does not need #1221 - the size of the wheel should drop