-
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 2023-12-29] [$500] Desktop - Chat - Infinite loading displayed on selected chat when navigate to RHP with deeplink #33149
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01ae306e7095356be1 |
Triggered auto assignment to @Christinadobrzyn ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 ( |
ProposalPlease re-state the problem that we are trying to solve in this issueInfinite loading displayed on selected conversation when navigate to RHP with deeplink to desktop app. Note: The issue happens as long as any RHP is opened and transition to desktop app is performed, it doesn't have to be https://staging.new.expensify.com/enable-payments, it can be settings https://staging.new.expensify.com/settings on any other route that has the RHP open. Besides the current issue, there's another issue:
MacOS: Desktop - Logout issueScreen.Recording.2023-12-15.at.14.36.16.movWhat is the root cause of that problem?The reason why we get the infinite loading spinner once transitioned to the desktop app is because the app is calling navigate with transition route when not necesarry. Because the route is not handled by the react navigator, this causes the infinite loading spinner and the logout issue mentioned above. What changes do you think we should make in order to solve the problem?App/src/libs/actions/Report.ts Line 2031 in 173582f
We have to make sure that the transition route passed from the main electron process is NOT called by the navigator once we are transitioned into the desktop app, we check if the following conditions are true:
then we return meaning we don't call the react navigation with the transition route which would cause the infinite loading spinner. ...
// If the platform is desktop and route is `transition` we don't want to call navigate
// to the route because it will display the infinite loading indicator.
// See issue: https://github.com/Expensify/App/issues/33149
+ if (getPlatform() === CONST.PLATFORM.DESKTOP && route.includes(ROUTES.TRANSITION_BETWEEN_APPS) {
+ return;
+ }
Navigation.navigate(route, CONST.NAVIGATION.TYPE.PUSH); VideosMacOS: Desktopstg-fix.mov |
Proposal from @ikevin127 looks good to me #33149 (comment) |
Triggered auto assignment to @lakchote, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Thanks @narefyev91 for your review. @ikevin127's proposal LGTM 👍 |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@narefyev91 PR ready for review #33225 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-5 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 2023-12-29. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Issue is ready for payment but no BZ is assigned. @laurenreidexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
@lakchote, @narefyev91, @Christinadobrzyn, @ikevin127 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@lakchote, @narefyev91, @Christinadobrzyn, @ikevin127 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Payouts due: Issue Reporter: NA Eligible for 50% #urgency bonus? N Upwork job is here. @narefyev91 can you let us know about a regression test? |
|
sounds good! I think we can close this! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.13-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
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:
Precondition: user should be Signed Out on Desktop
in Web and select any conversation in LHN
Expected Result:
Previously selected chat should be loaded and properly displayed
Actual Result:
Infinite loading displayed on selected conversation when navigate to RHP with deeplink
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6313239_1702568224062.Screen_Recording_2023-12-14_at_14.36.05.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: