-
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-04-10] [$2000] Deep links from web fail to open in desktop #15965
Comments
Triggered auto assignment to @isabelastisser ( |
Bug0 Triage Checklist (Main S/O)
|
Assigning myself to CME. I think this can be external. |
Job added to Upwork: https://www.upwork.com/jobs/~0129c287b9f9e7ed8f |
Current assignee @isabelastisser is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
Current assignee @neil-marcellini is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Blank Electron app opens when user enters a public room. What is the root cause of that problem?The root cause is that the user logged in does not have the permission to view the room so it returns a blank page. The condition is in here App/src/pages/home/ReportScreen.js Line 166 in 50b7a26
I believe the expected result must be that the user sees the 'Not found' page for the report. This is happening for all platforms, not just Desktop. @neil-marcellini can you confirm if the user that has issue can view the What changes do you think we should make in order to solve the problem?Instead of just returning null for the page, we need to show the App/src/pages/home/ReportScreen.js Line 166 in 50b7a26
FullPageNotFoundView 's shouldShow here App/src/pages/home/ReportScreen.js Line 220 in 9591146
Not only the above but I think all cases that we're currently returning What alternative solutions did you explore? (Optional)If we want to show a different kind of page/message, like a |
I updated the description since @jasperhuangg helped me determine that the issue is not specific to public rooms, it occurs with any chat (report). @kaushiktd you have to create a workspace first. |
@tienifr's proposal looks good to me!
I agree with this. We did the same thing for the workspace detail pages in #14744 recently. |
@neil-marcellini @jasperhuangg I encountered this issue while I was working on another issue related to desktop deep linking. I think currently both production and staging NewDot website links to dev desktop app. That's why you see the default Electron app when you're not running dev desktop. This is the issue reported originally. Quick test:
What @tienifr observed might be a different problem than the above problem. When you followed the deep link from production or staging to local dev desktop, the chat room doesn't exist as we're just talking to the local database on dev. @tienifr and @jasperhuangg probably saw this one instead. Let me know if this is what you saw. |
@hayata-suenaga, thanks for the clarification! |
thanks @hayata-suenaga for the explanation, I'll report my observation as a separate bug. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Production or staging NewDot website is opening the dev Desktop App, an a chat from production shows as not found. What is the root cause of that problem?The root cause is that we're using the same URL scheme for all environments ( What changes do you think we should make in order to solve the problem?For desktop, we should use different scheme for at least dev vs other environments. We will create an util to retrieve the Line 123 in f580621
If it's desktop and the Then we need to use the util in various places where we're referring to the scheme like in here, here, here amongst other places. With this fix, staging/desktop and dev will have different URL schemes and staging/desktop web will not open Dev Desktop. What alternative solutions did you explore? (Optional)The above is sufficient to fix this issue. However we might want to extend the solution so that the scheme is different for all environments (prod, staging, dev) and to Android/iOS as well (For Android/iOS we need to use app schemes). |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
assigned myself to follow the discussions |
📣 @allroundexperts You have been assigned to this job by @neil-marcellini! |
@eVoloshchak @neil-marcellini @allroundexperts @isabelastisser this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
PR created: #16650 |
Hired in Upwork: @allroundexperts - approved proposal https://www.upwork.com/jobs/~0129c287b9f9e7ed8f Issue reported by: @neil-marcellini |
@neil-marcellini, shouldn't this still be open until the PR hits production, regression period passes and we finish the BugZero Checklist? |
Yes that's a strange bug. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.93-4 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-04-10. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@neil-marcellini @eVoloshchak , I'm missing the link to this discussion. Was one already created? Please follow up, thanks!
|
The payment was made and the contract ended in Upwork. |
Thanks for the payment @isabelastisser. I was curious on why I did not receive 50% bonus. Has something changed? Are we now capping the bonus to $500? |
Sorry for the mistake, @allroundexperts; I corrected it now! |
Bump @neil-marcellini and @eVoloshchak on my comment above so that I can close this issue asap. Thanks! |
The discussion is not applicable. |
I don't really think we need a regression test for this because it's an edge case and unlikely to effect real users. |
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:
The chat opens in NewDot desktop
Actual Result:
Blank Electron app opens
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.84-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
Notes/Photos/Videos:
Recording.130.mp4
Expensify/Expensify Issue URL:
Issue reported by: @neil-marcellini
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678714242713519
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: