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

Add keyboard shortcuts for various actions #21

Merged
merged 3 commits into from
Oct 30, 2021

Conversation

claycoleman
Copy link

introduces keyboard shortcuts for various actions:

  • toggle current monitor
  • switch between monitors
  • clear monitor output
  • jump to bottom of output

hi there @jeansaad , love Chalet!! I've had a few ideas for improvements since I use it pretty much every day – this will be the first of a couple PRs, as long as you're open to some ideas!

the first is this simple change – it's common that i miss the toggle button to turn on or off a monitor, and i click the monitor again, which unselects it and prevents me from viewing any output. i'm not sure that there's much value in not viewing any monitor, which is exactly what happens when you unselect a monitor. 

thanks so much!
Copy link
Owner

@jeansaad jeansaad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! The only thing that I would add is some sort of info icon in the corner and some instructions on how to use the keyboard shortcuts in the app.

Maybe something similar to this, which is activated from a button in-app?

image

Let me know your thoughts!

@claycoleman
Copy link
Author

I think this makes a ton of sense – I'll add this!

@jeansaad
Copy link
Owner

Don't worry about getting too fancy. I'm toying with the idea of a UI overhaul at some point.

@claycoleman
Copy link
Author

Updated!

Screen.Recording.2021-10-28.at.11.09.18.AM.mov

@jeansaad
Copy link
Owner

jeansaad commented Oct 30, 2021

This is great so far. Had a look at the recording and the code. Will do a local test first before approving and merging.

If you're up for it I'm thinking we should also change the hover over a monitor to something that doesn't conflict with the selected colour. Let me know what you think. If you don't have time, I can quickly do this and merge them all together and make a release. Lmk!

Update: Already fixed the li hover issue.

Copy link
Owner

@jeansaad jeansaad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work!

@jeansaad jeansaad merged commit a455748 into jeansaad:master Oct 30, 2021
@claycoleman claycoleman deleted the patch-2 branch October 30, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants