-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[TS migration] Migrate 'UnlinkLogin' page to TypeScript #32966
[TS migration] Migrate 'UnlinkLogin' page to TypeScript #32966
Conversation
accountID?: string; | ||
validateCode?: string; |
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.
why those changes? and also shouldn't accountID
be a number? or its strings here as it is screen parameter?
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.
Since UnlinkLoginPage
had default values for these two params, I suggest they are optional. Otherwise, I can make it required but then it makes sense to get rid of default values here
const accountID = route.params.accountID ?? '';
const validateCode = route.params.validateCode ?? '';
which I'm not sure will not lead to regression...
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
@hoangzinh Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-12-17.at.23.50.23.-.android.movAndroid: mWeb ChromeScreen.Recording.2023-12-17.at.20.50.35.android.chrome.moviOS: NativeUploading Screen Recording 2023-12-17 at 20.44.05 - ios.mov… iOS: mWeb SafariScreen.Recording.2023-12-17.at.20.46.07.-.ios.safari.movMacOS: Chrome / SafariUploading Screen Recording 2023-12-17 at 20.03.45 - web.mov… MacOS: DesktopN/A |
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
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25171 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.
LGTM, thanks!
✋ 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/marcochavezf in version: 1.4.14-0 🚀
|
🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.4.14-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.14-6 🚀
|
Details
[TS migration] Migrate 'UnlinkLogin' page to TypeScript
Fixed Issues
$ #25171
PROPOSAL: N/A
Tests
https://new.expensify.com/
part with your dev app URLhttps://dev.new.expensify.com:8082/
UnlinkLoginPage
Note:
For mobile platform you can use deeplinks to open the URL, just run in the terminal
npx uri-scheme open new-expensify://ENDPOINT_FROM_MESSAGE --ios
or
npx uri-scheme open new-expensify://ENDPOINT_FROM_MESSAGE --android
example:
npx uri-scheme open new-expensify://u/15604813/349410 --ios
Offline tests
N/A
QA Steps
Same as in the Tests section.
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)StyleUtils.getBackgroundAndBorderStyle(theme.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
Android: Native
android1.mp4
Android: mWeb Chrome
android_web1.mp4
iOS: Native
ios1.mp4
iOS: mWeb Safari
ios_web1.mp4
MacOS: Chrome / Safari
web1.mp4
MacOS: Desktop
I wasn't able to test redirect in the desktop version