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

Refactor: MUI5, Typescript #31

Merged
merged 21 commits into from
Jan 24, 2023
Merged

Refactor: MUI5, Typescript #31

merged 21 commits into from
Jan 24, 2023

Conversation

swouf
Copy link
Contributor

@swouf swouf commented Jan 20, 2023

Close #29
Close #30
Close #23
Close #32

pyphilia and others added 6 commits January 20, 2023 09:55
build(config): update config for TS

adapt to current standards
refactor: upgrade to MUI5
test(refactor): port tests to Typescript

Tests still need some improvements at this point.
@swouf swouf added dependencies Pull requests that update a dependency file refactor 🔧 labels Jan 20, 2023
@swouf swouf self-assigned this Jan 20, 2023
@swouf swouf marked this pull request as ready for review January 20, 2023 11:40
Copy link
Member

@spaenleh spaenleh left a comment

Choose a reason for hiding this comment

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

💪 Thank you for this massive refactor !
I have left comments here and there, we can iterate on them, or add relevant issues and tackle them later.
I did not know tss-react do you think you will use it over the new mui5 syntax ? This is interesting !

.github/workflows/cdelivery-s3-apps-caller.yml Outdated Show resolved Hide resolved
.github/workflows/cdelivery-s3-apps-caller.yml Outdated Show resolved Hide resolved
.github/workflows/cdeployment-s3-apps-caller.yml Outdated Show resolved Hide resolved
.github/workflows/cdeployment-s3-apps-caller.yml Outdated Show resolved Hide resolved
src/config/sentry.ts Outdated Show resolved Hide resolved
src/data/db.ts Show resolved Hide resolved
src/utils/uppy.ts Outdated Show resolved Hide resolved
src/utils/uppy.ts Outdated Show resolved Hide resolved
src/types/member.ts Outdated Show resolved Hide resolved
@spaenleh
Copy link
Member

spaenleh commented Jan 20, 2023

You may have to edit the cypress.yml workflow to use the new config file in order for your tests to pass in CI.

Copy link
Member

@spaenleh spaenleh left a comment

Choose a reason for hiding this comment

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

Looks good, just a few changes still, but once they are done you can merge !

.github/workflows/cdeployment-s3-apps-caller.yml Outdated Show resolved Hide resolved
.github/workflows/cintegration-s3-apps-caller.yml Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Co-authored-by: Basile Spaenlehauer <spaenleh@gmail.com>
Co-authored-by: Basile Spaenlehauer <spaenleh@gmail.com>
add autoresize hook
Fix types in multiple components
Remove useless messages
Remove custom member type def
Adapt mock db

Co-authored-by: spaenleh
@swouf
Copy link
Contributor Author

swouf commented Jan 24, 2023

@spaenleh, I think I addressed all your comments. I'll merge this afternoon.

Copy link
Member

@spaenleh spaenleh left a comment

Choose a reason for hiding this comment

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

Perfect, just one last nitpick 😄
Amazing PR you did there ! Continue the good work 💪
🐸 🌟

| {
deleteAppDataShouldThrow?: boolean | undefined;
}
| undefined;
Copy link
Member

Choose a reason for hiding this comment

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

You dont need to specify undefined, the object is already marked as ? which is the shorthand for undefined.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for paying attention to that!

@swouf swouf merged commit 5f6192c into master Jan 24, 2023
@swouf swouf deleted the 29-30-refactor branch January 24, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file refactor 🔧
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup release-please Use MUI5 Port to Typescript Upgrade dependencies
3 participants