nothingislost / obsidian-workspaces-plus

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

Attempting to create new workspace overwrites another workspace #97

Open ParkerRobb opened 1 year ago

ParkerRobb commented 1 year ago

Describe the bug I followed the instructions to create a new workspace by typing the name in the popup and pressing shift+enter, but when I do that it does not create a new workspace but instead overwrites the first workspace on the list alphabetically.

This had the effect of overwriting another workspace I had spent a lot of time customizing. I am not happy about losing that.

I cannot find any other way to create a new workspace.

To Reproduce

  1. Click the Workspaces Plus status bar item.
  2. Type in a name for a new workspace.
  3. Press shift+enter.

Expected behavior A new blank workspace with the new name should be created.

It should NOT overwrite an existing workspace!

Screenshots None

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

Additional context None

ParkerRobb commented 1 year ago

Here's a screenshot that shows different behavior than described in #33:

image

mrkuramoto commented 1 year ago
ParkerRobb commented 1 year ago

I was able to find a backup of .obsidian and restored all files starting with workspace*.

kahboom commented 1 year ago

Can confirm this is still happening. At the moment I don't see any way to create a new workspace.

ragundo commented 1 year ago

Same. No way to create new workspaces

zero617 commented 1 year ago

Same for me

johannesCmayer commented 1 year ago

Same

HyperEpsilon commented 1 year ago

Same

nickmilo commented 1 year ago

same

jsmorabito commented 1 year ago

Hi everyone, sorry for the inconvenience. You might consider updating to the workspaces plus beta version. I just tested this issue on a test vault and the problem is appearing on the main release but not the beta version. Search in the community plugin browser for brat, then run the command "add a beta plugin for testing" and put this repository's url: https://github.com/nothingislost/obsidian-workspaces-plus

Please make a backup of your workspaces.json file as I do not know if updating to the beta version will affect it at all.

I am currently working on an update to the commander plugin, but will redirect my attention here to workspaces soon after.

johannesCmayer commented 1 year ago

This works for me :+1: Thank you.

ncoquelet commented 7 months ago

Hi, Why is there still no release for this fix?