Skip to content

[PAY 29/04] [$250] Remove deprecated ReportActionUtils.getAllReportActions() method #39091

Closed

Description

@tgolen

This is coming from #27262. You can read the issue description there to get the context behind the problem being solved and the mess being cleaned up.

Problem

ReportActionUtils.getAllReportActions() is called from several view components and other action files which is an anti-pattern.

Why this is important to fix

It maintains a more pure and exact flow of data through the react application. If the view is using report action data, then it needs to subscribe to the data in Onyx so that it's guaranteed that the data will never be stale or out-of-date.

Solution

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01944da5c2a9fee46a
  • Upwork Job ID: 1773061588854910976
  • Last Price Increase: 2024-04-17
  • Automatic offers:
    • Ollyws | Reviewer | 0
    • godofoutcasts94 | Contributor | 0
Issue OwnerCurrent Issue Owner: @bfitzexpensify

Activity

  1. added
    External
    Daily
    Bug
    on Mar 27, 2024
  2. self-assigned this
    on Mar 27, 2024
  3. melvin-bot commented on Mar 27, 2024

    @melvin-bot
  4. added
    Help Wanted
    on Mar 27, 2024
  5. melvin-bot commented on Mar 27, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws (External)

  6. melvin-bot commented on Mar 27, 2024

    @melvin-bot

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

  7. EzraEllette commented on Mar 27, 2024

    @EzraEllette
    Contributor

    Proposed Solution:

    1. Mark getAllReportActions as deprecated similarly to getParentReport
    2. Remove export and add test.
    3. Modify action files and view components to use Onyx.
  8. melvin-bot commented on Mar 27, 2024

    @melvin-bot

    📣 @EzraEllette! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Make sure you've read and understood the contributing guidelines.
    2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  9. EzraEllette commented on Mar 27, 2024

    @EzraEllette
    Contributor

    Contributor details
    Your Expensify account email: ezrasellette@gmail.com
    Upwork Profile Link: https://www.upwork.com/freelancers/~015fecd86e270cefef?mp_source=share

  10. 37 remaining items

  11. changed the title [-][$100] Remove deprecated `ReportActionUtils.getAllReportActions()` method[/-] [+][$250] Remove deprecated `ReportActionUtils.getAllReportActions()` method[/+] on Apr 17, 2024
  12. melvin-bot commented on Apr 17, 2024

    @melvin-bot

    Upwork job price has been updated to $250

  13. EzraEllette commented on Apr 18, 2024

    @EzraEllette
    Contributor

    Thanks!

  14. EzraEllette commented on Apr 24, 2024

    @EzraEllette
    Contributor

    Can someone trigger the bot to send me an offer on upwork?

  15. tgolen commented on Apr 24, 2024

    @tgolen
    ContributorAuthor

    Is the offer up here still valid? #39091 (comment)

  16. EzraEllette commented on Apr 24, 2024

    @EzraEllette
    Contributor

    I already applied to that job. I wonder if it is still assigned to godofoutcasts?

  17. tgolen commented on Apr 24, 2024

    @tgolen
    ContributorAuthor

    @bfitzexpensify Could you help us out here, please?

  18. added
    Daily
    and removed
    Weekly
    on Apr 25, 2024
  19. bfitzexpensify commented on Apr 25, 2024

    @bfitzexpensify
    Contributor

    I've hired you on Upwork @EzraEllette.

    Looks like the PR was deployed to prod two days ago.

    Updating this to daily and updating the title to reflect the payout date.

  20. changed the title [-][$250] Remove deprecated `ReportActionUtils.getAllReportActions()` method[/-] [+][PAY 29/04] [$250] Remove deprecated `ReportActionUtils.getAllReportActions()` method[/+] on Apr 25, 2024
  21. bfitzexpensify commented on Apr 30, 2024

    @bfitzexpensify
    Contributor

    All done here.

  22. Ollyws commented on Apr 30, 2024

    @Ollyws
    Contributor

    @bfitzexpensify Also C+ payment due for me, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyExternalReviewing

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions