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-07-22] [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction #39989

Closed
NikkiWines opened this issue Apr 10, 2024 · 63 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Design External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@NikkiWines
Copy link
Contributor

NikkiWines commented Apr 10, 2024

Slack discussion here

Goal

Expand upon the new UI pattern introduced as part of the Wave 5/6: Update how we display / report expenses doc to include reports where all transactions that are on HOLD (including reports with only one transaction where we show only one expense) using the copy "All requests were put on hold. Review the comments for next steps."

Note 1: that a report could be in two states simultaneously: the receipt could be scanning and the transaction(s) on the report could be on hold

Note 2: One-transaction reports currently do not show an option to hold an expense, but this is easily rectified by including the logic from here in src/components/MoneyReportHeader.tsx

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017ed767635e9fa640
  • Upwork Job ID: 1777965895318855680
  • Last Price Increase: 2024-05-10
  • Automatic offers:
    • dukenv0307 | Reviewer | 0
    • tienifr | Contributor | 0
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @JmillsExpensify
@NikkiWines NikkiWines added Weekly KSv2 Internal Requires API changes or must be handled by Expensify staff labels Apr 10, 2024
Copy link

melvin-bot bot commented Apr 10, 2024

Job added to Upwork: https://www.upwork.com/jobs/~017ed767635e9fa640

Copy link

melvin-bot bot commented Apr 10, 2024

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

@NikkiWines
Copy link
Contributor Author

Adding design so we can get some mocks of how this should ideally look 🙇

Copy link

melvin-bot bot commented Apr 10, 2024

Triggered auto assignment to @shawnborton (Design), see these Stack Overflow questions for more details.

@shawnborton
Copy link
Contributor

Note 1: that a report could be in two states simultaneously: the receipt could be scanning and the transaction(s) on the report could be on hold

My understanding was that this isn't possible for a one-expense report: you can't hold a scanning receipt. Is that right @trjExpensify @JmillsExpensify ?

@trjExpensify
Copy link
Contributor

Doesn't look like we block the Hold request action on a scanning receipt today, so we double up:

image

.. but I think it makes sense to not allow it, because we're going to apply the "pending" pattern to a scanning receipt anyway and it can't be approved/paid. It'll be moved to another report if that action is taken.

@shawnborton
Copy link
Contributor

I believe @dragnoir is in the process of fixing that. @dragnoir can you provide an update?

@shawnborton
Copy link
Contributor

In terms of the banner style, I posted to Slack but I think it might look something like this:
CleanShot 2024-04-10 at 19 26 13@2x

@JmillsExpensify
Copy link

Can't think of a reason why we'd block holding a scanning receipt, though I'm not super passionate.

@shawnborton
Copy link
Contributor

Ah, you said the opposite over here:
CleanShot 2024-04-10 at 20 06 34@2x

@dragnoir
Copy link
Contributor

I believe @dragnoir is in the process of fixing that. @dragnoir can you provide an update?

Yes, we are working on an update where you can't HOLD a scanning request. The option to HOLD on the 3 dots menu will no be available.

@melvin-bot melvin-bot bot added the Overdue label Apr 18, 2024
@shawnborton
Copy link
Contributor

What's the latest here?

@melvin-bot melvin-bot bot removed the Overdue label Apr 18, 2024
@dragnoir
Copy link
Contributor

Once this PR is merged #40101 then I will finish the PR of this issue #38471

@trjExpensify trjExpensify changed the title Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction [Held requests] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction Apr 24, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 26, 2024
@shawnborton
Copy link
Contributor

We just need to get the PR here reviewed and merged it seems.

@melvin-bot melvin-bot bot removed the Overdue label Apr 29, 2024
@trjExpensify
Copy link
Contributor

Did this part of the OP not get worked on?

Note 2: One-transaction reports currently do not show an option to hold an expense, but this is easily rectified by including the logic from here in src/components/MoneyReportHeader.tsx

@melvin-bot melvin-bot bot added the Overdue label May 7, 2024
@trjExpensify
Copy link
Contributor

Bump @dragnoir ^^

@trjExpensify
Copy link
Contributor

I'm going to move this into [One expense reports] to track for August!

@JmillsExpensify JmillsExpensify changed the title [HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction Jun 22, 2024
Copy link

melvin-bot bot commented Jun 26, 2024

⚠️ 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.

Copy link

melvin-bot bot commented Jun 26, 2024

⚠️ 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 and removed Weekly KSv2 labels Jun 27, 2024
Copy link

melvin-bot bot commented Jun 28, 2024

⚠️ 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 and removed Weekly KSv2 labels Jul 3, 2024
@melvin-bot melvin-bot bot changed the title [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction [HOLD for payment 2024-07-10] [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction Jul 3, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 3, 2024
Copy link

melvin-bot bot commented Jul 3, 2024

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

Copy link

melvin-bot bot commented Jul 3, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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 2024-07-10. 🎊

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

Copy link

melvin-bot bot commented Jul 3, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@dukenv0307] The PR that introduced the bug has been identified. Link to the PR:
  • [@dukenv0307] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@dukenv0307] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@dukenv0307] Determine if we should create a regression test for this bug.
  • [@dukenv0307] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@JmillsExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@dukenv0307
Copy link
Contributor

BugZero Checklist:

  • The PR that introduced the bug has been identified. Link to the PR: N/A
  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
  • Determine if we should create a regression test for this bug. Yes
  • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression test:

  1. Submit an expense (make sure it's the only expense in the expense report)
  2. Press the report preview to open one transaction view
  3. Put the expense on hold
  4. Verify the hold education interstitial appears
  5. Verify the hold message and reason appear in the expense report
  6. Verify Hold banner appears in report header
  7. Unhold the expense
  8. Verify the unhold message appears
  9. Verify Hold banner disappears in report header
  10. Verify Submit button appears in both report preview and report header

Do we 👍 or 👎

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 10, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-10] [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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 2024-07-17. 🎊

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

Copy link

melvin-bot bot commented Jul 10, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@dukenv0307] The PR that introduced the bug has been identified. Link to the PR:
  • [@dukenv0307] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@dukenv0307] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@dukenv0307] Determine if we should create a regression test for this bug.
  • [@dukenv0307] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@JmillsExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 15, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction [HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] [$250] [One expense reports] Update the UI for Held transactions in Single Transaction Report Preview / MoneyRequestAction Jul 15, 2024
Copy link

melvin-bot bot commented Jul 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-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 2024-07-22. 🎊

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

Copy link

melvin-bot bot commented Jul 15, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@dukenv0307] The PR that introduced the bug has been identified. Link to the PR:
  • [@dukenv0307] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@dukenv0307] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@dukenv0307] Determine if we should create a regression test for this bug.
  • [@dukenv0307] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@JmillsExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@JmillsExpensify
Copy link

@alexpensify are we paying this PR via your issue or this one?

@alexpensify
Copy link
Contributor

I started the payment process in my GH. We can combine the two since it was one PR.

@JmillsExpensify
Copy link

Ok cool, so then I'll just close this one out. Someone please comment if you disagree.

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. Design External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests

10 participants