App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2024-12-07] Debug Mode - "Hmm... it's not here page" is shown when deleting a created violation

Open IuliiaHerets opened this issue 1 year ago • 18 comments

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: v9.0.66-0 Reproducible in staging?: Y Reproducible in production?: Can't check on prod as no Debug mode option Issue was found when executing this PR: https://github.com/Expensify/App/pull/50745 Email or phone of affected tester (no customers): [email protected] Issue reported by: Applause Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Enable debug mode in Troubleshoot
  3. Open an expense thread (create one if you don't have any)
  4. Enter debug view then check on "View transaction" tab
  5. Go to "violations" > Create a violation and save it
  6. Go to the created violation and delete it.

Expected Result:

Violation is deleted and navigates to the previous page (violation tab).

Actual Result:

"Hmm... it's not here page" is shown.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

https://github.com/user-attachments/assets/dc742a93-f880-4c5a-a263-512a0a6b23ba

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @slafortune

IuliiaHerets avatar Nov 23 '24 12:11 IuliiaHerets

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

melvin-bot[bot] avatar Nov 23 '24 12:11 melvin-bot[bot]

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

melvin-bot[bot] avatar Nov 23 '24 12:11 melvin-bot[bot]

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

melvin-bot[bot] avatar Nov 23 '24 12:11 melvin-bot[bot]

:wave: 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.

github-actions[bot] avatar Nov 23 '24 12:11 github-actions[bot]

Proposal

Please re-state the problem that we are trying to solve in this issue.

Debug Mode - "Hmm... it's not here page" is shown when deleting a created violation

What is the root cause of that problem?

Offending PR: https://github.com/Expensify/App/pull/50745 We do not invoke the goBack function after we delete the violation https://github.com/Expensify/App/blob/3ebe8520d74c57a2fe9548b7d4307206e2b7c673/src/pages/Debug/TransactionViolation/DebugTransactionViolationPage.tsx#L74-L78 https://github.com/Expensify/App/blob/3ebe8520d74c57a2fe9548b7d4307206e2b7c673/src/pages/Debug/TransactionViolation/DebugTransactionViolationPage.tsx#L45-L49 And same here https://github.com/Expensify/App/blob/3ebe8520d74c57a2fe9548b7d4307206e2b7c673/src/pages/Debug/Transaction/DebugTransactionPage.tsx#L60-L70

What changes do you think we should make in order to solve the problem?

We should invoke the goBack function after we delete the data same like what we do here https://github.com/Expensify/App/blob/3ebe8520d74c57a2fe9548b7d4307206e2b7c673/src/pages/Debug/ReportAction/DebugReportActionPage.tsx#L60-L69

Navigation.goBack();

What alternative solutions did you explore? (Optional)

NJ-2020 avatar Nov 23 '24 13:11 NJ-2020

cc @pac-guerreiro

DylanDylann avatar Nov 23 '24 16:11 DylanDylann

cc @DylanDylann @pac-guerreiro @puneetlath @fabioh8010 this seems to be coming from your PR. I will demote this as its a debug mode feature related so not a blocker for customers really, but please take a look , thanks!

mountiny avatar Nov 25 '24 13:11 mountiny

Hi! I’m Pedro Guerreiro from Callstack - expert contributor group. I’d like to work on this task!

pac-guerreiro avatar Nov 25 '24 14:11 pac-guerreiro

I just opened a draft PR with the fix -> https://github.com/Expensify/App/pull/53095

pac-guerreiro avatar Nov 25 '24 22:11 pac-guerreiro

Today I added test steps and filled my checklist. I need to add screenshots / screen recordings tomorrow.

pac-guerreiro avatar Nov 27 '24 00:11 pac-guerreiro

Just added the missing screen recordings. The PR is now ready for review 😄

This next week I'll be off, but someone from my team will take care of any feedback on this PR 😄

pac-guerreiro avatar Nov 27 '24 19:11 pac-guerreiro

Hi, I'm Julian from Callstack and I'm going to work on this issue in Pedro's absence.

JKobrynski avatar Nov 28 '24 12:11 JKobrynski

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

melvin-bot[bot] avatar Nov 30 '24 13:11 melvin-bot[bot]

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.68-7 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/53095

If no regressions arise, payment will be issued on 2024-12-07. :confetti_ball:

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

  • @JKobrynski does not require payment (Contractor)
  • @pac-guerreiro does not require payment (Contractor)
  • @DylanDylann requires payment (Needs manual offer from BZ)

melvin-bot[bot] avatar Nov 30 '24 13:11 melvin-bot[bot]

@DylanDylann @slafortune @DylanDylann 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[bot] avatar Nov 30 '24 13:11 melvin-bot[bot]

Payment Summary

Upwork Job

  • Contributor: @JKobrynski is from an agency-contributor and not due payment
  • Contributor: @pac-guerreiro is from an agency-contributor and not due payment
  • ROLE: @DylanDylann paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@slafortune)

  • [ ] 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//hired)
  • [ ] I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • [ ] I have verified the payment summary above is correct

melvin-bot[bot] avatar Dec 07 '24 10:12 melvin-bot[bot]

@DylanDylann is this a regression or does this require payment?

puneetlath avatar Dec 08 '24 17:12 puneetlath

This is so minor that we missed it in the previous PR, let's close this issue

DylanDylann avatar Dec 09 '24 03:12 DylanDylann