question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Web/mWeb] URL / Address bar is not updated after login or landing on root

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Expected Result:

When a conversation is loaded it’s ID should be a part of the URL (route) in the address bar e.g. expensify.com/r/71403817

Actual Result:

  • After login in the route stays /r even though a conversation is loaded
  • After navigation to the home page / or /r the last conversation is loaded but the route does not update

Action Performed:

Login Flow

  1. Have an account with some conversations
  2. Logout
  3. Reset the address to the root of the app /
    • this might be another issue as after logout the route is not updated as well and keeps displaying the last report path
  4. Login again
  5. Observe your last conversation is selected but the route is just /r and does not contain the ID

Authenticated Landing / Refresh flow

  1. Have an account with some conversations
  2. You should be logged in
  3. Close the tab/window
  4. Open expensify from the root domain e.g. localhost:8080 for local development
  5. Observe your last conversation is selected but the route is just /r and does not contain the ID

Workaround:

Tap on any conversation from the sidebar should load and populate the address bar correctly

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.0.17-3 Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/12156624/114222343-25d7f500-9977-11eb-8d22-0568ba6f0a1c.mp4

Expensify/Expensify Issue URL: N/A

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
marcaaroncommented, Apr 9, 2021

Proposal looks good to me if you want to send a PR 👍

@Christinadobrzyn can you create an E/E issues + Upwork job please and hire @kidroca?

We don’t need to add the Exported label in this case since it is already triaged.

1reaction
Christinadobrzyncommented, Apr 21, 2021

Thanks for the heads up @Julesssss - I’m paying the contributor today so I’ll add the bonus you requested here to the payment.

Contractor paid!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redirection user after login does not update address bar
I need to redirect user after login.So i set returnUrl in queryParams.But after login browser address bar is like ...
Read more >
Browser address bar often forgets the link after I press Enter ...
I mainly use Chrome and Opera and both exhibit this behavior: open a New tab. type URL in Address bar. press Enter. URL...
Read more >
URL for New Tab Page on Edge not showing in Address Bar ...
URL for New Tab Page on Edge not showing in Address Bar on 365 sites when navigating to different pages. Hi, is there...
Read more >
1. A user types in the browser address bar - Medium
A recurrent question during interviews is to ask the interviewee what happens when you type in the browser address bar “google.com“.
Read more >
NGINX should not change the URL in the Browser Address Bar
example.com/meldung.html should be internally routed to the index.php?view=$1 but not outside what the user sees. listen 80; root ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found