Repository navigation
[TS migration] Migrate 'SignInButtons' component to TypeScript - #33404
Conversation
|
@shahinyan11 Videos/screenshots are missing in your PR Author's Checklist. Please complete it. |
|
@shahinyan11 Please also request review from @fabioh8010 and @blazejkustra. |
I know. I just wanted to add a video and then ask to review |
How I should request review from them. Only you are mentioned in reviewers |
Hmmm... I thought you can do it as an author of the PR. I'll speak to Fabio then and let them know. |
|
@burczu Should I add videos with testing full apple sign in flow or only work of buttons is enough ? I would like to ask permission to not record videos with full apple sign in flow for Web and Desktop because the testing apple sign in on those platforms is a big process . |
@shahinyan11 I think working buttons is enough. |
|
@burczu I have added all videos . |
|
@shahinyan11 Typecheck is failing, please merge the newest main and fix 😄 |
|
@blazejkustra Ready |
| * exists for that email address and signs the user in if so. | ||
| */ | ||
| function beginAppleSignIn(idToken: string) { | ||
| function beginAppleSignIn(idToken: string | undefined | null) { |
There was a problem hiding this comment.
should this function accept undefined strings? If so, why?
| function beginAppleSignIn(idToken: string | undefined | null) { | |
| function beginAppleSignIn(idToken: string) { |
There was a problem hiding this comment.
@rushatgabhane The beginAppleSignIn function is called in Promise.then where the received value can be undefined . We should use this approach or call it in a condition
| * passes the token on to the Expensify API to sign in with | ||
| */ | ||
| function beginGoogleSignIn(token: string) { | ||
| function beginGoogleSignIn(token: string | null) { |
Reviewer Checklist
Screenshots/Videos |
|
@shahinyan11 @rushatgabhane @yuwenmemon seems like this is causing linting errors on main: |
|
Should be a quick fix. I can handle. |
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 1.4.24-4 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.24-8 🚀
|






Details
[TS migration] Migrate 'SignInButtons' component to TypeScript
Fixed Issues
$ #31980
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as in the Tests section.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mp4
Android: mWeb Chrome
2023-12-21.17.05.27.mp4
iOS: Native
ios.mov
iOS: mWeb Safari
Screen.Recording.2023-12-21.at.16.39.02.mov
MacOS: Chrome / Safari
Screen.Recording.2023-12-21.at.16.10.17.mov
MacOS: Desktop
Screen.Recording.2023-12-21.at.16.16.39.mov