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 for payment 2025-02-04] [$250] Delete Receipt button is not displayed in merged transaction #53922

Closed
1 of 7 tasks
isagoico opened this issue Dec 11, 2024 · 54 comments
Closed
1 of 7 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@isagoico
Copy link

isagoico commented Dec 11, 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: v9.0.74-0

Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): tester+mergetests@applausecard.expensifail.com

Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal team

Action Performed:

Preconditions: A user has a Expensify Card transaction and the receipt to do a merge between the 2.

The account tester+mergetests@applausecard.expensifail.com is setup to test this.

  1. Log in with tester+mergetests@applausecard.expensifail.com
  2. Upload the following receipt to the WS chat
  3. Wait for the Smartscan
  4. After the transactions have been merged - Navigate to the expense conversation
  5. Open the receipt
  6. Click on the 3 dot menu in the preview

Expected Result:

There should be a Delete receipt (or detach) receipt option as there is in OldDot. After the receipt is deleted it should fallback to the eReceipt.

Actual Result:

There's no option to delete (or detach) the receipt like in OldDot.

image

Workaround:

User can detach the receipt via OldDot.

Platforms:

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

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

Screenshots/Videos

image

Untitled.video.5.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021867328664713695509
  • Upwork Job ID: 1867328664713695509
  • Last Price Increase: 2024-12-19
  • Automatic offers:
    • dominictb | Reviewer | 105403297
Issue OwnerCurrent Issue Owner: @jliexpensify
@isagoico isagoico added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 11, 2024
Copy link

melvin-bot bot commented Dec 11, 2024

Triggered auto assignment to @jliexpensify (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.

@jliexpensify
Copy link
Contributor

@joekaufmanexpensify @robertjchen @luacmartins hello - would this be a new feature? Is there a C+ that's currently working on this?

@joekaufmanexpensify
Copy link
Contributor

Not familiar with this flow, but seems like this bug came from an applause issue where we asked them to create regression tests, so I'm thinking this is in fact a bug

@jliexpensify jliexpensify added the External Added to denote the issue can be worked on by a contributor label Dec 12, 2024
@melvin-bot melvin-bot bot changed the title Delete Receipt button is not displayed in merged transaction [$250] Delete Receipt button is not displayed in merged transaction Dec 12, 2024
Copy link

melvin-bot bot commented Dec 12, 2024

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

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

melvin-bot bot commented Dec 12, 2024

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

@jliexpensify
Copy link
Contributor

Thanks Joe!

@isagoico
Copy link
Author

@joekaufmanexpensify @jliexpensify Hi there! This issue came up when I was writing tests for the merge transaction feature. I checked the behavior on OD and in ND and it seems ND is missing the detach receipt/delete receipt option. Had a discussion with @trjExpensify and @mountiny around this and seems it's either a missing feature or a bug.

@joekaufmanexpensify
Copy link
Contributor

Cool. TY!

Copy link

melvin-bot bot commented Dec 16, 2024

@jliexpensify, @dominictb 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 Dec 16, 2024
@dominictb
Copy link
Contributor

Waiting for proposals.

@melvin-bot melvin-bot bot removed the Overdue label Dec 16, 2024
@trjExpensify
Copy link
Contributor

To clarify the expectation here, do we agree on the below?

  • We only use "Delete receipt" terminology in NewDot, not "Detach receipt". ("Replace receipt" is a different button).
  • If there was an eReceipt attached prior to the merge, clicking Delete receipt would revert to show the eReceipt.
  • If there was not an eReceipt attached prior to the merge, clicking Delete receipt will just remove the user's receipt.

CC: @JmillsExpensify for eyes on this as well.

@JmillsExpensify
Copy link

I agree with all that. Let's definitely try to get away from this pretty heavy way of doing things that OldDot does around Detach receipt – especially since a receipt becomes an attachment at that point. If someone wanted to add an attachment that could have done that in the comment thread to begin with.

@trjExpensify
Copy link
Contributor

Kewl, works for me!

@dominictb
Copy link
Contributor

dominictb commented Dec 18, 2024

@jliexpensify I wonder if expert contributors could reproduce card transaction issues. If so we need one here. Because normal contributors cannot.

@jliexpensify
Copy link
Contributor

By expert contributors - do you mean someone from one of the agencies? @mountiny - is there someone you have in mind that you can recommend?

Also, just a heads up that I am OOO until the 29th - I'm happy to keep this assigned to myself, but I'll add someone else from the BugZero team to help push this along in the interim.

@jliexpensify jliexpensify removed their assignment Dec 18, 2024
@jliexpensify jliexpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Dec 18, 2024
Copy link

melvin-bot bot commented Dec 18, 2024

Triggered auto assignment to @alexpensify (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.

@jliexpensify jliexpensify self-assigned this Dec 18, 2024
@mountiny
Copy link
Contributor

Hard for me to tell from the proposal but in general it looks good

@melvin-bot melvin-bot bot added the Overdue label Jan 20, 2025
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Overdue labels Jan 20, 2025
@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 28, 2025
@melvin-bot melvin-bot bot changed the title [$250] Delete Receipt button is not displayed in merged transaction [HOLD for payment 2025-02-04] [$250] Delete Receipt button is not displayed in merged transaction Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 28, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

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

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

Copy link

melvin-bot bot commented Jan 28, 2025

@dukenv0307 / @dominictb @jliexpensify @dukenv0307 / @dominictb 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]

@garrettmknight garrettmknight moved this from Bugs and Follow Up Issues to Hold for Payment in [#whatsnext] #expense Jan 28, 2025
@dukenv0307
Copy link
Contributor

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
  • 2b. Reported on staging (deploy blocker)
  • 2c. 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:

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in https://app.slack.com/client/E047TPA624F/C01GTK53T8Q 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 https://github.com/Expensify/App/blob/main/contributingGuides/REGRESSION_TEST_BEST_PRACTICES.md steps using the template below to ensure the same bug will not reach production again. Yes

Regression Test Proposal Template
  • [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

Test:

  1. Submit a card transaction expense
  2. A Paypal receipt is sent to your email (titled Your PayPal receipt)
  3. Submit a scan expense using the above receipt
  4. Wait for the above expenses (scan & card) to be merged
  5. Open the merged expense report
  6. Open the receipt
  7. Press the 3-dot menu
  8. Verify Delete receipt appears
  9. Press Delete receipt
  10. Verify it reverts to show the card eReceipt (instead of the Paypal receipt photo you updated previously)

Do we agree 👍 or 👎

Sorry, something went wrong.

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Feb 3, 2025
@jliexpensify
Copy link
Contributor

Payment Summary

@melvin-bot melvin-bot bot removed the Overdue label Feb 4, 2025
@jliexpensify
Copy link
Contributor

@dominictb the previous Upworks job closed, can you accept this one? https://www.upwork.com/jobs/~021886615380373019169

Thanks!

@jliexpensify
Copy link
Contributor

Bumping @dominictb to accept in Upworks so I can pay + close!

@dominictb
Copy link
Contributor

@jliexpensify Accepted, thank you 🙇

@jliexpensify
Copy link
Contributor

Paid and job closed.

@dukenv0307 please refer to this summary.

@github-project-automation github-project-automation bot moved this from Hold for Payment to Done in [#whatsnext] #expense Feb 5, 2025
@JmillsExpensify
Copy link

$250 approved for @dukenv0307

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 External Added to denote the issue can be worked on by a contributor
Projects
Status: Done
Development

No branches or pull requests