-
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
[HOLD for payment 2023-03-13] [$1000] Deep link for user profile crashes on desktop #15059
Comments
Triggered auto assignment to @slafortune ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01d2a5e261c3af7e82 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @parasharrajat ( |
Based on the conversation in Slack, seems that this will be an internal fix! |
@marcochavezf you are planning on fixing this, yes? |
Yeap, this is needed for the ECX. Haven't been able to work on this one yet. I'm going to change it to external in case someone founds a solution during the weekend. |
Current assignee @slafortune is eligible for the External assigner, not assigning anyone new. |
Current assignee @parasharrajat is eligible for the External assigner, not assigning anyone new. |
Current assignee @marcochavezf is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.User profile deep link opened in desktop app from the web app causes it to crash. What is the root cause of that problem?The deep link does not forward query parameters along to the desktop app. Even if it does (it doesn't right now though), the Desktop app is not reading the search params. It reads path of URL only. The What changes do you think we should make in order to solve the problem?We can simply pass on the query parameters to the desktop app from browser. We also have to make sure that the desktop app reads the query parameters passed as well. We need to change the following in
to
In
to
Note: Although not required in this case, but we can also add What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Opening deep link in Desktop app will crash the app in What is the root cause of that problem?In Line 88 in 8cc88de
When we deeplink into the Desktop app, we're passing only the
We're ignoring other important parts of an URL like query param, hash. When the What changes do you think we should make in order to solve the problem?In order to fix this, we need to pass all parts of the URL to the deeplink, including the query params and the hash, so that the Desktop page has enough information to render the page. The
We need to change to
(Note the window.location.search and window.location.hash are added at the end) And in Line 206 in 90a4e1b
We need to change to
What alternative solutions did you explore? (Optional)NA |
@parasharrajat , it appears the PR was ready for review 5 days ago, is there a reason it hasn't been reviewed yet? |
Yes, because the Contributor did not follow the process and created the PR before the issue was assigned to him. #15059 (comment) |
ah... thanks @parasharrajat . @allroundexperts you've been working on jobs for ~8 months, I'd expect you to be familiar with all aspects of our CONTRIBUTING.md and processes by now. For this specific issue, I know the title is specific to Desktop, have we also tested on all other platforms to ensure they're working properly? Asking cuz I (think I) ran into an issue yesterday on iOS safari. iirc. there was discrepancy between me being signed in or not. Please check/test those instances (and, if needed, we can create a separate GH) |
@mallenexpensify I actually took a long break in between. But you're right, I should have been more careful. |
👍 @allroundexperts . I didn't mean to sound harsh but also didn't come up with an easy/good way to soften the language. |
PR merged yesterday 🎉 |
@marcochavezf, @slafortune, @parasharrajat, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not overdue, PR deployed to staging yesterday. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.78-0 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-03-13. 🎊 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:
|
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:
|
Regression Test Proposal
|
@marcochavezf, @slafortune, @parasharrajat, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@parasharrajat @allroundexperts I sent offers to you both - let me know once you accept those! |
Thanks for the offer @slafortune. The amount that shows there seems to be incorrect (500). Can you please double check? |
Ah! Thanks for calling that out! I was using the incorrect dates! |
@slafortune Can you please resend the offer? It seems that I accidentally declined it. |
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:
Open Electron
to open the user profileExpected Result:
Open the user profile page in the Desktop app
Actual Result:
Desktop app crashes
Workaround:
Open the user profile on web by clicking on
open this link in your browser.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.69-2
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
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation: https://expensify.slack.com/archives/C03KN50J0PM/p1676058166922359?thread_ts=1676038239.279419&cid=C03KN50J0PM
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: