-
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
Fix error message display bug on google signin #34863
Fix error message display bug on google signin #34863
Conversation
@aimane-chnaif 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] |
I am not sure we should fix iOS as well. Other platforms (including android) test well! ios.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
@FitseTLT I checked your iOS video. Seems like not fully captured to the end |
@aimane-chnaif @roryabraham to solve the ios native case, because text will not blur on tap outside on native why don't we omit the validate callback |
This doesn't sound like a safe assumption. Why wouldn't a TextInput blur on native if you tap outside it? |
App/src/libs/willBlurTextInputOnTapOutside/index.native.ts Lines 3 to 4 in 74f1163
Because it only blurs when the user presses on the two login buttons, we don't want to run the validate callback as they opted for another login flow. |
Bump @roryabraham for a decision |
Thanks for explaining why this is a safe assumption @FitseTLT !
Sounds good 👍🏼 |
DONE!!! |
The failing reassure test is a false negative. The only affected page is not even in the same top-level navigator. |
@roryabraham looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
Removing emergency label per my last comment. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
1 similar comment
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.37-7 🚀
|
// As we have only two signin buttons (Apple/Google) other than the text input, | ||
// for natives onBlur is called only when the buttons are pressed and we don't need | ||
// to validate in those case as the user has opted for other signin flow. | ||
willBlurTextInputOnTapOutside |
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.
✋ Coming from #42054
willBlurTextInputOnTapOutside
is always false
on native, leading to a bug in which the input is not validating when tapping away.
Details
Fixed Issues
$ #31413
PROPOSAL: #31413 (comment)
Tests
Offline tests
QA Steps
same
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(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: mWeb Chrome
2024-01-21_22-30-36.mp4
iOS: Native
ios.native.mp4
iOS: mWeb Safari
ios.web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4