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

Previous/Next Month Hotkeys for Calendar View #348

Open
leoccyao opened this issue Feb 2, 2024 · 0 comments
Open

Previous/Next Month Hotkeys for Calendar View #348

leoccyao opened this issue Feb 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@leoccyao
Copy link

leoccyao commented Feb 2, 2024

Is your feature request related to a problem? Please describe.
I'm able to use keyboard shortcuts to show the currently open daily note in the calendar, view, and to open the calendar view (#275). However, to navigate between months, I still have to use the mouse.

Describe the solution you'd like
Add a pair of hotkeys (can initially be unset) to navigate to the previous/next month in the calendar pane.

Describe alternatives you've considered
You could always open a daily note of a specific month then show it in the calendar, but this requires extra steps.

Additional context
Took a dig into the code, and displayedMonth is in the Calendar UI state and can be $set from outside the component, but I don't know Svelte and can't figure out if there's an equivalent way to get the state from outside the component.

@leoccyao leoccyao added the enhancement New feature or request label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant