day8 / re-frame-10x

A debugging dashboard for re-frame. X-ray vision as tooling.
MIT License
634 stars 68 forks source link

[Enhancement]: User Manageable Keybindings #314

Closed superstructor closed 1 year ago

superstructor commented 3 years ago

What do you suggest?

re-frame currently hard-codes CTRL-H as a keybinding to show/hide the 10x panel.

This should be able to be turned off, and when turned on the specific keys used should be configurable. It should be able to be toggled programmatically.

It causes users distress and some projects have advanced dev tooling setups.

sirmspencer commented 2 years ago

Also, ctrl+h is pretty common as a hide button. It can easily conflict with other tools.

jacobemcken commented 2 years ago

In Firefox Ctrl+h is used to show/hide a pane in the browser with "History", and Firefox does not allow the user to change the keyboard shortcut without extensions :cry:

If I hide the 10x panel, the only way I was able to "get it back" was to reload the browser tab with my application.