marcusolsson/obsidian-projects

Unable to create project. All fields disappear

Opened this issue · 8 comments

What happened?

Installed the Projects plugin. Clicked to create new project. After adding fields in, one of two things occur:

  1. If I switch away from the project, when I come back to it, all the fields are gone
  2. I also turned on 'Enable Rich Text Formatting' while creating a field and that caused all the fields to disappear
  3. If I have created the fields and attempt to create a note, after prompting for the note name there is a new row that appears in the table view, but it is empty. it doesn't contain the note name.

The only thing that is saved is the project name and the views that I have selected. Everything else is gone.

What did you expect to happen?

I would expect this to work. if I use the demo project, I'm able to add notes to that successfully. I cannot edit the demo itself as going into any of the field configuration says that changing the field is not yet possible

How can we reproduce it (as minimally and precisely as possible)?

I have no clue as I'm sure this isn't expected behavior. What I haven't done is disable all other plugins that I have installed to see if there's a conflict there.

Anything else we need to know?

No response

Plugin version

1.17.2

Obsidian version

1.5.12

OS

macOS

I've turned off all community plugins except for the following:

Projects
Style Settings
Templater

Restricted mode is OFF

Core plugins disabled are:

Daily Notes
Outline
Publish
Random Note
Slides
Sync
Templates
Unique Note Creator
Word Count

Attempted to switch back to the Default theme and disable ALL community plugins except for Projects. Still seeing the same behavior

Just tried creating a new vault with all defaults and just added the Projects plugin. Still the same behavior. Something isn't right here.

Oh that should be an edge case. Without existing note the added field won’t persist. Could you please add a note first (via Projects table row or the Obsidian / file system, both are expected to work), then adding fields and see if the problem solved?

I've tried adding a note. If you use the demo project, I can click the 'Add Note' button and the box asking for a note name comes up and once I enter a note name and click ok, the note name appears in the table.

When I'm trying to create a note in the project I'm creating a new blank row is created but it doesn't contain the name of the note. There is nothing there.

Seems like a pretty likely edge case as there is nothing in the documentation noting that you cannot create the project structure without adding a note.

Finally was able to get this working. The key is to create the folder location first. My thought was that setting the project folder in the project creation dialog would create it. It does not. I had to create the folder hierarchy first, then SELECT it from the list of available directories.

Yeah there's a need to enhance the onboarding / guiding docs. As for the request on creating new folder if it is not yet created upon building a new project, this is logged in #663.