-
Notifications
You must be signed in to change notification settings - Fork 3k
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 2024-11-18] [$250] mWeb - Debug - In workspace chat, delete via debug directs to blank page. #51388
Comments
Triggered auto assignment to @lakchote ( |
Triggered auto assignment to @adelekennedy ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
Not a blocker, it concerns an issue with |
Job added to Upwork: https://www.upwork.com/jobs/~021849364084876247061 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - Debug - In workspace chat, delete via debug directs to blank page. What is the root cause of that problem?We use Navigation.goBack(); after the delete action App/src/pages/Debug/DebugDetails.tsx Lines 233 to 241 in 45cabbf
What changes do you think we should make in order to solve the problem?Use Navigation.dismissModal(); instead What alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-10-24 12:34:01 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - Debug - In workspace chat, delete via debug directs to blank page What is the root cause of that problem?When clicking the delete the report, we only navigating back from the report which will only dismiss the modal App/src/pages/Debug/DebugDetails.tsx Lines 237 to 240 in 45cabbf
What changes do you think we should make in order to solve the problem?We need to add the Navigation.dismissModal(); too Navigation.dismissModal();
if (isSmallScreenWidth) {
Navigation.isNavigationReady().then(() => {
Navigation.goBack();
})
} ResultScreen.Recording.2024-10-24.at.01.43.27.movWhat alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.After deleting report from debug page, a blank page is shown. What is the root cause of that problem?When we press delete, it will delete the report and go back to the previous page. The previous page in our case is the report details page. The report details page is wrapped with a App/src/pages/home/report/withReportOrNotFound.tsx Lines 86 to 90 in bb4e3e4
The comment mentions why we do that. Basically, if the report is previously available but now is not, we assume that the page will be dismissed along with the deletion and we don't want to show not found page while navigating back. However, that is not the case when we delete it from the debug page. Also, that's not the case if say:
What changes do you think we should make in order to solve the problem?Because we don't want to show the not found briefly when navigating back, we can check for the screen focused state instead. App/src/pages/home/report/withReportOrNotFound.tsx Lines 86 to 90 in bb4e3e4
|
@alitoshmatov please review proposals, thank you. |
@lakchote, @alitoshmatov, @adelekennedy Huh... This is 4 days overdue. Who can take care of this? |
PR is ready cc: @allroundexperts |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.59-3 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 2024-11-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@allroundexperts @adelekennedy 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
BugZero Checklist (@adelekennedy)
|
Requested in ND. |
Payouts due:
confirming payment summary here |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
nearly forgot the checklist @allroundexperts for a quick review |
Checklist
Regression TestPrerequisite: Enable debug mode by going to settings -> troubleshoot
Verify you see a not found detail page Do we 👍 or 👎 ? |
$250 approved for @bernhardoj |
@lakchote, @allroundexperts, @bernhardoj, @adelekennedy Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
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.53-0
Reproducible in staging?: Y
Reproducible in production?: Unable to check in Prod, Debug mode is not available
Issue reported by: Applause Internal Team
Action Performed:
Pre-condition:
1.Go to https://staging.new.expensify.com/home
2. Go to profile icon -- troubleshoot
3. Scroll down to enable debug mode
Expected Result:
In workspace chat, delete via debug must not direct to blank page.
Actual Result:
In workspace chat, delete via debug directs to blank page initially and on refresh directs to hmm not here. Then navigating to LHN, particular report is not shown.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6644006_1729742485010.Screenrecorder-2024-10-24-09-20-39-977_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @adelekennedyThe text was updated successfully, but these errors were encountered: