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

Usability improvements for custom keyboard controls #2145

Merged
merged 6 commits into from
Aug 8, 2023

Conversation

zachallaun
Copy link
Contributor

@zachallaun zachallaun commented Aug 7, 2023

See discussion for context.

  • Add :default_handlers option to control whether the default Livebook shortcuts are enabled/disabled when the keyboard control is active.
  • Add ctrl/cmd + k session shortcut to toggle keyboard controls.

Basic notebook for testing: gist

Corresponding PR in Kino: livebook-dev/kino#312

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Uffizzi Preview deployment-32808 was deleted.

@zachallaun
Copy link
Contributor Author

Link to open playground notebook in PR environment: link

assets/js/hooks/session.js Outdated Show resolved Hide resolved
zachallaun and others added 5 commits August 7, 2023 15:36
* Add `:default_handlers` option to control whether the default
Livebook shortcuts are enabled/disabled when the keyboard control is
active.
* Add `ctrl/cmd + k` session shortcut to toggle keyboard controls.
Co-authored-by: José Valim <jose.valim@gmail.com>
@zachallaun
Copy link
Contributor Author

Thanks for the review @jonatanklosko! I'll have this (and the Kino PR) updated after I drop the kiddo off at school this morning.

@zachallaun
Copy link
Contributor Author

@jonatanklosko done!

Copy link
Member

@jonatanklosko jonatanklosko left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@jonatanklosko jonatanklosko merged commit 005a9e8 into livebook-dev:main Aug 8, 2023
6 checks passed
@zachallaun zachallaun deleted the keyboard-control-2 branch August 8, 2023 14:14
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.

3 participants