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 2023-11-22] Deleting a request report correctly takes you back to the workspace chat but doesn’t clear the navigation history #26569

Closed
JmillsExpensify opened this issue Sep 2, 2023 · 27 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@JmillsExpensify
Copy link

JmillsExpensify commented Sep 2, 2023

As a result pressing < takes you BACK to a deleted page instead of UP to the LHN.

Reproduction video

RPReplay_Final1693672766.MP4
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ddba2d8935891e4d
  • Upwork Job ID: 1698674199278931968
  • Last Price Increase: 2023-09-04
@JmillsExpensify JmillsExpensify added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 2, 2023
@JmillsExpensify JmillsExpensify self-assigned this Sep 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 2, 2023

Current assignee @JmillsExpensify is eligible for the Bug assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Sep 2, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@mountiny
Copy link
Contributor

mountiny commented Sep 4, 2023

cc @adamgrzybowski could you have a look

@mountiny mountiny self-assigned this Sep 4, 2023
@adamgrzybowski
Copy link
Contributor

Hey @mountiny it seems that this PR should fix it

@mountiny mountiny added the Internal Requires API changes or must be handled by Expensify staff label Sep 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 4, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Sep 4, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @sobitneupane (Internal)

@mountiny
Copy link
Contributor

mountiny commented Sep 4, 2023

Great, what needs to be done to take it out of draft?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Sep 4, 2023
@adamgrzybowski
Copy link
Contributor

@mountiny I added videos and tests to my PR and took it out of the draft

@melvin-bot
Copy link

melvin-bot bot commented Sep 28, 2023

This issue has not been updated in over 15 days. @JmillsExpensify, @sobitneupane, @mountiny, @adamgrzybowski eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@neil-marcellini
Copy link
Contributor

I'm removing this from the distance requests project because it's not specific to it.

@mountiny
Copy link
Contributor

mountiny commented Oct 4, 2023

Almost forget about this. @luacmartins havent you worked on an issue where you have been trying to do the dismissModal for two reports for this case of deleting a request?

@luacmartins
Copy link
Contributor

I reported a similar issue here and I think swm was working on it here. I see that issue is closed now and it seems like the problem still exists, so I don't think anyone is tackling it right now and we still need this issue.

@mountiny
Copy link
Contributor

mountiny commented Oct 4, 2023

Maybe this will help too #26498

@JmillsExpensify
Copy link
Author

It looks like #26498 will resolve this, though it's still in review.

@mountiny
Copy link
Contributor

Adam is focusing on wave8 so giving it some time

@JmillsExpensify
Copy link
Author

Still focused on wave8

@sobitneupane
Copy link
Contributor

sobitneupane commented Nov 3, 2023

@s77rt is reviewing the PR associated with this issue. @s77rt #29497 issue look similar to this one. Will it be handled by this PR?

@s77rt
Copy link
Contributor

s77rt commented Nov 3, 2023

Can someone please assign me here for PR review

@luacmartins
Copy link
Contributor

Done!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Monthly KSv2 labels Nov 15, 2023
@melvin-bot melvin-bot bot changed the title Deleting a request report correctly takes you back to the workspace chat but doesn’t clear the navigation history [HOLD for payment 2023-11-22] Deleting a request report correctly takes you back to the workspace chat but doesn’t clear the navigation history Nov 15, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 15, 2023
Copy link

melvin-bot bot commented Nov 15, 2023

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

Copy link

melvin-bot bot commented Nov 15, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.99-0 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 2023-11-22. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

Copy link

melvin-bot bot commented Nov 15, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@s77rt] The PR that introduced the bug has been identified. Link to the PR:
  • [@s77rt] 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:
  • [@s77rt] A discussion in #expensify-bugs 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:
  • [@s77rt] Determine if we should create a regression test for this bug.
  • [@s77rt] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@JmillsExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@s77rt
Copy link
Contributor

s77rt commented Nov 17, 2023

  • The PR that introduced the bug has been identified: I think this existed since day one
  • The offending PR has been commented on: n/a
  • A discussion in #expensify-bugs has been started: I don't think this is needed
  • Determine if we should create a regression test for this bug: Yes

Regression Test Proposal

Extending #30020 (comment)

  1. Open a chat report with someone you have not chatted with before
  2. Request money (using the plus + button in the composer)
  3. Click on the IOU preview then on the transaction report action
  4. Click on the 3 dots > Delete request
  5. Verify you are redirected to the chat report
  6. Go back
  7. Verify you are not on the "not found" page

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Nov 22, 2023
@JmillsExpensify
Copy link
Author

Thanks so much @s77rt! I believe the payment summary is as follows:

  • Issue reporter: N/A
  • Contributor: expert agency (no payment)
  • Contributor+: @s77rt $500

@melvin-bot melvin-bot bot removed the Overdue label Nov 24, 2023
@JmillsExpensify
Copy link
Author

Offer sent via upwork!

@s77rt
Copy link
Contributor

s77rt commented Nov 24, 2023

Accepted! Thanks!

@JmillsExpensify
Copy link
Author

Offer paid via Upwork and regression test created. Closing this one!

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 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

7 participants