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-08-28] [$1000] [Manual Requests] Refactor usages of action.originalMessage to the transactions key in Onyx #22208

Closed
luacmartins opened this issue Jul 4, 2023 · 50 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@luacmartins
Copy link
Contributor

luacmartins commented Jul 4, 2023

Problem

We are now storing the transactions key in Onyx and should no longer use action.originalMessage.<amount|comment|date|etc>.

Why is this important?

Avoids data duplication and keeps the codebase clean and less confusing

Solution

Refactor the code!

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014f38a35df644bdf5
  • Upwork Job ID: 1676296881515593728
  • Last Price Increase: 2023-07-05
@luacmartins luacmartins added Daily KSv2 NewFeature Something to build that is a new item. labels Jul 4, 2023
@luacmartins luacmartins self-assigned this Jul 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 4, 2023

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 4, 2023

Triggered auto assignment to Design team member for new feature review - @shawnborton (NewFeature)

@luacmartins
Copy link
Contributor Author

This is purely a code refactor and doesn't touch any design. So I'm gonna unassign @shawnborton.

@luacmartins luacmartins added the Internal Requires API changes or must be handled by Expensify staff label Jul 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 4, 2023

Job added to Upwork: https://www.upwork.com/jobs/~014f38a35df644bdf5

@melvin-bot
Copy link

melvin-bot bot commented Jul 4, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @sobitneupane (Internal)

@kowczarz
Copy link
Contributor

kowczarz commented Jul 5, 2023

Hello! I'm from Software Mansion, I'd like to work on this job.

@luacmartins luacmartins added External Added to denote the issue can be worked on by a contributor and removed Internal Requires API changes or must be handled by Expensify staff labels Jul 5, 2023
@melvin-bot melvin-bot bot changed the title [Manual Requests] Refactor usages of action.originalMessage to the transactions key in Onyx [$1000] [Manual Requests] Refactor usages of action.originalMessage to the transactions key in Onyx Jul 5, 2023
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 5, 2023

Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 5, 2023

Current assignee @sobitneupane is eligible for the External assigner, not assigning anyone new.

@luacmartins luacmartins removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 5, 2023
@kowczarz
Copy link
Contributor

kowczarz commented Jul 7, 2023

Am I correct and the scope of the task is only src/libs/actions/Report.js or should I do it in all actions? And where can I find more docs about the new convention?

@luacmartins
Copy link
Contributor Author

Hey @kowczarz. No, the scope is the entire App. We want to eventually deprecate originalMessage.

@luacmartins
Copy link
Contributor Author

What docs are you looking for? The data currently found in originalMessage should be available in the new transactions key

@melvin-bot melvin-bot bot added the Overdue label Jul 10, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 11, 2023
@luacmartins
Copy link
Contributor Author

Got a draft PR up. Will finish once the related Edit IOU PR is merged.

@melvin-bot melvin-bot bot removed the Overdue label Aug 14, 2023
@luacmartins luacmartins added the Reviewing Has a PR in review label Aug 15, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Aug 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 17, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot
Copy link

melvin-bot bot commented Aug 17, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot
Copy link

melvin-bot bot commented Aug 19, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 21, 2023
@melvin-bot melvin-bot bot changed the title [$1000] [Manual Requests] Refactor usages of action.originalMessage to the transactions key in Onyx [HOLD for payment 2023-08-28] [$1000] [Manual Requests] Refactor usages of action.originalMessage to the transactions key in Onyx Aug 21, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.55-8 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-08-28. 🎊

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

For reference, here are some details about the assignees on this issue:

  • @sebryu does not require payment (Contractor)
  • @sobitneupane does not require payment (Eligible for Manual Requests)

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 Daily KSv2 labels Aug 28, 2023
@luacmartins
Copy link
Contributor Author

We're over the regression period. I see that nobody requires payment here, so I'm gonna close this issue. Please let me know if I missed something and we need to reopen this issue.

@sebryu does not require payment (Contractor)
@sobitneupane does not require payment (Eligible for Manual Requests)

@melvin-bot melvin-bot bot removed the Overdue label Aug 30, 2023
@mountiny
Copy link
Contributor

@sobitneupane @adelekennedy I think we still need to post the summarizing post for what the payments for Manual requests will be

@adelekennedy
Copy link

double check me @mountiny - only @sobitneupane is due for the internal PR review, is that correct?

@luacmartins
Copy link
Contributor Author

that sounds correct to me

@adelekennedy
Copy link

Payouts due:

Contributor+: $500 for internal PR review @sobitneupane. NewDot

@sobitneupane
Copy link
Contributor

Requested payment on newDot

#22208 (comment)

@JmillsExpensify
Copy link

$500 approved for payment via NewDot based on BZ summary.

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 Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

10 participants