Skip to content

[HOLD for payment 2025-02-06] [$250] Expense - Hold option is missing in the context menu #55827

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

Closed
8 tasks done
mitarachim opened this issue Jan 28, 2025 · 29 comments
Closed
8 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@mitarachim
Copy link

mitarachim commented Jan 28, 2025

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.90-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Money Requests

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Submit two expenses to the workspace chat.
  4. Go to expense report.
  5. Click on the expense preview.
  6. Go back to the expense report.
  7. Right click on the expense preview.

Expected Result:

There should be Hold option in the context menu (production behavior).

Actual Result:

Hold option is missing in the context menu.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6725676_1738031730142.20250128_100124.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021884172494858147022
  • Upwork Job ID: 1884172494858147022
  • Last Price Increase: 2025-01-28
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @mallenexpensify
@mitarachim mitarachim added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 DeployBlockerCash This issue or pull request should block deployment labels Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

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

Copy link

melvin-bot bot commented Jan 28, 2025

Triggered auto assignment to @mallenexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Jan 28, 2025

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jan 28, 2025
Copy link
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.

@techievivek
Copy link
Contributor

Could be related to this? #55536

@techievivek
Copy link
Contributor

Hmm, but I am not seeing any obvious change in that PR that could have caused this.

@techievivek
Copy link
Contributor

@kubabutkiewicz @paultsimura can you please take a look at this GH and see if it could be related to the above PR?

@kubabutkiewicz
Copy link
Contributor

Sure will take a look

@paultsimura
Copy link
Contributor

I've reverted our PR locally and the issue is still reproducible

@kubabutkiewicz
Copy link
Contributor

kubabutkiewicz commented Jan 28, 2025

@techievivek I reverted the PR and this is still reproducable

@techievivek
Copy link
Contributor

Oops, false alarm then I guess. Thanks for taking a look.

@paultsimura
Copy link
Contributor

paultsimura commented Jan 28, 2025

I found a fix.
Here, we've accidentally started using ReportUtilsIsMoneyRequestReport instead of ReportUtilsIsMoneyRequest.

const isMoneyRequest = useMemo(() => ReportUtilsIsMoneyRequestReport(childReport), [childReport]);

Changing it back fixes the issue:

Image

Offending PR: #55697
I can prepare a fix if needed.

@paultsimura

This comment has been minimized.

@techievivek
Copy link
Contributor

Good catch, not sure why methods are named like that, it is easy to make that sort of mistake. Can you please raised the PR, I can quickly review it. Thanks.

@paultsimura
Copy link
Contributor

Yes, will be ready soon👍

@techievivek
Copy link
Contributor

Also, removing the blocker label since user can still put the request on HOLD and it should be fine to get this fixed via normal deploy.

@techievivek techievivek added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jan 28, 2025
@melvin-bot melvin-bot bot changed the title Expense - Hold option is missing in the context menu [$250] Expense - Hold option is missing in the context menu Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

Current assignee @paultsimura is eligible for the External assigner, not assigning anyone new.

@paultsimura
Copy link
Contributor

@techievivek ready for review: #55847

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 30, 2025
@melvin-bot melvin-bot bot changed the title [$250] Expense - Hold option is missing in the context menu [HOLD for payment 2025-02-06] [$250] Expense - Hold option is missing in the context menu Jan 30, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 30, 2025
Copy link

melvin-bot bot commented Jan 30, 2025

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

Copy link

melvin-bot bot commented Jan 30, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.91-2 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 2025-02-06. 🎊

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

  • @paultsimura requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jan 30, 2025

@paultsimura @mallenexpensify @paultsimura The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 5, 2025
Copy link

melvin-bot bot commented Feb 6, 2025

Payment Summary

Upwork Job

BugZero Checklist (@mallenexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1884172494858147022/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@mallenexpensify
Copy link
Contributor

@paultsimura can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~021884172494858147022

@paultsimura
Copy link
Contributor

Thanks @mallenexpensify, accepted

Copy link

melvin-bot bot commented Feb 10, 2025

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

@melvin-bot melvin-bot bot added the Overdue label Feb 10, 2025
@mallenexpensify
Copy link
Contributor

Contributor+: @paultsimura paid $250 via Newdot

@paultsimura can you fill out the BZ checklist plz? Thx

@paultsimura
Copy link
Contributor

paultsimura commented Feb 11, 2025

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
  • 2b. Reported on staging (eg. found during regression or PR testing)
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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: https://github.com/Expensify/App/pull/55697/files#r1950765613

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

  • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue:

Regression Test Proposal

Not needed as this was caught on staging while executing an existing regression test.

@mallenexpensify
Copy link
Contributor

Thanks @paultsimura !

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. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

5 participants