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 E/E #359760] [$500] No "Hold Request" and "Add a receipt" option on workspace expense report as Admin #36202

Closed
6 tasks done
kavimuru opened this issue Feb 9, 2024 · 93 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@kavimuru
Copy link

kavimuru commented Feb 9, 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!


Issue found when executing #35744
Version Number: 1.4.39-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Create a new expense request on a collect policy
  2. Submit the expense
  3. Open the expense report
  4. Right-click/long-press the expense preview
  5. (if employee) Verify there is no Delete Request (if admin) Verify there is a Delete Request option
  6. Press the expense preview to open the transaction thread
  7. Press the three-dots button
  8. (if employee) Verify there is no Delete Request and Add receipt (if admin) Verify there is a Delete Request and Add receipt option

Expected Result:

There should be Hold Request and Add a receipt option on Admins side

Actual Result:

No "Hold Request" and "Add a receipt" option on workspace expense report as Admin

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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

Add any screenshot/video evidence

Bug6372780_1707437362871.Recording__2143.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c35580d297f84569
  • Upwork Job ID: 1755778907181215744
  • Last Price Increase: 2024-03-08
@kavimuru kavimuru added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 9, 2024
@melvin-bot melvin-bot bot changed the title No "Delete Request" and "Add a receipt" option on workspace expense report as Admin [$500] No "Delete Request" and "Add a receipt" option on workspace expense report as Admin Feb 9, 2024
Copy link

melvin-bot bot commented Feb 9, 2024

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

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

melvin-bot bot commented Feb 9, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (External)

Copy link

melvin-bot bot commented Feb 9, 2024

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

@kavimuru kavimuru added the DeployBlockerCash This issue or pull request should block deployment label Feb 9, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 9, 2024
Copy link
Contributor

github-actions bot commented Feb 9, 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.

Copy link

melvin-bot bot commented Feb 9, 2024

Auto-assign attempt failed, all eligible assignees are OOO.

@bernhardoj
Copy link
Contributor

As the test step coming from my PR, I would like to clarify one thing. The delete request and add receipt option will be shown if the user is an admin AND the action/request owner, so this is not a bug.

Copy link

melvin-bot bot commented Feb 9, 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.

@hoangzinh
Copy link
Contributor

The delete request and add receipt option will be shown if the user is an admin AND the action/request owner, so this is not a bug.

@bernhardoj could you share where did we discuss about this behavior? Because I think the Admin should have permission to delete request option, shouldn't they?

@bernhardoj
Copy link
Contributor

The action owner condition has existed for quite some time

if (isActionOwner) {

and I added the admin condition based on this comment

@hoangzinh
Copy link
Contributor

Thank @bernhardoj. @MitchExpensify what do you think about our new expected behavior?

@marcaaron
Copy link
Contributor

Create a new expense request on a collect policy

Gonna mark this as a non-blocker as people on Collect policies are not actually using these flows yet

@marcaaron marcaaron added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 9, 2024
@melvin-bot melvin-bot bot added the Overdue label Feb 12, 2024
Copy link

melvin-bot bot commented Feb 13, 2024

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

@youssef-lr
Copy link
Contributor

I've added a fix here since I touched that logic in the PR 06f3d4d, this is aligned with what we have in OldDot

@trjExpensify
Copy link
Contributor

So this will be fixed by #46931 in review, right?

@youssef-lr
Copy link
Contributor

Yup!

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

melvin-bot bot commented Aug 12, 2024

@hoangzinh, @youssef-lr, @kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@hoangzinh
Copy link
Contributor

Not overdue, PR has been merged

Copy link

melvin-bot bot commented Aug 16, 2024

@hoangzinh, @youssef-lr, @kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick!

@hoangzinh
Copy link
Contributor

@youssef-lr The PR #46931 has been deployed to Prod. Are we good to re-test this issue?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Aug 19, 2024
Copy link

melvin-bot bot commented Aug 22, 2024

@hoangzinh, @youssef-lr, @kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@kevinksullivan
Copy link
Contributor

it's been a while so we no longer have the three dots, but I see hold on this expense.
image

@melvin-bot melvin-bot bot removed the Overdue label Aug 24, 2024
@kevinksullivan
Copy link
Contributor

@hoangzinh original posting expired so here is a new one in upwork

https://www.upwork.com/jobs/~014ecea72e003c577c

lmk when you accept!

@hoangzinh
Copy link
Contributor

It's an internal issue and I haven't reviewed the PR so no payment for me @kevinksullivan

@melvin-bot melvin-bot bot added the Overdue label Aug 28, 2024
Copy link

melvin-bot bot commented Aug 29, 2024

@hoangzinh, @youssef-lr, @kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@kevinksullivan
Copy link
Contributor

still looking for internal volunteer

@melvin-bot melvin-bot bot removed the Overdue label Aug 30, 2024
@hoangzinh
Copy link
Contributor

@kevinksullivan It appears that we're good to close this issue #36202 (comment). Arent' we? 🤔

@melvin-bot melvin-bot bot added the Overdue label Sep 2, 2024
Copy link

melvin-bot bot commented Sep 2, 2024

@hoangzinh, @youssef-lr, @kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick!

@hoangzinh
Copy link
Contributor

hoangzinh commented Sep 3, 2024

Not overdue, I think we can close this issue

@melvin-bot melvin-bot bot removed the Overdue label Sep 3, 2024
@trjExpensify
Copy link
Contributor

#36202 (comment) - yep, closing.

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. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
Status: Done
Development

No branches or pull requests