-
Notifications
You must be signed in to change notification settings - Fork 3k
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 crash when opening sign in modal as anonymous user #30363
Conversation
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-10-25.at.6.06.15.PM.movMobile Web - ChromeScreen.Recording.2023-10-25.at.6.14.06.PM.movMobile Web - SafariSimulator.Screen.Recording.-.iPhone.14.Pro.-.2023-10-25.at.18.10.25.mp4DesktopScreen.Recording.2023-10-25.at.6.22.19.PM.moviOSScreen.Recording.2023-10-25.at.6.44.13.PM.movAndroidScreen.Recording.2023-10-25.at.6.44.55.PM.mov |
This needs to be CP'ed |
@bernhardoj let's add linked regressions issues to this one |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Fix crash when opening sign in modal as anonymous user (cherry picked from commit 348c010)
🚀 Cherry-picked to staging by https://github.com/marcaaron in version: 1.3.91-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
Performance Comparison Report 📊Significant Changes To Duration
Show details
Meaningless Changes To DurationShow entries
Show details
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
huh I think it has to be a false positive. Barely anything changed here 🤔 |
🚀 Cherry-picked to staging by https://github.com/marcaaron in version: 1.3.91-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.91-8 🚀
|
🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.3.93-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.93-1 🚀
|
Details
The app crashes when we open sign in modal.
Fixed Issues
$ #30228 (comment)
$ #29192
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
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
Android: Native
Screen.Recording.2023-10-26.at.00.15.46.mov
Android: mWeb Chrome
Screen.Recording.2023-10-26.at.00.19.41.mov
iOS: Native
Screen.Recording.2023-10-26.at.00.13.46.mov
iOS: mWeb Safari
Screen.Recording.2023-10-26.at.00.14.51.mov
MacOS: Chrome / Safari
Screen.Recording.2023-10-25.at.22.20.56.mov
MacOS: Desktop
Screen.Recording.2023-10-25.at.23.21.32.mov