-
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 'API.js' & 'Middleware' & 'Authentication.js' & 'Network' lib to TypeScript #28031
[No QA][TS migration] Migrate 'API.js' & 'Middleware' & 'Authentication.js' & 'Network' lib to TypeScript #28031
Conversation
We did not find an internal engineer to review this PR, trying to assign a random engineer to #24902 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.
@blazejkustra There are some files with type errors reported by typecheck
Some tests are still failing, I tried to fix it, but with no luck. I have a task with higher priority, will get back to it later this week. |
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.
@mollfpr TS process was changed recently and now C+ are responsible for the reviewer checklist. |
FYI, still working on fixing unit test.. |
This PR is no longer blocked and all checks should be working now, can you work on the reviewer checklist @mollfpr? |
Heyy @blazejkustra sorry for the late reply. I've been hospitalized for a few days and just got out. I'll get this done by tonight; sorry for the inconvenience 🙏 |
Reviewer Checklist
Screenshots/VideosWeb28031.Web.mp4Mobile Web - Chrome28031.mWeb-Chrome.mp4Mobile Web - Safari28031.mWeb-Safari.mp4Desktop28031.Desktop.mp4iOS28031.iOS.mp4Android28031.Android.mp4 |
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 and tests well 👍
@iwiznia All yours! |
✋ 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/iwiznia in version: 1.3.86-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.86-5 🚀
|
Details
Migration of 'API.js' & 'Middleware' & 'Authentication.js' & 'Network' to Typescript. I decided to migrate multiple files in one PR as it was impossible to separate these files reasonably (I was getting multiple type errors when I migrated these separately)
Fixed Issues
$ #24902
$ #24925
$ #24901
$ #24932
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
N/A
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
web.mov
Mobile Web - Chrome
a-web.mov
Mobile Web - Safari
i-web.mov
Desktop
desktop.mov
iOS
ios.mov
Android