Check if the OpenApp has finished or not before updating Onyx data#39979
Merged
danieldoglas merged 5 commits intomainfrom Apr 10, 2024
Merged
Check if the OpenApp has finished or not before updating Onyx data#39979danieldoglas merged 5 commits intomainfrom
danieldoglas merged 5 commits intomainfrom
Conversation
roryabraham
reviewed
Apr 10, 2024
danieldoglas
approved these changes
Apr 10, 2024
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Contributor
Author
OSBotify
pushed a commit
that referenced
this pull request
Apr 10, 2024
…le-update Check if the OpenApp has finished or not before updating Onyx data (cherry picked from commit 4e13dad)
Contributor
|
🚀 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. |
Contributor
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.61-8 🚀
|
This was referenced Apr 12, 2024
This was referenced Apr 12, 2024
50 tasks
Closed
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cc: @aldo-expensify
Details
ReconnectApp.OpenAppcommand finishes, resulting in overwriting the data returned fromOpenApp.OpenAppfinishes. By doing so, we ensure that theReconnectAppcommand 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
ReconnectAppis 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
OpenAppexecution time as the original issue happens under this conditionOffline tests
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionThis PR is related to how to handle the Onyx updates. I tested this on the browser where I can see the network requests
toggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Please see the screenshots in the test steps.
MacOS: Desktop