-
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
Check if the OpenApp has finished or not before updating Onyx data #39979
Merged
Conversation
This file contains 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
roryabraham
reviewed
Apr 10, 2024
hayata-suenaga
requested review from
roryabraham
and removed request for
eh2077
April 10, 2024 00:50
danieldoglas
approved these changes
Apr 10, 2024
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. |
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)
🚀 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 🚀
|
This was referenced Apr 12, 2024
This was referenced Apr 12, 2024
50 tasks
Closed
6 tasks
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
.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