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

Upgrade to MUI v5 - rebased from client-deps-2 upgrade #4391

Merged
merged 90 commits into from
Apr 1, 2022

Conversation

ekowidianto
Copy link
Member

@ekowidianto ekowidianto commented Mar 3, 2022

Rebased upgrade based on mui/material-ui#4363

Tests failed here since @material-ui/pickers require MUI v4. Refer to unrebased branch (above) for all passed test cases.

Related to mui/material-ui#4363

margin-bottom: 1em;
margin-top: 1em;
margin-bottom: 1em !important;
margin-top: 1em !important;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important should not be used

@@ -68,6 +67,6 @@
}

.submitButton {
margin-bottom: 1em;
margin-top: 1em;
margin-bottom: 1em !important;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important should not be used

margin-right: 1em;
margin-top: 0.5em;
cursor: pointer !important;
margin-right: 1em !important;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important should not be used

cursor: pointer;
margin-right: 1em;
margin-top: 0.5em;
cursor: pointer !important;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!important should not be used

@ekowidianto ekowidianto changed the base branch from master to update-client-deps-2 March 3, 2022 09:53
@ekowidianto ekowidianto mentioned this pull request Mar 4, 2022
4 tasks
Base automatically changed from update-client-deps-2 to master March 6, 2022 14:43
@ekowidianto ekowidianto force-pushed the eko/upgrade-mui-rebased-clean branch from b89704b to 1efa5cb Compare March 14, 2022 01:44
@ekowidianto ekowidianto requested a review from zhuhanming March 15, 2022 02:20
@ekowidianto ekowidianto marked this pull request as ready for review March 15, 2022 02:24
@ekowidianto ekowidianto force-pushed the eko/upgrade-mui-rebased-clean branch 3 times, most recently from b4684bd to 0714d3a Compare March 17, 2022 06:42
@zhuhanming zhuhanming changed the title Upgrade to MUI v3 - rebased from client-deps-2 upgrade Upgrade to MUI v5 - rebased from client-deps-2 upgrade Mar 21, 2022
@ekowidianto
Copy link
Member Author

Copy link
Member

@zhuhanming zhuhanming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been testing out the app over the past week - super solid work! I don't think there are any major issues. Code-wise, I've roughly looked through and it looks ok.

I'll list out issues that I've found / will find in a separate comment. @cysjonathan @lyskevin would appreciate your help in testing as well!

@zhuhanming
Copy link
Member

zhuhanming commented Mar 25, 2022

  • Button positioning and margin bottom seems to have changed for forum post response

    Screenshot 2022-03-25 at 9 53 02 AM Screenshot 2022-03-25 at 9 53 15 AM
  • Rebase

  • Need to check that our theme, which is applied during building and deployment, still works for the new UI.

  • MUI datepicker - if you manually type in a date, then click the picker and click out, the date that was typed in gets resetted to the date before the manual typing (if there's no previous date, the field gets cleared).

    Screen.Recording.2022-04-01.at.11.29.11.AM.mov
  • Loading spinners on some screens lack padding on top. I think lesson plan screen has the same issues.

    Screenshot 2022-04-01 at 11 34 12 AM

@ekowidianto ekowidianto force-pushed the eko/upgrade-mui-rebased-clean branch from 20afaf9 to 89f212e Compare March 25, 2022 06:58
@ekowidianto ekowidianto force-pushed the eko/upgrade-mui-rebased-clean branch from c168e03 to 808e64c Compare March 28, 2022 11:46
@zhuhanming zhuhanming self-requested a review March 30, 2022 04:21
Copy link
Member

@zhuhanming zhuhanming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good to go to me.

I've added more items to the list above, but they're minor nits - we should be able to deploy this.

@ekowidianto
Copy link
Member Author

  • Loading spinners on some screens lack padding on top. I think lesson plan screen has the same issues.

This should have been fixed in this commit bd52e91

@ekowidianto
Copy link
Member Author

  • MUI datepicker - if you manually type in a date, then click the picker and click out, the date that was typed in gets resetted to the date before the manual typing (if there's no previous date, the field gets cleared).

Seems like it's MUI's problem. See: mui/mui-x#4478

@zhuhanming
Copy link
Member

Ok then let us merge this.

@zhuhanming zhuhanming merged commit 31a7a30 into master Apr 1, 2022
@zhuhanming zhuhanming deleted the eko/upgrade-mui-rebased-clean branch April 1, 2022 04:07
@ekowidianto
Copy link
Member Author

ekowidianto commented Apr 1, 2022

Closes mui/material-ui#2438

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.

2 participants