-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA][TS migration] Migrate 'tryResolveUrlFromApiRoot.js' lib to TypeScript #26855
[No QA][TS migration] Migrate 'tryResolveUrlFromApiRoot.js' lib to TypeScript #26855
Conversation
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.
Approving for engineer review
We did not find an internal engineer to review this PR, trying to assign a random engineer to #24803 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
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.
Looks we have some conflicts 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.
LGTM, CK still need to do the checklist.
@BartoszGrajdek Could you resolve conflicts and test again before I make the checklist? |
Bump on this. |
Done! :) @fabioh8010 |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-09-12.at.20.44.53.movScreen.Recording.2023-09-12.at.20.45.32.movDesktopScreen.Recording.2023-09-12.at.20.45.48.movMobile Web - ChromeScreen.Recording.2023-09-12.at.20.47.58.movAndroidScreen.Recording.2023-09-12.at.20.49.39.movMobile Web - SafariScreen.Recording.2023-09-12.at.20.50.52.moviOSScreen.Recording.2023-09-12.at.20.51.22.mov |
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 raised a discussion about the pattern used for function overloads here. But it seems like we don't have a cleaner solution.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.69-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.69-2 🚀
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.70-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|
Details
Migrate 'tryResolveUrlFromApiRoot.js' lib file to TypeScript
Fixed Issues
$ #24803
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android