-
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
[Web/mWeb] URL / Address bar is not updated after login or landing on root #2325
Comments
ProposalIt should be possible to simplify the logic here To just const path = getPathName(initialUrl);
let initialState = getStateFromPath(path, linkingConfig.config);
setCurrentURL(path); By providing Like this: <RootStack.Screen
name="Home"
options={{
headerShown: false,
title: 'Expensify.cash',
}}
component={MainDrawerNavigator}
initialParams={{
screen: 'Report',
params: {reportID: this.props.reportID || ''},
}}
/>
A alternative is to let the Common case:
The app starts from a deep link
Edit: I think just following the guide here can sort things out and would replace the entire
|
Triggered auto assignment to @Christinadobrzyn ( |
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 |
Triggered auto assignment to @marcaaron ( |
Ack! My bad marcaaron I added an engineering label to this, please disregard the ping! |
Expensify/Expensify issue - https://github.com/Expensify/Expensify/issues/160016 Sent a hire request to @kidroca in Upwork |
@Christinadobrzyn |
@Christinadobrzyn For example my other ticket did receive a bonus #2109 |
FYI, I've left a note on our internal issue here that we should pay an additional bonus when completing this outstanding Upwork Contract So this ^ should be taken care of soon. |
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! |
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:
/r
even though a conversation is loaded/
or/r
the last conversation is loaded but the route does not updateAction Performed:
Login Flow
/
/r
and does not contain the IDAuthenticated Landing / Refresh flow
localhost:8080
for local development/r
and does not contain the IDWorkaround:
Tap on any conversation from the sidebar should load and populate the address bar correctly
Platform:
Where is this issue occurring?
Version Number: 1.0.17-3
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify.cash.-.Google.Chrome.2021-04-08.21-53-29.mp4
Expensify/Expensify Issue URL: N/A
The text was updated successfully, but these errors were encountered: