GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
205 stars 61 forks source link

Create ctrl+k interface for keyboard shortcuts #4514

Open cmdcolin opened 1 month ago

cmdcolin commented 1 month ago

Currently, many things in the jbrowse UI requires fair amount of point and click. We could create a system for keyboard shortcuts, and i'm specifically inspired by the "ctrl+k"/"command palette" type demos

Example library here https://www.npmjs.com/package/kbar

this can a) improve accessibility and b) make certain operations faster

there could be interesting applications of this where the ctrl+k acts on the "currently selected thing", so you could list actions on the "currently selected thing"

just an idea :)