mirnovov / obsidian-homepage

An Obsidian plugin that opens a specified note, canvas, or workspace on startup, instead of the most recent one.
MIT License
397 stars 19 forks source link

[bug/feature] Activating homepage with replace open window shouldnt close notes open in sidebar #18

Closed danieltomasz closed 2 years ago

danieltomasz commented 2 years ago

this is quite critical for my worklow when I click on homepage or restart Obsidian all open notes in panes in sidebar are closed This happens when I have active option "replace all open notes".

I would like to propose option to exclude notes opened in sidebar from replacing

Current I am switch to "replace last note"

mirnovov commented 2 years ago

“Replace all open notes” is intended to replace all open notes, hence the name.

That’s a fairly specific use case so I most likely won’t add that. An option you could consider is the “workspaces” feature of Obsidian, which is supported by this plugin, which allows you to open a whole prespecified layout.

danieltomasz commented 2 years ago

In 0.15.3 open workspace feature started closing the notes opened in sidebar too , and if I use replace last note, the homepage can open then in the sidebar if I focused on note in the sidebar before launching plugin

EDIT: Ok, I solved this after uninstalling workspace plus plugin, and setting new workspace