-
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
[$500] Deeplinks - Infinite loading displayed when user navigated on non-existing chat deeplink #33638
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01bad93f473888207b |
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Infinite loading displayed What is the root cause of that problem?We're reusing ReportScreen even though the reportID in route changes. See here, when the reportID in route changes, the same What changes do you think we should make in order to solve the problem?Add route reportID as We can do this by modify this to
(The What alternative solutions did you explore? (Optional)If we want to keep the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Deeplinks - Infinite loading displayed when user navigated on non-existing chat deeplink What is the root cause of that problem?In native, ReportScreen is not actually unmounted when there is a change in reportID. When the reportID known to be invalid it will hit this check in ReportScreen.
onyxReportID and prevReport.reportID will be This will cause infinite loading since What changes do you think we should make in order to solve the problem?When
|
@sobitneupane any thoughts on these proposals? |
@garrettmknight, @sobitneupane Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
My proposal updated with better solution |
@sobitneupane can you give this one a look? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Sorry for the delay. I will review proposals shortly. |
Thanks for the proposal @tienifr and @wildan-m Both of the proposal solves the issue. @wildan-m In your proposal, I don't think we need to set Can we add App/src/pages/home/ReportScreen.js Lines 203 to 208 in fe49e4f
|
@sobitneupane I've tried that, but it will cause not found page on previously accessible report.
I think @tienifr proposal to add key to the ReportScreen is the best solution. |
@sobitneupane also my last proposed solution has a glitch. it will show not found page for a brief moment when firstly joined public room |
@garrettmknight, @sobitneupane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@sobitneupane good to assign @tienfr here then? |
Triggered auto assignment to @marcochavezf, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Sounds good, thanks @sobitneupane for the review, assigning @tienifr 🚀 |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR ready for review #35228. |
This issue has not been updated in over 15 days. @garrettmknight, @marcochavezf, @sobitneupane, @tienifr 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! |
I am expecting updates from @tienifr in the PR. |
Oh then the issue is no longer reproducible in main, correct? |
@marcochavezf That's true. |
Gotcha, gonna close in that case. |
@garrettmknight Although the issue was fixed somewhere else, efforts have been made to implement, test and review carefully the PR. Please consider payment for this issue. Thanks! |
@garrettmknight Can you check the above ^. Thanks 🙏 |
Hey @tienifr - missed the first comment. I think half payment is fair. I'll process now. Summary of Payments:
|
@sobitneupane can you request payment when you get a chance? |
$250 approved for @sobitneupane based on summary. |
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: 1.4.17.1
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition: app should be killed
Expected Result:
User should be navigated on "You don't have access to this chat" page
Actual Result:
Infinite loading displayed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6326513_1703637346495.Rpreplay_Final1703617339.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: