-
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
Re-fetch actions when we move from offline to online in Payments Page #8817
Conversation
cc: @marcaaron . Used the HOC approach, I think it makes like easier. |
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.
Thanks for the PR @Justicea83. Just a heads up this is not exactly how I envisioned the HOC working. All good though, I have a couple of suggestions for how to proceed:
-
Let's remove the HOC from this PR and just put the logic in
componentDidMount/componentDidUpdate
for now -
Let's continue to discuss the HOC in the tracking issue here and reach consensus together on whether it's needed at all and how to do it
Sure, I've applied the changes are requested. |
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.
Code looks mostly good. But the test steps kind of trail off...
- Come back online
- Verify from
Verify from... ?
@Justicea83 just checking in on this...Any progress? If it is something sitting on your backburner or if it is awaiting another PR to be deployed first, I recommend adding the |
Updated |
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, thanks!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @marcaaron in version: 1.1.64-0 🚀
|
🚀 Deployed to production by @AndrewGable in version: 1.1.64-0 🚀
|
Details
Fixed Issues
$https://github.com/Expensify/Expensify/issues/208201
Tests
bankAccountList
,fundList
,userWallet
andnameValuePairs
is made via Chrome Dev Tools network tabPR Reviewer Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followed/** comment above it */
displayName
propertythis
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)QA Steps
Screenshots
Web
2022-05-18_11-09-29.mp4
Mobile Web
2022-05-18_11-10-37.mp4
Desktop
2022-05-18_11-11-54.mp4
iOS
Android
2022-05-18_11-15-16.mp4