nothingislost / obsidian-workspaces-plus

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

Workspaces say they're saved but don't persist #81

Open axelson opened 2 years ago

axelson commented 2 years ago

Describe the bug I'm able to save a workspace (as in I see the "successfully saved workspace: "), but the workspace I saved never shows up as a workspace to load.

To Reproduce Steps to reproduce the behavior:

  1. Run the "Workspaces Plus: Open Workspaces Plus" command
  2. Type "main"
  3. Press "shift+enter" to save the workspace
  4. Run the "Workspaces Plus: Open Workspaces Plus" command
  5. Type "main"
  6. The "No match found. Use Shift enter to save as..." message appears

Expected behavior Instead in step 6 I would expect the "main" workspace to appear

Screenshots

https://user-images.githubusercontent.com/9973/185802926-511e84e4-e643-459a-8157-475d8a9be987.mp4

Desktop (please complete the following information):

Additional context No errors appear in the dev console

axelson commented 2 years ago

Okay, I figured out that this is because I didn't have the "Workspaces" core plugin installed. Instead of closing this issue I'd like to request that a check is added to this plugin to raise a warning/error when trying to save a workspace when the core extension is not loaded.

greg-fox commented 2 years ago

@axelson thank you for the tip to enable the Workspaces core plugin. +1 to adding a warning in the Workspaces Plus UI.