Skip to content

[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

Description

@NikkiWines

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

Activity

  1. added
    InternalRequires API changes or must be handled by Expensify staff
    on Apr 10, 2024
  2. melvin-bot commented on Apr 10, 2024

    @melvin-bot
  3. melvin-bot commented on Apr 10, 2024

    @melvin-bot

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

  4. NikkiWines commented on Apr 10, 2024

    @NikkiWines
    ContributorAuthor

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

  5. melvin-bot commented on Apr 10, 2024

    @melvin-bot

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

  6. shawnborton commented on Apr 10, 2024

    @shawnborton
    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 ?

  7. trjExpensify commented on Apr 10, 2024

    @trjExpensify
    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.

  8. shawnborton commented on Apr 10, 2024

    @shawnborton
    Contributor

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

  9. shawnborton commented on Apr 10, 2024

    @shawnborton
    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

  10. JmillsExpensify commented on Apr 10, 2024

    @JmillsExpensify
    Contributor

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

  11. shawnborton commented on Apr 10, 2024

    @shawnborton
    Contributor

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

  12. 96 remaining items

  13. 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[/+] on Jul 10, 2024
  14. melvin-bot commented on Jul 10, 2024

    @melvin-bot

    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:

  15. melvin-bot commented on Jul 10, 2024

    @melvin-bot

    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:
  16. 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[/+] on Jul 15, 2024
  17. melvin-bot commented on Jul 15, 2024

    @melvin-bot

    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:

  18. melvin-bot commented on Jul 15, 2024

    @melvin-bot

    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:
  19. JmillsExpensify commented on Jul 23, 2024

    @JmillsExpensify
    Contributor

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

  20. alexpensify commented on Jul 23, 2024

    @alexpensify
    Contributor

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

  21. JmillsExpensify commented on Jul 24, 2024

    @JmillsExpensify
    Contributor

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

  22. moved this from Release 2: Summer 2024 (Aug) to Done in [#whatsnext] #wave-collecton Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DesignExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions