flexsurfer / re-frisk

Take full control of re-frame app
https://flexsurfer.github.io/conduit-re-frisk-demo/
456 stars 29 forks source link

Hide re-frisk buttons & open debugging tools with shortcut key #68

Closed Jarzka closed 2 years ago

Jarzka commented 2 years ago

Hi

Is it possible to hide the re-frisk buttons that show on the UI and instead open the UI on the page with a special shortcut key? I find it difficult to use my app when re-frisk is running because its buttons are located on top of my app's UI elements.

For example, reframe-10x does not draw anything on the page unless you hit a special shortcut key (Ctrl + H). This way, the debugging tools are always easily availabe, but they do not disturb my UI if I don't need them.

flexsurfer commented 2 years ago

yes sure, PR are welcomed :)

flexsurfer commented 2 years ago

hey @Jarzka i don't want to hide UI by default, for new users, so will it work if we add a setting, and implement [re-frisk.preload-hidden] ? so if you want a hidden buttons you could use this preloader?

Jarzka commented 2 years ago

Sounds good to me 👍 If it's possible to open the UI with some special shortcut key?

flexsurfer commented 2 years ago

@Jarzka yes ctrl+h

flexsurfer commented 2 years ago

1.6.0