-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Opening URLs "/notes/new-note" and "/notes/new-notebook" doesn't take us to the proper screens #98
Comments
I think you just need to reorder the screens and then it's fine. So have the new-note and new-notebook before the others. Does that fix it? |
It does work in the linking configuration, which is strange to me because it's defined as an object and object properties are not ordered so they shouldn't rely on that… |
That's not good then, it's just a hack if it actually works... It's quite the limitation though if this is not supported... Does react-navigation have anything official regarding this? Can we maybe pass a list instead of a dict? |
I found this in their v6 roadmap:
So I'm guessing path conflicts are not supported, nor do they plan to support them
This could trigger the NoteEdit screen: There is however something I just though of: if we implement the split-view screen, there's gonna be a "master" screen that's gonna receive every route under |
I'm not sure I follow your last statement. Anyhow, cool, let's fix it then so there are no conflicts. :( |
It loads the
/notes
path with{ colUid: "new-note" }
or{ colUid: "new-notebook" }
.Solutions I see:
/notes/:colUid
.colUid
value inNoteListScreen
and redirect to the proper screens if needed.Maybe this could be taken upstream to React Navigation.
The text was updated successfully, but these errors were encountered: