-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$1000] Blank page appears instead of Hmm... it's not here page #28183
Comments
Triggered auto assignment to @stephanieelliott ( |
Job added to Upwork: https://www.upwork.com/jobs/~016233e1e785234a4a |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @laurenreidexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.If the user has the Details RHN open for a channel, and the user is removed from the workspace, then the RHN pane goes to black and does not show the "Hmm... it's not here" screen. What is the root cause of that problem?This is a result of an assumption made inside
The comment says "we are probably navigating out of this screen" but this is not the case. We have lost access to the report, but we do not have anything to cause us to navigate away. This bug was introduced here:
What changes do you think we should make in order to solve the problem?I think it would be reasonable in this case to render the content that was previously shown. That way, if we are navigating away anyway, as the code assumes, then we would not switch to the My proposal is to save the props seen by What alternative solutions did you explore? (Optional)I considered adding a fallback route to |
ProposalPlease re-state the problem that we are trying to solve in this issue.Blank page appears instead of Hmm... it's not here page What is the root cause of that problem?Root cause is that we return null assuming the modal will be dismissed in
App/src/pages/home/report/withReportOrNotFound.js Lines 55 to 59 in 52c3f53
What changes do you think we should make in order to solve the problem?As the comment says, the report is deleted and we are navigating out of the details screen. We can dismiss the modal here. Change the above code to below. Import
Result : screen-recording.mp4What alternative solutions did you explore? (Optional)NA |
Hi, @stephanieelliott, I'm still busy reviewing other issues so I don't have enough bandwidth. Could you please reassign this to another C+? : ) |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Hey @fedirjh we've got a couple proposals already, can you take a look please? |
I couldn’t test @kameshwarnayak's solution on main, we have an issue with not found reports, it displays skeleton instead of not found view. @ewanmellor I will re-test both approaches after the issue is fixed. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@stephanieelliott, @fedirjh Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Hey @fedirjh bump on this, can you re-test when you get a chance? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Blank page appears instead of Hmm... it's not here page What is the root cause of that problem?When remove userB from userA's workspace, App/src/pages/home/report/withReportOrNotFound.js Lines 57 to 59 in 562f9d8
What changes do you think we should make in order to solve the problem?I think this is enough to fix that issue. App/src/pages/home/report/withReportOrNotFound.js Lines 57 to 59 in 562f9d8
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Blank page appears instead of Hmm... it's not here page What is the root cause of that problem?When remove userB from userA's workspace, App/src/pages/home/report/withReportOrNotFound.js Lines 57 to 59 in 562f9d8
What changes do you think we should make in order to solve the problem?Need to update condition. App/src/pages/home/report/withReportOrNotFound.js Lines 57 to 59 in 562f9d8
What alternative solutions did you explore? (Optional) |
@fedirjh - Tested this solution with other usecases and the result is as expected. Please find the video below screen-recording.mp4Have mentioned the logic of solution in the proposal |
@stephanieelliott @fedirjh this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
@stephanieelliott, @fedirjh Huh... This is 4 days overdue. Who can take care of this? |
@kameshwarnayak What could happen if the navigation is triggered and then the modal is dismissed given that modal dismissal will trigger a navigation? I feel this will lead to an unpredictable behavior. @s-alves10 This bug affects RHN modals that are related to a given report, so it's not only the details page, we have settings, members, and notes ... @yh-0218 and @Vadym-33 Can you further explain your solutions? |
Proposal |
I think this condition will help all case.
|
we need to return null on NotFoundPage with this condition. |
@fedirjh - dismissModal will trigger a navigation to the previous open report. That is intended and basically we need to move out of the modal on null/empty. As you can see this in the below video 274492237-46d75076-b4c8-4b6b-be93-6ae732a87448.mp4You can see in the below code, App/src/libs/Navigation/Navigation.js Lines 164 to 168 in b494186
|
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@stephanieelliott, @fedirjh Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@stephanieelliott @fedirjh this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:
Thanks! |
Current assignee @fedirjh is eligible for the Internal assigner, not assigning anyone new. |
Did you check the updated proposal? |
I am not able to reproduce this in the latest master. |
Yeah, now it closes the RHN and navigates to the concierge page |
I couldn't replicate either. It appears that it has been resolved with this PR #26149. CleanShot.2023-10-24.at.12.12.15.mp4 |
@stephanieelliott Let’s close as fixed by another PR #26149. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
should show Hmm... it's not here in the RHP
Actual Result:
blank page appears
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.74-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Recording.1603.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692600279076409
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: