mgmeyers / obsidian-kanban

Create markdown-backed Kanban boards in Obsidian.
https://publish.obsidian.md/kanban/
GNU General Public License v3.0
3k stars 173 forks source link

[Bug]: Adds new list every time opening the kanban board #1009

Closed KUZJurk closed 1 week ago

KUZJurk commented 1 week ago

Describe the bug

When I close the board and open it again, a new list appears with the same title as the board title. Even if a list with the same name already exists.
It also happens if I switch to another note tab and switch back to the board again.

It is pretty annoying since you have to delete the created list everytime and this could be the reason I stop using this nice kanban plugin.

Expected Behavior

Opening the Kanban note or switching to the notes tab should not trigger the creation of a new list.
In my opinion creating a new list automatically is only useful when creating a new board.

Steps to reproduce

  1. Close the board
  2. Open it again
  3. There should be a list with the same name as the title of your board

Relevant errors (if available)

No response

Operating system

Windows

KUZJurk commented 1 week ago

It turns out, that this "bug" occurs because of the "Filename Heading Sync" Obsidian plugin. It creates a top level heading with the name of the file.

Solution:

You have to configure the heading sync plugin to ignore the file. Either by manually adding the board file to the ignore list, or defining a regex for filenames which should be ignored and name your boards accordingly.