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 2024-08-07][$250] [Search v1] Implement action buttons #39890

Closed
luacmartins opened this issue Apr 9, 2024 · 63 comments
Closed
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 Apr 9, 2024

Implement this section of the design doc - https://docs.google.com/document/d/1ldZ85fyQO4662hLZRNFfm0_IxaP7-PWvaqc8Z33jsLQ/edit#bookmark=id.kt71e0n7yfsm

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f3a821ed6381f7c6
  • Upwork Job ID: 1821233586009483173
  • Last Price Increase: 2024-08-07
Issue OwnerCurrent Issue Owner: @greg-schroeder
@luacmartins luacmartins added the Daily KSv2 label Apr 9, 2024
@luacmartins luacmartins self-assigned this Apr 9, 2024
@luacmartins luacmartins changed the title [Search v1] Implement action buttons [HOLD][Search v1] Implement action buttons Apr 9, 2024
@trjExpensify trjExpensify moved this to Release 1: Spring 2024 (May) in [#whatsnext] #wave-collect Apr 11, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 11, 2024
Copy link

melvin-bot bot commented Apr 12, 2024

@luacmartins Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@luacmartins luacmartins added Weekly KSv2 and removed Daily KSv2 labels Apr 14, 2024
@melvin-bot melvin-bot bot removed the Overdue label Apr 14, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 22, 2024
@luacmartins luacmartins moved this from Release 1: Spring 2024 (May) to HOT PICKS in [#whatsnext] #wave-collect Apr 23, 2024
@luacmartins
Copy link
Contributor Author

On hold

@Kicu
Copy link
Contributor

Kicu commented May 6, 2024

hey, I would like to work on this task today

@Kicu
Copy link
Contributor

Kicu commented May 6, 2024

@luacmartins some questions regarding design doc:

1.

Which set of actions should we support? according to the list in design doc: https://docs.google.com/document/d/1ldZ85fyQO4662hLZRNFfm0_IxaP7-PWvaqc8Z33jsLQ/edit#bookmark=id.kt71e0n7yfsm
we have: done | paid | review | pay | approve | hold | submit
but in the pseudocode below there is also delete should I include it?

2.

Is the action type and translation view or review because right now api returns view?

3.

I can see that we already have API commands for some of these functions, example:

[WRITE_COMMANDS.PAY_MONEY_REQUEST]: Parameters.PayMoneyRequestParams;
and they have their payloads defined. So I'm assuming that I should be using those existing commands.
If yes - then where should I take the required params from? For example Pay (https://github.com/Expensify/App/blob/a86501a237cdecd54356cb47b64c629086e6a30f/src/libs/API/parameters/PayMoneyRequestParams.ts) we need: iouReportID, chatReportID, reportActionID, paymentMethodType Should I assume they will be available inside the TransactionItem data?

@luacmartins
Copy link
Contributor Author

luacmartins commented May 6, 2024

Which set of actions should we support?

I added the missing ones to the doc, but the full list is: done | paid | review | pay | approve | hold | submit | view. Delete is only possible either on the bulk action dropdown or via the transaction thread three dot menu

Is the action type and translation view or review because right now api returns view?

We have both, view just navigates the user to the transaction thread reportID in the RHP. Review will do the same, but will be shown when hasErrors is true, indicating that the admin should review the request (and potentially make edits) instead of just view it.

I can see that we already have API commands for some of these functions, example:

No, we'll need to create new commands since the existing ones update "live" Onyx data and work offline. The API requests from Search will not work like that because the users might not have "live" data for those transactions, reports, policies, etc. So those commands need to rely only on the Search data in snapshot.data. These commands will only work online with the limited information available in the snapshot key.

@melvin-bot melvin-bot bot removed the Overdue label May 6, 2024
@luacmartins
Copy link
Contributor Author

@Kicu also noting that this issue will be put on hold until we migrate some existing code in the backend. So I'd recommend picking another one for now.

@Kicu
Copy link
Contributor

Kicu commented May 7, 2024

Alright I'm stopping work on this one for now 👍 thanks for the answers they will be useful when I return to this.

I created a draft just so that I won't loose my work, its unfinished (~50% work done I think) so don't review.

@luacmartins luacmartins added NewFeature Something to build that is a new item. Planning Changes still in the thought process labels May 7, 2024
Copy link

melvin-bot bot commented May 7, 2024

Triggered auto assignment to @greg-schroeder (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@luacmartins luacmartins added Awaiting Payment Auto-added when associated PR is deployed to production External Added to denote the issue can be worked on by a contributor and removed Reviewing Has a PR in review labels Aug 7, 2024
@melvin-bot melvin-bot bot changed the title [Search v1] Implement action buttons [$250] [Search v1] Implement action buttons Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01f3a821ed6381f7c6

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

Current assignees @ishpaul777 and @eh2077 are eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 7, 2024
@luacmartins luacmartins changed the title [$250] [Search v1] Implement action buttons [HOLD for payment 2024-08-07][$250] [Search v1] Implement action buttons Aug 7, 2024
@luacmartins luacmartins removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

Payment Summary

Upwork Job

  • Contributor: @Kicu is from an agency-contributor and not due payment
  • ROLE: @ishpaul777 paid $(AMOUNT) via Upwork (LINK)
  • ROLE: @eh2077 paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@greg-schroeder)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1821233586009483173/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@greg-schroeder
Copy link
Contributor

greg-schroeder commented Aug 8, 2024

Processing - are there other payments I need to make here? This issue is a bit difficult to follow 😅

@ishpaul777
Copy link
Contributor

ishpaul777 commented Aug 8, 2024

I reviewed this Pr #45712, linked to this issue. The payment issue #45728 was closed without payment

@greg-schroeder
Copy link
Contributor

Okay, got it, thank you

@eh2077
Copy link
Contributor

eh2077 commented Aug 8, 2024

My case is similar - I helped to review this PR #41725 and there's no automation to track the payment.

@luacmartins
Copy link
Contributor Author

Processing - are there other payments I need to make here? This issue is a bit difficult to follow 😅

I think only the payments to @ishpaul777 and @eh2077 as mentioned in the summary here

@melvin-bot melvin-bot bot added the Overdue label Aug 12, 2024
@greg-schroeder
Copy link
Contributor

Okay got it, processing, sorry for delay

@melvin-bot melvin-bot bot removed the Overdue label Aug 12, 2024
@greg-schroeder
Copy link
Contributor

Offers sent to @eh2077 and @ishpaul777

@greg-schroeder
Copy link
Contributor

I'll pay these ASAP as soon as you accept 👍

@github-project-automation github-project-automation bot moved this from Release 2: Summer 2024 (Aug) to Done in [#whatsnext] #wave-collect Aug 12, 2024
@eh2077
Copy link
Contributor

eh2077 commented Aug 12, 2024

@greg-schroeder Offer accepted, thank you!

@ishpaul777
Copy link
Contributor

Seems like my offer is withdrawn

image

@greg-schroeder
Copy link
Contributor

? That's... weird. I definitely didn't withdraw it, lol

@greg-schroeder
Copy link
Contributor

Upwork is a very good program. I will try again

@greg-schroeder
Copy link
Contributor

Re-sent

@ishpaul777
Copy link
Contributor

Thanks, Accpted offer!

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
No open projects
Status: Done
Development

No branches or pull requests

7 participants