Add 'OpenIOUDetailsPage' API command#9878
Conversation
|
Final step before I remove the WIP label is to update Onyx. Just waiting for this PR to be merged. |
|
Merged the onyx PR! |
|
Thanks! Still held on the Web-E PR actually, but it should be ready now. Finally |
|
@Justicea83 & @vitHoracek -- ready for review 🤞 If you see an error about |
| } | ||
|
|
||
| /** | ||
| * Gets the IOUReport and the associated report actions. |
There was a problem hiding this comment.
NAB:
| * Gets the IOUReport and the associated report actions. | |
| * Gets the IOUReport and its associated report actions. |
Justicea83
left a comment
There was a problem hiding this comment.
Changes look good to me
|
Just adding HOLD until https://github.com/Expensify/Web-Expensify/pull/34144 hits production so we don't accidentally get this to staging before that would happen. |
|
I knew something could happend so I left it unmerged, once bitten..😂 |
|
And https://github.com/Expensify/Web-Expensify/pull/34144 is in prod. Merging! |
|
@mountiny looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
The tests were passing, not an emergency. |
|
Thanks both! |
|
@Julesssss Np! I see you have linked an additional issue and the steps to reproduce there are a bit different than the test steps in this PR. Should we update those to make sure Applause tests it? |
|
The new test case should covers that issue too (logging out and back in to clear the data), but I've added it as a 3rd test just to be sure 👍 |
|
Gotcha! Thanks ❤️ |
|
Added a 3rd test. |
|
🚀 Deployed to production by @luacmartins in version: 1.1.85-8 🚀
|

CC @Justicea83 & @vitHoracek
Details
Front end implementation of the
OpenIOUDetailsPageAPI RefactorFixed Issues
$ https://github.com/Expensify/Expensify/issues/213665
Tests
1) Test an IOU Request with a new user
2) Test an old, inactive IOU Request
3) Ensure that additional IOU History is loaded
4. Verify that no errors appear in the JS console
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** 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)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** 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
Screenshots
Web
Mobile Web
Desktop
iOS
Android