-
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
[$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. |
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: