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

App.js: Fix onKeyboardConnect()'s navigate targets #310

Merged
merged 1 commit into from Feb 8, 2019

Conversation

algernon
Copy link
Collaborator

@algernon algernon commented Feb 8, 2019

We should be navigating to /layout-editor or /welcome, not ./layout-editor or ./welcome. The distinction is important, the router doesn't know how to handle the latter ones.

Fixing this navigation means we do not need the one in KeyboardSelect anymore.

These two together restore the functionality of landing on the Welcome screen when Focus wasn't detected on the keyboard.

We should be navigating to `/layout-editor` or `/welcome`, not `./layout-editor`
or `./welcome`. The distinction is important, the router doesn't know how to
handle the latter ones.

Fixing this navigation means we do not need the one in KeyboardSelect anymore.

These two together restore the functionality of landing on the Welcome screen
when Focus wasn't detected on the keyboard.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
@algernon algernon added bug Something isn't working pending labels Feb 8, 2019
@algernon algernon added this to the Chrysalis 0.5.0 milestone Feb 8, 2019
@obra obra merged commit de53c20 into master Feb 8, 2019
@obra obra deleted the navigate/welcome-screen-fix branch February 8, 2019 08:51
0957758592 referenced this pull request in Dygmalab/Bazecor Nov 18, 2019
App.js: Fix onKeyboardConnect()'s navigate targets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants