Repository navigation
Re-fetch actions when we move from offline to online - #8766
Conversation
|
cc @amyevans @arosiclair @techievivek to give you all an idea of what we might need to do for the other issues |
Julesssss
left a comment
There was a problem hiding this comment.
Tests well. I'm pretty sure I've answered my own question but I'll leave it unresolved just in case I'm wrong.
|
@Julesssss looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
|
Incorrect, bad bot. |
|
See here for other occurrences: https://expensify.slack.com/archives/C03TQ48KC/p1650487049075739 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by @sketchydroide in version: 1.1.57-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by @chiragsalian in version: 1.1.57-17 🚀
|

Details
When a user moves from offline to online we should re-fetch report actions for the active report to bring them up to date.
Fixed Issues
$ #8690
$ https://github.com/Expensify/Expensify/issues/208193
Tests
window.getPusherInstance().disconnect()).PR Review Checklist
PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
See Tests Section
Screenshots
Web
Mobile Web
Desktop
iOS
Android