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

Create a command palette with hotkeys for Kibana #15019

Open
Tracked by #83354
timroes opened this issue Nov 17, 2017 · 0 comments
Open
Tracked by #83354

Create a command palette with hotkeys for Kibana #15019

timroes opened this issue Nov 17, 2017 · 0 comments
Labels
enhancement New value added to drive a business result Project:Accessibility REASSIGN from Team:Core UI Deprecated label for old Core UI team release_note:enhancement Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. WCAG AA

Comments

@timroes
Copy link
Contributor

timroes commented Nov 17, 2017

We should build a command palette, that will open anywhere in Kibana with a specific shortcut. You can search in this Command Palette for specific actions you can do on the current screen and also some global navigation links to jump to other applications/screens within Kibana.

I've created a small proof of concept in my commandpalette-poc branch, and demonstrate the usage in the following screencast:

kibana-commandpalette

Which each command you register, you should be able to specify a shortcut for that action. The command palette will take care of executing that command when you press it, and also showing the shortcuts, so users can learn them:

kibana-commandpalette-shortcuts

For proper accessibility (and thus usability) every feature should be able to be used by mouse and keyboard, meaning we should never make the command palette the single place to access a specific functionality, but always also provide a UI for it.

There are a few things to think about how these should work to provide the best usability:

  • We would like to register e.g. all saved dashboards in there to jump to. Since this can be a lot, you most likely don't want them to show up all the time. So a concept of nested menu would be nice, e.g. searching for "Dashboards" hit enter and the list of dashboards show up again. Since we want to make it more efficient for pro-users to work with this, we could consider a prefix, like typing db and in this moment the palette will start searching in all dashboards.
  • If we register those commands from within the applications, e.g. timelion register it's own link to jump towards it, those won't be loaded until you switch to the timelion application. We need a concept to register navigational links without the application being loaded.
  • We should integrate with existing features like the feature directory on the home page, so we don't need to register all links twice. This might even solve the above issue.
  • Consider whether we want to rewrite shortcuts with Ctrl to Cmd for OS X users.

This issue would also fix #4539.

Relevant WCAG Criteria: 2.4.5 Multiple Ways - Level AA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Project:Accessibility REASSIGN from Team:Core UI Deprecated label for old Core UI team release_note:enhancement Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. WCAG AA
Projects
None yet
Development

No branches or pull requests

4 participants