-
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
Calling ReconnectApp Once after Refresh #41501
Calling ReconnectApp Once after Refresh #41501
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-05-06_11.15.07.mp4Android: mWeb Chromeandroid-chrome-2024-05-06_11.20.40.mp4iOS: Nativeios-app-2024-05-06_11.31.28.mp4iOS: mWeb Safariios-safari-2024-05-06_11.33.38.mp4MacOS: Chrome / Safaridesktop-chrome-2024-05-06_11.05.54.mp4MacOS: Desktopdesktop-app-2024-05-06_11.08.16.mp4 |
Unfortunately wasn't able to get to this today, will complete the review on Monday! |
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.
LGTM!
Damn, I'm temporarily out of the C+ team as I'm about to go OOO so this isn't auto-assigning an engineer. @tgolen Do you mind taking a look since you were tagged on Slack? |
@jjcoffee Should I remove it? |
@jjcoffee is this PR approved? |
@mountiny friendly ping |
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.
I can see that @jjcoffee has approved and completed the checklist
The change itself makes sense to me so I will move this PR ahead
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.74-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀
|
Details
We care when the
isInternetReachable
has a value (true|false), the Lib sendsnull
while is creating the network object. We want to listen when the connection is done and all the information exists. Removing the?? false
we avoid the extra call sending the event that the app is offline.Fixed Issues
$ #40995
PROPOSAL: #40995 (comment)
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
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
MacOS: Desktop