Skip to content

chore(deps): bump @mui/material and @mui/icons-material to 9.4.0 - #919

Merged
unhappychoice merged 1 commit into
mainfrom
chore/bump-mui-9.4.0
Sep 3, 2026
Merged

unhappychoice merged 1 commit into
mainfrom
chore/bump-mui-9.4.0

Conversation

@unhappychoice

@unhappychoice unhappychoice commented Sep 3, 2026 •

Copy link
Copy Markdown
Owner

Supersedes #910 and #914.

Why one PR instead of two

packages/frontend/package.json declares both packages with a caret range (^9.3.1), so each Dependabot PR resolves @mui/material to 9.4.0 in its lockfile. Both therefore hit the same snapshot failures and cannot be merged independently — the second would conflict on the same .snap files. Bumping them together keeps the MUI packages in lockstep.

Why test-frontend was failing

13 snapshots across 11 suites. The diff is:

  • emotion class-name hash churn (css-130mf42 → css-1myvn3n, etc.)
  • one real upstream change: MUI's visuallyHidden style now emits clip-path: inset(50%) instead of the deprecated clip property.

No behavioral regression — snapshots regenerated with npm run jest -- --selectProjects test -u.

Verification

  • npm run test:frontend → 56 suites / 321 tests passed
  • npm run lint:frontend → 124 suites passed

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the underlying interface libraries to newer versions.
    • No direct user-facing changes are included in this release.

Supersedes the two separate Dependabot PRs (#910, #914): both resolve
@mui/material to 9.4.0 through the caret range, so both need the same
snapshot updates and cannot be merged independently.

Snapshot churn is emotion class hashes plus MUI's visuallyHidden style,
which now uses clip-path: inset(50%) instead of the deprecated clip.
@netlify

netlify Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for mdts-unhappychoice ready!

Name Link
🔨 Latest commit 9eca67a
🔍 Latest deploy log https://app.netlify.com/projects/mdts-unhappychoice/deploys/6a98dc87740171000898c249
😎 Deploy Preview https://deploy-preview-919--mdts-unhappychoice.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: b2e51c7d-68a3-4cbd-9d67-36a5b06e7705

📥 Commits

Reviewing files that changed from the base of the PR and between c2fc013 and 9eca67a.

⛔ Files ignored due to path filters (12)
  • packages/frontend/package-lock.json is excluded by !**/package-lock.json
  • packages/frontend/test/unit/components/Content/MarkdownContent/__snapshots__/MarkdownContent.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/Content/MarkdownContent/__snapshots__/MarkdownContentTabs.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/LeftPane/__snapshots__/FileTree.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/LeftPane/__snapshots__/FileTreeHeader.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/LeftPane/__snapshots__/FileTreeSearch.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/RightPane/__snapshots__/Outline.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/RightPane/__snapshots__/OutlineHeader.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/SettingsDialog/__snapshots__/ColorSchemeSettingsTab.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/SettingsDialog/__snapshots__/FontSettingsTab.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/SettingsDialog/__snapshots__/LayoutSettingsTab.test.tsx.snap is excluded by !**/*.snap
  • packages/frontend/test/unit/components/__snapshots__/AppHeader.test.tsx.snap is excluded by !**/*.snap
📒 Files selected for processing (1)
  • packages/frontend/package.json

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The frontend package updates @mui/icons-material and @mui/material from ^9.3.1 to ^9.4.0.

Changes

Frontend MUI dependency update

Layer / File(s) Summary
Update MUI dependency versions
packages/frontend/package.json
The package updates @mui/icons-material and @mui/material to ^9.4.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 9eca6

This updates MUI Material and icons together to 9.4.0, with expected snapshot changes for generated Emotion class names and visually hidden styling. Frontend tests and lint pass, and no current merge-blocking risk is identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: updating both MUI dependencies to version 9.4.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-mui-9.4.0

Warning

Some tools did not complete. Review the errors below.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

packages/frontend/package.json

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.21%. Comparing base (c2fc013) to head (9eca67a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #919   +/-   ##
=======================================
  Coverage   99.21%   99.21%           
=======================================
  Files          71       71           
  Lines        1661     1661           
  Branches      407      407           
=======================================
  Hits         1648     1648           
  Misses         12       12           
  Partials        1        1           
Flag Coverage Δ
frontend 99.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@unhappychoice
unhappychoice merged commit 7f9c284 into main Sep 3, 2026
9 checks passed
@unhappychoice
unhappychoice deleted the chore/bump-mui-9.4.0 branch September 3, 2026 03:00
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.

1 participant