liamcain / obsidian-calendar-plugin

Simple calendar widget for Obsidian.
MIT License
1.58k stars 134 forks source link

"Calendar: Open View" command isn't in the Command Palette. #199

Open seishonagon opened 3 years ago

seishonagon commented 3 years ago

In the documentation for the Calendar plugin, there is the following line:

I accidentally closed the calendar. How do I reopen it?
If you close the calendar widget (right-clicking on the panel nav and clicking close), you can always reopen the view from the Command Palette. Just search for Calendar: Open view.

I had closed the calendar plugin, and I couldn't find the command. If it doesn't exist, then the documentation should be updated? Is there an alternative way of restarting the calendar view apart from reinstalling the plugin ?

Environment (please specify)

OS

macOS Big Sur 11.5.2

Obsidian Version

v0.12.12

Theme:

Minimal Theme

liamcain commented 3 years ago

Hi @seishonagon, did you close the calendar view or just collapse the sidebar?

image

If the sidebar is collapsed, you can reopen it with the button in the top right or using the command "Toggle Right Sidebar"

image

The Open View command will only show up if you close the calendar view completely via:

image
reeleese commented 1 year ago

I had this issue as well. It turned out I had resized the right sidebar and hid the widget icon. Click and drag the left border of the sidebar to reveal hidden widgets

Screenshot 2023-07-05 131627
ebouchut commented 9 months ago

In addition to what @reeleese has said above, I read the code here and there and my understanding is the following:

Calendar View already opened? Calendar: Open view visible in the command palette?
Yes No
No Yes

💡 So, for anyone with the same question, if the Calendar: Open view command is not present in the command palette this means that the Calendar View is already open in the right or left sidebar. Therefore, showing these sidebars and resizing them up if necessary will help you find the Calendar View.