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 initial keymap configuration #1304

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Komediruzecki
Copy link
Contributor

@Komediruzecki Komediruzecki commented Nov 7, 2021

Add shortcuts for desktop and web app

  • Sidenav toggle
  • Global Search toggle
  • Preferences toggle
  • Add split edit and preview mode toggle
    Comment out keymaps not implemented

Showcase:

Keymaps_2021-11-07.19-00-43.mp4

Issue: https://github.com/Boostnote/BoostHub/issues/1478

Copy link
Member

@Rokt33r Rokt33r left a comment

Choose a reason for hiding this comment

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

Could you resolve the conflicts?

@@ -141,7 +140,9 @@ const Application = ({

useEffect(() => {
const handler = () => {
setShowFuzzyNavigation((prev) => !prev)
if (usingElectron) {
Copy link
Member

Choose a reason for hiding this comment

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

Is there any reason why we blocking this behavior for the browser app?

Copy link
Contributor Author

@Komediruzecki Komediruzecki Nov 30, 2021

Choose a reason for hiding this comment

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

Hmm, it had some reason, it was either that it is covered somewhere else, so as not to duplicate it,
or we had it in spec, or I thought it was something else and that web app does not have this search!
(looked at spec, seems it should be BOTH)

I'll investigate more and see if this can be enabled for both and if it is correct to do so.

@Komediruzecki Komediruzecki force-pushed the feature/add-keymap-customization branch 2 times, most recently from 86f47df to 9eec41c Compare November 30, 2021 22:17
Add shortcuts for desktop and web app
- Sidenav toggle
- Global Search toggle
- Preferences toggle
Comment out keymaps not implemented
@Komediruzecki
Copy link
Contributor Author

Komediruzecki commented Dec 5, 2021

Could you resolve the conflicts?

Resolved,

What do we want to do with keymaps that aren't really applicable to the web app, should I hide them from UI?

Put it like this:
image

What do you think?

Fix cloud and desktop app global search shortcut
- Add desktop app changeable shortcut in menu
- Fix cloud having multiple global search shortucts bound
@Komediruzecki Komediruzecki force-pushed the feature/add-keymap-customization branch from 9eec41c to 574db47 Compare December 5, 2021 21:03
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