Skip to content

[HOLD] IOU - Missing Hold request, Replace and Delete receipt option when there is one IOU request #39491

Closed

Description

@izarutskaya

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.59-3
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to 1:1 DM with user that has no unsettled IOU.
  3. Create a manual request with receipt.
  4. Click on the IOU preview.
  5. Click 3-dot menu.

Expected Result:

Hold request option will be present.

Actual Result:

Hold request option is not present.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6436285_1712120121764.bandicam_2024-04-03_12-49-20-306.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Apr 3, 2024
  2. melvin-bot commented on Apr 3, 2024

    @melvin-bot

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

  3. melvin-bot commented on Apr 3, 2024

    @melvin-bot

    Triggered auto assignment to @arosiclair (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. github-actions commented on Apr 3, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  5. nkdengineer commented on Apr 3, 2024

    @nkdengineer
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Hold request, Replace and Delete receipt option are missing when there is only one IOU request.

    What is the root cause of that problem?

    We don't add hold or uphold option into three-dot menu items of MoneyReportHeader

    if (canDeleteRequest && !isEmptyObject(transactionThreadReport)) {

    For three-dot in receipt, this is dupe of #39436 (comment)

    What changes do you think we should make in order to solve the problem?

    We should use the same approach in MoneyRequestHeader to add hold or unhold option to three-dot menu item.

    if (!isOnHold && (isRequestIOU || canModifyStatus)) {

    if (isOnHold && (isHoldCreator || (!isRequestIOU && canModifyStatus))) {

    if (canDeleteRequest && !isEmptyObject(transactionThreadReport)) {

    What alternative solutions did you explore? (Optional)

    NA

  6. izarutskaya commented on Apr 3, 2024

    @izarutskaya
    Author

    @stephanieelliott I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

  7. izarutskaya commented on Apr 3, 2024

    @izarutskaya
    Author

    We think this issue might be related to the #collect project.

  8. arosiclair commented on Apr 3, 2024

    @arosiclair
    Contributor

    I wouldn't expect Hold request to be in the 3-dot menu for the receipt image. I would expect Replace and Delete though. If we are going to address Replace and Delete in #39436, then I think we can close this out.

  9. 25 remaining items

  10. stephanieelliott commented on May 3, 2024

    @stephanieelliott
    Contributor

    Still held

  11. stephanieelliott commented on May 16, 2024

    @stephanieelliott
    Contributor

    I'm gonna put a hold on this since there's no UI to show which expenses are held.

    Still held

  12. stephanieelliott commented on May 25, 2024

    @stephanieelliott
    Contributor

    Still holding

  13. stephanieelliott commented on Jun 4, 2024

    @stephanieelliott
    Contributor

    We have a design for the UI pattern now, this scenario has been incorporated into the design: #39989

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions