-
Notifications
You must be signed in to change notification settings - Fork 57
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
[3437] Migrate to MUI 5 #3438
[3437] Migrate to MUI 5 #3438
Conversation
e09e49b
to
cc1ed2b
Compare
547f119
to
8754df2
Compare
Two Cypress-tests are unstable:
They sometimes fail. But I can't reproduce it locally. |
There are still references to |
I've regenerated. But there are still Material UI 4 dependencies because of gantt-task-react Created a pull request to migrate it to MUI 5 ObeoNetwork/gantt-task-react#9 Probably it can be made in 3 stages:
Or in two stages:
|
036c0f6
to
2b77943
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I listed some issues that would need to be addressed before merging.
I'm about to review ObeoNetwork/gantt-task-react#9 and then I will try to fixe the above.
packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json
Show resolved
Hide resolved
...ormdescriptioneditors/frontend/sirius-components-formdescriptioneditors/src/ButtonWidget.tsx
Show resolved
Hide resolved
...mdescriptioneditors/frontend/sirius-components-formdescriptioneditors/src/CheckboxWidget.tsx
Show resolved
Hide resolved
...formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/src/ImageWidget.tsx
Show resolved
Hide resolved
...formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/src/RadioWidget.tsx
Show resolved
Hide resolved
packages/forms/frontend/sirius-components-widget-reference/src/ReferencePropertySection.tsx
Show resolved
Hide resolved
packages/sirius-web/frontend/sirius-web-application/src/diagrams/DiagramFilter.tsx
Show resolved
Hide resolved
...end/sirius-web-application/src/views/project-browser/list-projects-area/ListProjectsArea.tsx
Show resolved
Hide resolved
...ontend/sirius-web-application/src/views/edit-project/workbench-views/RelatedElementsView.tsx
Show resolved
Hide resolved
packages/validation/frontend/sirius-components-validation/src/ValidationView.tsx
Show resolved
Hide resolved
During one of rebases I forgot to update dependencies from MUI 4 to 5 in TreeItemAction.tsx. That was the reason of most style problems. Conflicts between MUI 4 and 5 can cause such a problems. It should be fine now I've also fixed menu position, project link underline and removed dependency on @emotion/react |
Thanks you @AresEkb, this indeed fixed most issues. |
4bc3412
to
8254078
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take over this PR to fix the last issue that I have and ensure that it gets merged as soon as possible
packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/package.json
Show resolved
Hide resolved
packages/forms/frontend/sirius-components-forms/src/propertysections/SliderPropertySection.tsx
Outdated
Show resolved
Hide resolved
8254078
to
dff5703
Compare
Bug: eclipse-sirius#3437 Signed-off-by: Denis Nikiforov <[email protected]> Signed-off-by: Michaël Charfadi <[email protected]> Signed-off-by: Stéphane Bégaudeau <[email protected]>
dff5703
to
5e761df
Compare
The changes have been taken into account so I'll move forward and merge it
Thanks Denis for the contribution, it took quite some time to integrate it in Sirius Web but it's now finally merged \o/ |
Thanks a lot for merging! |
Pull request template
General purpose
What is the main goal of this pull request?
Project management
priority:
andpr:
labels been added to the pull request? (In case of doubt, start with the labelspriority: low
andpr: to review later
)area:
,difficulty:
,type:
)CHANGELOG.adoc
been updated to reference the relevant issues?CHANGELOG.adoc
? (Including changes in the GraphQL API)CHANGELOG.adoc
? For example indoc/screenshots/2022.5.0-my-new-feature.png
Architectural decision records (ADR)
[doc]
?CHANGELOG.adoc
?Dependencies
CHANGELOG.adoc
?CHANGELOG.adoc
?Frontend
This section is not relevant if your contribution does not come with changes to the frontend.
General purpose
Typing
We need to improve the typing of our code, as such, we require every contribution to come with proper TypeScript typing for both changes contributing new files and those modifying existing files.
Please ensure that the following statements are true for each file created or modified (this may require you to improve code outside of your contribution).
useMutation<DATA_TYPE, VARIABLE_TYPE>(…)
useQuery<DATA_TYPE, VARIABLE_TYPE>(…)
useSubscription<DATA_TYPE, VARIABLE_TYPE>(…)
useMachine<CONTEXT_TYPE, EVENTS_TYPE>(…)
useState<STATE_TYPE>(…)
?.
(if the GraphQL API specifies that a field cannot benull
, do not treat it has potentiallynull
for example)let diagram: Diagram | null = null;
)Backend
This section is not relevant if your contribution does not come with changes to the backend.
General purpose
Architecture
Review
How to test this PR?
Please describe here the various use cases to test this pull request