[HOLD for payment 2024-12-07] Debug Mode - "Hmm... it's not here page" is shown when deleting a created violation
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:
- Go to https://staging.new.expensify.com/
- Enable debug mode in Troubleshoot
- Open an expense thread (create one if you don't have any)
- Enter debug view then check on "View transaction" tab
- Go to "violations" > Create a violation and save it
- 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
Issue Owner
Current Issue Owner: @slafortune
Triggered auto assignment to @cristipaval (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
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.
💬 A slack conversation has been started in #expensify-open-source
: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:
- Identify the pull request that introduced this issue and revert it.
- Find someone who can quickly fix the issue.
- Fix the issue yourself.
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)
cc @pac-guerreiro
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!
Hi! I’m Pedro Guerreiro from Callstack - expert contributor group. I’d like to work on this task!
I just opened a draft PR with the fix -> https://github.com/Expensify/App/pull/53095
Today I added test steps and filled my checklist. I need to add screenshots / screen recordings tomorrow.
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 😄
Hi, I'm Julian from Callstack and I'm going to work on this issue in Pedro's absence.
Reviewing label has been removed, please complete the "BugZero Checklist".
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)
@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]
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
@DylanDylann is this a regression or does this require payment?
This is so minor that we missed it in the previous PR, let's close this issue