-
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
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 |
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.
@@ -1132,6 +1132,19 @@ function openReport(reportID) { | |||
}); | |||
} | |||
|
|||
/** | |||
* Gets the IOUReport and the associated report actions. |
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.
NAB:
* Gets the IOUReport and the associated report actions. | |
* Gets the IOUReport and its associated report actions. |
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.
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
OpenIOUDetailsPage
API 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 Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** 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)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** 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
Mobile Web
Desktop
iOS
Android