refactor: remove MUI and Emotion - #27821
Conversation
c39b664 to
05c54d6
Compare
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
This comment was marked as outdated.
This comment was marked as outdated.
ab88453 to
598d3af
Compare
Documentation CheckUpdates Needed
Automated review via Coder Agents |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c13866144f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
aslilac
left a comment
There was a problem hiding this comment.
I did a little git merge main && git restore --source=main site/pnpm-lock.yaml && cd site && pnpm i locally and it all looks great!
as y'all have already said here, there is of course more work to be done to follow this up. but this removes a huge dependency from our build and is very much work getting merged.
Until we meet again.
Stack
<IconField />#27719<AppearanceSettingsPage />#27722<Markdown />and<InlineMarkdown />off MUI #27724<UpdateCheckNotice/>#27728<NotificationEvents />into dropdown #27732Form.stories.tsxstories #27762<ProvisionerTagsField />#27763<Drawer />and migrate build logs drawer #28009Final removal (
c39b664)Removes the last of MUI and Emotion now that every surface has been migrated:
@mui/materialand@emotion/{cache,css,react,styled}frompackage.json/pnpm-lock.yaml, and deletes the@types/emotion.d.tsand@types/mui.d.tsmodule augmentations.CacheProvider, MUIThemeProvider/StyledEngineProvider, andCssBaselineinThemeProviderwith a lightweighttheme/context.tsxthat exposesThemeContextProviderand auseThemehook.bodystyles (background, text color, font, antialiasing) thatCssBaselinepreviously provided intoindex.css, and drops the temporary MUI modal/popover scrollbar-gutter workaround.site/AGENTS.md, updates the Storybookpreview.tsx, and adjusts assorted components (Command,Slider,Switch,Tabs,SyntaxHighlighter, timing charts) and theme files to consume the new context instead of MUI/Emotion.