mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[PR #394] [CLOSED] Hotkey Implementation #740
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#740
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/394
Author: @oakypokey
Created: 3/29/2020
Status: ❌ Closed
Base:
master← Head:Hotkeys📝 Commits (9)
0e228bcAdded Keybinding tab skelefe41a2dCreated Keybinding grid and added en-US855c749kinda getting there: simple testing for hooks61e1726playing with state management1783d46Completed recording and preference saving3400038Added keycoder for key name management8a768c1Added error checking46cf0delinting and cleaning2d4e2a0made it so options are gernerated from pref file📊 Changes
7 files changed (+255 additions, -7 deletions)
View changed files
📝
package-lock.json(+7 -2)📝
package.json(+1 -0)➕
src/components/PreferencesModal/KeyBindingTab.tsx(+195 -0)📝
src/components/PreferencesModal/PreferencesModal.tsx(+9 -5)📝
src/lib/preferences.ts(+28 -0)📝
src/locales/enUS.ts(+14 -0)➕
typings/keycoder.d.ts(+1 -0)📄 Description
Issue #367
Description
Added a tab called 'Keybindings' in the preferences pane that allows the user to record shortcuts to use in BoostNote. This new set of preferences is stored in the same place as the existing preferences.
Screenshots
Testing
Ubuntu Electron App: There's some weird behavior the occurs because shortcuts aren't de-registered or paused when trying to set the new keybinding. This should be addressed during implementation of the shortcut execution
Web App: Working | No issues here because the browser doesn't pick up on these actions though it is still important to pause hotkey actions when preferences are in focus
Is there a way that BoostNote manages hotkeys using electron? I'm unfamiliar with electron so any guidance would be appreciated :) I'm also not sure if it falls under the scope of the issue?
This is my first PR so any feedback on how to improve, please let me know!
IssueHunt Summary
Referenced issues
This pull request has been submitted to:
IssueHunt has been backed by the following sponsors. Become a sponsor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.