-
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
Aggregate expense reports in OptionsListUtils #17077
Conversation
@Santhosh-Sellavel @dangrous One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Technically this needs to be on HOLD for https://github.com/Expensify/Web-Expensify/pull/36934 to hit prod, but the API prod deploy is happening presently and we just shipped NewDot as well, so I think there's no need to keep this on HOLD |
Code Looks good, but this requires is any additional testing @roryabraham? |
I'm honestly not sure what to test. Like I said in the PR description, I'm just doing what's instructed in the design doc and introducing the new report |
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.
Seems fine with the exception of one kinda confusing bit! Trusting the doc that this is needed overall and that the logic makes sense, haha, since I didn't read this doc.
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 don't think we need that return based on how you made the helper functions - but either way this should be good
npm has a |
putting this on HOLD because it seems something went wrong with the API deploy today |
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! @Santhosh-Sellavel would you be able to run though the reviewer checklist? For testing I would just make sure you can make money request/ IOU request and it works fine.
Cool I'll test this one when it comes off hold |
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! Just one small NAB.
8918934
npm has a |
This is off HOLD now, @Santhosh-Sellavel all yours |
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!
On it |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-04-12.at.1.24.32.AM.movDesktopScreen.Recording.2023-04-12.at.1.24.51.AM.mov |
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 tests well!
🎯 @Santhosh-Sellavel, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #17290. |
Gonna merge this since all other reviewers had approved it already. |
✋ 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 https://github.com/luacmartins in version: 1.2.99-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.99-6 🚀
|
Details
Aggregates Expense reports in OptionsListUtils. This is kind of an unusual PR in that it doesn't really make any real changes yet, is just some prep work for Manual Requests and aggregates a variable that's not yet used.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/270490
Tests
Nothing really to test here – just implementing what it says in the doc and I assume will be a pre-requisite for future PRs.
Offline tests
None.
QA Steps
None.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
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)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
There's nothing to screenshot here as this new aggregation of Expense Reports is as-yet unused, I'm just implementing what it says in the design doc.
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android