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

Tabs managment #976

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

TheCommandCat
Copy link
Contributor

@TheCommandCat TheCommandCat commented Jan 25, 2025

Description

Rewrote TabPanel and TabContext using @mui/material as components instead of importing them from @mui/lab

Closes #975

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

// works as same as usual - no visual change

Checklist

  • Rewrote components

  • Update import in each page that use tabs to use the new components

  • remove the @mui/lab package ( I was sure this was to point of this issue )

Things like LoadingButton from judging-schedule-editor.tsx still depend on @mui/lab so we cant yet remove it.

@TheCommandCat TheCommandCat marked this pull request as ready for review January 26, 2025 15:56
@johnmeshulam
Copy link
Member

Can we remove MUI lab? Or is there no alternative in MUI for the things that depend on it?

@TheCommandCat
Copy link
Contributor Author

Should be good now, Button has the same loading prop as LoadingButton so no behavior difference is noticed.
In addition I removed in the last commit the @mui/lab lib, 99% sure it didn't break anything, the couple pages i tested rendered just fine and vsc dosent give unknown dep errors(but I guess we all know we cant always count on that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

Replace TabContext from MUI Lab with Tabs from MUI
2 participants