-
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
[HOLD for payment 2025-01-18] [$250] Remove withCurrentReportID HOC #50510
Comments
Not a priority |
Same |
Job added to Upwork: https://www.upwork.com/jobs/~021869425871317443271 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dominictb ( |
Edited by proposal-police: This proposal was edited at 2024-12-18 17:02:18 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Remove withCurrentReportID HOC What is the root cause of that problem?Refactor What changes do you think we should make in order to solve the problem?Replace every usage of withCurrentReportID hoc with useCurrentReportID hook App/src/components/withCurrentReportID.tsx Lines 64 to 69 in 804df09
Places to replce the hoc App/src/pages/home/ReportScreen.tsx Line 882 in 804df09
And we should check for all used palces What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional) |
cole Your proposal will be dismissed because you did not follow the proposal template. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove withCurrentReportID HOC What is the root cause of that problem?Improvement What changes do you think we should make in order to solve the problem?
App/src/components/withCurrentReportID.tsx Lines 64 to 69 in 804df09
App/src/pages/home/ReportScreen.tsx Line 882 in 17b3ef9
App/src/components/withCurrentReportID.tsx Lines 64 to 69 in 0943fb6
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional)NA 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. |
on it now |
@etCoderDysto's proposal look good to me. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Moving the logic of |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@chiragsalian @luacmartins can you please take a look at this decision when you have a chance? |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @etCoderDysto 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Sorry, was ooo. Assinged @etCoderDysto to the issue |
Thanks! Pr will be ready for review by tomorrow. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.83-5 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-01-18. 🎊 For reference, here are some details about the assignees on this issue:
|
Issue is ready for payment but no BZ is assigned. @trjExpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Perf optimisation to remove an unused HOC, no regression test needed. Payment summary as follows:
Paid, closing! |
Coming from here, we should remove the
withCurrentReportID
HOC in favor ofuseCurrentReportID
hookUpwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dominictbThe text was updated successfully, but these errors were encountered: