-
Notifications
You must be signed in to change notification settings - Fork 214
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
Convert masquerade UI widgets to Function Components + TypeScript #1513
Conversation
Thanks for the pull request, @bradenmacdonald! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently maintained by Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
c6c60e0
to
6454a22
Compare
@farhaanbukhsh could you please review this? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1513 +/- ##
==========================================
+ Coverage 89.25% 89.76% +0.51%
==========================================
Files 318 319 +1
Lines 5565 5559 -6
Branches 1377 1388 +11
==========================================
+ Hits 4967 4990 +23
+ Misses 582 553 -29
Partials 16 16 ☔ View full report in Codecov by Sentry. |
@bradenmacdonald will do and I am willing to make these changes in Gradebook MFE but I am wondering who can review these? |
@farhaanbukhsh I'm not sure who maintains the gradebook MFE, but I'm always happy to review TypeScript conversion PRs and I'm a Core Contributor on any frontend repos including all MFEs. |
I am the one maintaining it but I need someone who can review those changes :) thanks a lot for the help. |
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.
@bradenmacdonald would it be possible to pass patch coverage, there are a few conditionals that can be tested, and it will be good to have, otherwise it looks good.
6454a22
to
c838d40
Compare
c838d40
to
9132f8c
Compare
dd16567
to
c6dd302
Compare
@farhaanbukhsh Ah, right. I was planning to come back and improve the coverage but kept procrastinating. Now I've added some more tests and got the patch coverage up. I had to make some unrelated cleanups in a few other places/tests at the same time. Please check it out and let me know if this is good to merge! |
@bradenmacdonald The other thing here which is looking a little off to me is the use of Thanks for the work here. 😄 |
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 tested this on Tutor devstack
- ✅ I read through the code
- ❌ I checked for accessibility issues
- ❌ Includes documentation
- ❌ I made sure any change in configuration variables is reflected in the corresponding client's
configuration-secure
repository.
The masquerade UI widget:
... is using old-fashioned class-based components and JavaScript. In this PR I have modernized it, converting it to TypeScript and Function Components.
There should be no changes to the functionality, but the code should be much easier to understand.