Skip to content
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 2023-12-18] Remove sideloading of Onyx data forMoneyRequestView.js #32443

Closed
Tracked by #27262
tgolen opened this issue Dec 4, 2023 · 12 comments
Closed
Tracked by #27262
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@tgolen
Copy link
Contributor

tgolen commented Dec 4, 2023

Coming from #27262

Problem

These methods are anti-patterns because they are most always used for loading data into a component without using withOnyx(). This breaks the data flow of a react application. (data is coming from somewhere that is not props or state and cannot be debugged in react dev tools).

Solution

Switch all references to properly use withOnyx() for components and connect() for libs.

@tgolen tgolen self-assigned this Dec 4, 2023
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 4, 2023
@melvin-bot melvin-bot bot changed the title Remove sideloading of Onyx data forMoneyRequestView.js [HOLD for payment 2023-12-18] Remove sideloading of Onyx data forMoneyRequestView.js Dec 11, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 11, 2023
Copy link

melvin-bot bot commented Dec 11, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Dec 11, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.10-1 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 2023-12-18. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Dec 18, 2023
@tgolen tgolen added the Bug Something is broken. Auto assigns a BugZero manager. label Dec 18, 2023
Copy link

melvin-bot bot commented Dec 18, 2023

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

This comment was marked as off-topic.

@tgolen
Copy link
Contributor Author

tgolen commented Dec 18, 2023

@trjExpensify Can you please help here with the payouts?

@Santhosh-Sellavel needs to be paid for a C+ review

@trjExpensify
Copy link
Contributor

Yep, can do! This looks like a regular job, not something like TypeScript migration related. So I can confirm the payout is $500 for the C+ review of the internal PR.

@Santhosh-Sellavel once you've confirmed to have requested on NewDot, we can close this out.

@trjExpensify
Copy link
Contributor

Bump @Santhosh-Sellavel have you requested?

@melvin-bot melvin-bot bot added the Overdue label Dec 22, 2023
Copy link

melvin-bot bot commented Dec 25, 2023

@tgolen, @trjExpensify Huh... This is 4 days overdue. Who can take care of this?

@tgolen
Copy link
Contributor Author

tgolen commented Dec 26, 2023

Bump @Santhosh-Sellavel to accept request.

@melvin-bot melvin-bot bot removed the Overdue label Dec 26, 2023
@Santhosh-Sellavel
Copy link
Collaborator

Feel free close this one, I'll request on ND later this week!

@tgolen tgolen closed this as completed Dec 26, 2023
@Santhosh-Sellavel
Copy link
Collaborator

Requested on ND

@JmillsExpensify
Copy link

$500 payment approved for @Santhosh-Sellavel based on this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
None yet
Development

No branches or pull requests

4 participants