obsidian-calendar-plugin icon indicating copy to clipboard operation
obsidian-calendar-plugin copied to clipboard

Hotkey for `Calendar: Open view` is not working

Open charleshan opened this issue 3 years ago • 11 comments

Before Submitting: Double-check that you are running the latest version of the plugin. The bug might have already been fixed 😄

Describe the bug

Hotkey for Calendar: Open view is not working

Steps to reproduce

  1. Go to 'options'
  2. Go to 'Hotkeys'
  3. Add a hotkey for 'Calendar: Open view'
  4. Use the hotkey

Expected behavior

Go to the Calendar view.

Screenshots

CleanShot 2021-11-16 at 23 48 19

Environment

OS

macOS 11.6

Obsidian Version

(Settings → About → Current Version) 0.12.19

Theme (if applicable):

Tested with default but has the same issue.

charleshan avatar Nov 17 '21 07:11 charleshan

The "Calendar: Open view" command only reopens the calendar view if you happened to close it. If you only collapsed the sidebar, this won't reveal the calendar. To do that, you'll want to just use the Toggle Right Sidebar command.

liamcain avatar Nov 17 '21 16:11 liamcain

This doesn't work when it's not collapsed but when you're on another tab. Jumping to Calendar with a hotkey was the expected behavior because it does that for File Explorer, Search, Stars, Tags, and Graph.

CleanShot 2021-11-17 at 12 28 12

charleshan avatar Nov 17 '21 20:11 charleshan

got the same issue ....

sky31even avatar Feb 06 '22 07:02 sky31even

+1 for this issue. Ideally, hitting the hotkey would just open the right sidebar with the calendar view open.

baseliners avatar Mar 13 '22 08:03 baseliners

+1

romansemko avatar Jun 05 '22 14:06 romansemko

+1

samlevan avatar Jun 06 '22 03:06 samlevan

+1

andrewjmcgehee avatar Aug 07 '22 17:08 andrewjmcgehee

+1

ammarhusain avatar Sep 02 '22 16:09 ammarhusain

+1

jtfrom9 avatar Oct 21 '22 17:10 jtfrom9

+1

henryrobbins avatar Oct 27 '22 02:10 henryrobbins

Created a pull request to add the requested hotkey. A working solution (even if dirty) can be added manually while this patch is not yet merged and released:

https://github.com/romansemko/obsidian-calendar-plugin/releases/tag/1.5.10-hotkey

romansemko avatar Oct 27 '22 07:10 romansemko