nothingislost / obsidian-workspaces-plus

Quickly switch and manage Obsidian workspaces
GNU General Public License v3.0
198 stars 6 forks source link

[Discussion] What should the behavior be when deleting the currently active workspace? #17

Open nothingislost opened 3 years ago

jsmorabito commented 3 years ago

My assumption is that it would open the next workspace on the list, but that might not be the ideal behavior... This also brings into question the state of having deleted all workspaces which I'll make a separate issue for so we can track it. I think safari is the closest model in that they have a sort of "non workspace-space" see "1 Tab" at the top of this screenshot: image

When you're not in any tab group in safari it doesn't show any name only the caret icon to open the dropdown menu: image

Maybe we could imitate that? Then an option for when you delete the active workspace could be to send you to that default space...

jsmorabito commented 3 years ago

deleting the tab group that you're in (in new safari beta) puts you in the next workspace on the list so that seems like a good default for now

jsmorabito commented 3 years ago
image

Adding this for context. Deleting current active workspace from picker only removes it from the list. To get the behavior of opening the next workspace in the list I'm assuming we will need the workspace UID system?