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] IOU - Missing Hold request, Replace and Delete receipt option when there is one IOU request #39491

Closed
6 tasks done
izarutskaya opened this issue Apr 3, 2024 · 17 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 3, 2024

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

@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 3, 2024
Copy link

melvin-bot bot commented Apr 3, 2024

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

Copy link

melvin-bot bot commented Apr 3, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 3, 2024
Copy link
Contributor

github-actions bot commented Apr 3, 2024

👋 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.

@nkdengineer
Copy link
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

@izarutskaya
Copy link
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.

@izarutskaya
Copy link
Author

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

@arosiclair
Copy link
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.

@arosiclair arosiclair removed the DeployBlockerCash This issue or pull request should block deployment label Apr 3, 2024
@kbecciv
Copy link

kbecciv commented Apr 4, 2024

Reopening the issue for a second chance. It seems to occur only when there is a single request.

20240405_051225.1.mp4

@kbecciv kbecciv reopened this Apr 4, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 8, 2024
@arosiclair
Copy link
Contributor

Reopening the issue for a second chance. It seems to occur only when there is a single request.

This seems to be for the three dot menu on the expense. I'm not sure if that behavior is expected or not I'll ask internally

@melvin-bot melvin-bot bot removed the Overdue label Apr 8, 2024
@arosiclair arosiclair added Daily KSv2 and removed Engineering Hourly KSv2 labels Apr 8, 2024
@arosiclair
Copy link
Contributor

Discussion about this is ongoing here and here. I'm gonna put a hold on this since there's no UI to show which expenses are held.

@arosiclair arosiclair changed the title IOU - Missing Hold request, Replace and Delete receipt option when there is one IOU request [HOLD] IOU - Missing Hold request, Replace and Delete receipt option when there is one IOU request Apr 9, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 11, 2024
@arosiclair
Copy link
Contributor

Unassigning since there's no more action to take for now

@melvin-bot melvin-bot bot removed the Overdue label Apr 12, 2024
@arosiclair arosiclair removed their assignment Apr 12, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 15, 2024
Copy link

melvin-bot bot commented Apr 15, 2024

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

@stephanieelliott
Copy link
Contributor

Moving to Weekly while we're on hold

@melvin-bot melvin-bot bot removed the Overdue label Apr 15, 2024
@stephanieelliott stephanieelliott added Weekly KSv2 Overdue and removed Daily KSv2 labels Apr 15, 2024
@melvin-bot melvin-bot bot removed the Overdue label Apr 15, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 24, 2024
@stephanieelliott
Copy link
Contributor

Still held

@melvin-bot melvin-bot bot removed the Overdue label May 3, 2024
@melvin-bot melvin-bot bot added the Overdue label May 13, 2024
@stephanieelliott
Copy link
Contributor

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

Still held

@melvin-bot melvin-bot bot removed the Overdue label May 16, 2024
@melvin-bot melvin-bot bot added the Overdue label May 24, 2024
@stephanieelliott
Copy link
Contributor

Still holding

@melvin-bot melvin-bot bot removed the Overdue label May 25, 2024
@melvin-bot melvin-bot bot added the Overdue label Jun 3, 2024
@stephanieelliott
Copy link
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
Labels
Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests

5 participants