[internal] Include history from the @mui/base components & hooks#43079
[internal] Include history from the @mui/base components & hooks#43079oliviertassinari merged 6 commits intomui:masterfrom
Conversation
Netlify deploy previewhttps://deploy-preview-43079--material-ui.netlify.app/ Bundle size report |
|
@oliviertassinari can you help with moving all these commits on next (we can't squash and merge because it doesn't keep the commits changes). I tried enabling the pull request options:
but the Create merge commit was not enabled even after this change. I couldn't do the Rebase and merge was throwing an error:
|
|
I'm not sure what happened, merging this PR didn't work. However, applying the same strategy that you had (I looked at this PR commits to understand what you did) and doing it straight from the HEAD, worked. So, I'm happy that we have the history back 😄, and that we have one clear source of truth. |


An alternative of #43028, it preserves the history on both locations, packages/mui-material and packages/mui-base for the files that were copied from Base UI to Material UI.
An example result:
https://github.com/mui/material-ui/blame/e32621f065657f36da3ce4fa274ca622ac075aea/packages/mui-material/src/Badge/useBadge.ts
https://github.com/mui/material-ui/blame/e32621f065657f36da3ce4fa274ca622ac075aea/packages/mui-base/src/useBadge/useBadge.ts
I've used a script for all files, so no need to go trough all of them for a check, one example should be enough
This is a follow-up on #42907