-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-03-10] [$125] Refactor getTrackExpenseInformation to use a parameter object #57190
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
Comments
Job added to Upwork: https://www.upwork.com/jobs/~021892615722799321204 |
Triggered auto assignment to @VictoriaExpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Refactor convertTrackedExpenseToRequest function to use a parameter object What is the root cause of that problem?This is an improvement What changes do you think we should make in order to solve the problem?Wrap all parameters of this function into one object and in this object, we can have some sub-objects that will wrap the related data. Line 3079 in 32cfa66
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional) |
@neil-marcellini Please assign me. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The What is the root cause of that problem?The function takes too many separate arguments instead of a single object, making it harder to read and manage. What changes do you think we should make in order to solve the problem?Change Lines 3079 to 3101 in 32cfa66
Also, update all function calls to use the new object format. Lines 4821 to 4845 in 32cfa66
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
📣 @KALU-c! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@mkzie2 @KALU-c Thank you for the proposals. Given that this is a straightforward change we'd go with the first proposal i.e. @mkzie2 `s 🎀 👀 🎀 C+ reviewed |
Current assignee @neil-marcellini is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @mkzie2 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Upwork job price has been updated to $125 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.7-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-10. 🎊 For reference, here are some details about the assignees on this issue:
|
@s77rt @VictoriaExpensify @s77rt The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
No checklist is needed |
$125 approved for @s77rt |
Uh oh!
There was an error while loading. Please reload this page.
As part of the tracking issue, and as advised in its description, refactor
getTrackExpenseInformation
to use a parameter object.Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: