Skip to content
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

[$250] Desktop - Onboarding - Modal doesn't open in desktop when navigating to incorrect URL #48937

Closed
1 of 6 tasks
IuliiaHerets opened this issue Sep 10, 2024 · 12 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Sep 10, 2024

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: v9.0.31-12
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #48137
Issue reported by: Applause Internal Team

Action Performed:

Precondition: use gmail NEW account.

  1. Desktop: Sign in as a new user > Join (Do not proceed onboarding flow)
  2. Web: Sign in with the same user > refresh the page (to see onboarding modal)
  3. Desktop: Select 'Manage my team's expenses'
  4. Web: Change the URL to a random URL after .com, for example, /aaa (for desktop, enter the URL in the browser and press Enter).
  5. Web: choose 'Open New Expensify' in popup

Expected Result:

Desktop: the onboarding modal work page is displayed.

Actual Result:

Desktop: page not found is displayed

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6598525_1725962243501.desktop_onboarding_modal_fail.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021836423410149372393
  • Upwork Job ID: 1836423410149372393
  • Last Price Increase: 2024-09-25
Issue OwnerCurrent Issue Owner: @ntdiary
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 10, 2024
Copy link

melvin-bot bot commented Sep 10, 2024

Triggered auto assignment to @JmillsExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@IuliiaHerets
Copy link
Author

@JmillsExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@tsa321
Copy link
Contributor

tsa321 commented Sep 10, 2024

@mollfpr This issue is related to the following code:

App/src/libs/actions/Report.ts

Lines 2687 to 2689 in 5224d91

if (shouldSkipDeepLinkNavigation(route)) {
return;
}

In desktop the shouldSkipDeepLinkNavigation is:

export default function shouldSkipDeepLinkNavigation(route: string) {
// When deep-linking to desktop app with `transition` route we don't want to call navigate
// on the route because it will display an infinite loading indicator.
// See issue: https://github.com/Expensify/App/issues/33149
if (route.includes(ROUTES.TRANSITION_BETWEEN_APPS)) {
return true;
}

It is intentionally skipped due to this bug:

#33149

When testing, I use the new-expensify:/aaa instead of the usual address in the browser to open the desktop app.

I'm unsure if I should move the check after the onboarding logic due to this bug.
I am creating a follow-up PR if we decide to move the check after the onboarding logic.

Copy link

melvin-bot bot commented Sep 16, 2024

@JmillsExpensify Eep! 4 days overdue now. Issues have feelings too...

@JmillsExpensify
Copy link

I think this is low priority, though I'll open it up to the community.

@melvin-bot melvin-bot bot removed the Overdue label Sep 18, 2024
@JmillsExpensify JmillsExpensify added the External Added to denote the issue can be worked on by a contributor label Sep 18, 2024
@melvin-bot melvin-bot bot changed the title Desktop - Onboarding - Modal doesn't open in desktop when navigating to incorrect URL [$250] Desktop - Onboarding - Modal doesn't open in desktop when navigating to incorrect URL Sep 18, 2024
Copy link

melvin-bot bot commented Sep 18, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021836423410149372393

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 18, 2024
Copy link

melvin-bot bot commented Sep 18, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary (External)

@mollfpr
Copy link
Contributor

mollfpr commented Sep 18, 2024

@JmillsExpensify Since this issue from @tsa321 PR: #48137, should we let them fix this?

@ntdiary
Copy link
Contributor

ntdiary commented Sep 23, 2024

It seems that PR #48955 has addressed this issue, so we can just close this here?

Copy link

melvin-bot bot commented Sep 24, 2024

@JmillsExpensify @ntdiary 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!

Copy link

melvin-bot bot commented Sep 25, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Sep 25, 2024
@JmillsExpensify
Copy link

Nice, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants