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

feat: useKbdShortcuts hook & example implementation #180

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

alex-mcgovern
Copy link
Collaborator

Following the adage of "build the things you want to see in the product" — I added a hook that can be used to wire up keyboard shortcuts.

While working on "hard delete" for workspaces, I found myself wanting "C" to create a lot. I think overtime we can instrument the entire app for productivity like this.

@coveralls
Copy link
Collaborator

coveralls commented Jan 23, 2025

Pull Request Test Coverage Report for Build 12927693746

Details

  • 8 of 16 (50.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.6%) to 68.996%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/hooks/use-kbd-shortcuts.ts 5 13 38.46%
Totals Coverage Status
Change from base Build 12927121533: -0.6%
Covered Lines: 636
Relevant Lines: 825

💛 - Coveralls

@alex-mcgovern alex-mcgovern merged commit 0d935a3 into main Jan 23, 2025
7 of 8 checks passed
@alex-mcgovern alex-mcgovern deleted the feat/use-kbd-shortcuts-hook branch January 23, 2025 11:01
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