-
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
Check if the OpenApp has finished or not before updating Onyx data #39979
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…le-update Check if the OpenApp has finished or not before updating Onyx data (cherry picked from commit 4e13dad)
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 1.4.61-8 🚀
@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.61-8 🚀
|
cc: @aldo-expensify
Details
ReconnectApp
.OpenApp
command finishes, resulting in overwriting the data returned fromOpenApp
.OpenApp
finishes. By doing so, we ensure that theReconnectApp
command is not called unnecessarily when the user first signs in.Fixed Issues
$ #39380
PROPOSAL: https://expensify.slack.com/archives/C06SCNUBB28/p1712708141438879?thread_ts=1712703749.109279&cid=C06SCNUBB28 (internal link)
Tests / QA Steps
ReconnectApp
is NOT called.For internal engineer, you can put a sleep statement right before this line in the Web-E code to test this under a slow
OpenApp
execution time as the original issue happens under this conditionOffline tests
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectionThis PR is related to how to handle the Onyx updates. I tested this on the browser where I can see the network requests
toggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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)Design
label and/or tagged@Expensify/design
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
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Please see the screenshots in the test steps.
MacOS: Desktop