MetaEdit icon indicating copy to clipboard operation
MetaEdit copied to clipboard

Kanban helper function not working

Open olivia530 opened this issue 4 years ago • 5 comments

I created a kanban board today in which all the lane names are the status indicators I've been using in the YAML for my blog posts (e.g. idea, braindump, mindmap, drafts, etc). I would really love the status of each linked note to update automatically when I move its card to a new lane, but for some reason I can't get it to work.

I thought at first it might be an issue with the linked notes existing before they were linked to kanban cards, but I tried making a test card and then a note from that card with status metadata, and it still didn't work.

Here's my settings for kanban helper: screenshot_113

And here's an example of my metadata for a note in the kanban board in question: screenshot_114

olivia530 avatar Oct 02 '21 21:10 olivia530

I was going to create a new bug ticket, but now I'm wondering if my issue is the same as here. The issue for me is that the kanban helper stops processing the board if it tries to process a linked note that doesn't exist. Not sure if that is the same for metadata notes, though.

Do you see anything in the console? For me, I have the Kanban plugin link to the daily note for due dates, but these probably won't exist yet. I get MetaEdit: (LOG) 2021-10-28 is not updatable for the KanbanHelper.

darthmachina avatar Oct 27 '21 16:10 darthmachina

Since this is still not working for me after several months, I decided to check out the console while attempting to move a card to a new kanban lane, and found the following error messages: Screen Shot 2022-02-22 at 15 40 06 PM

No idea what the first one means, and the file specified in the second one does exist and also isn't the file I was attempting to move (it's just the first file in this particular kanban board). So I still don't understand what the issue is.

olivia530 avatar Feb 22 '22 23:02 olivia530

@olivia530 I've got some trouble with this, too. Sometimes it works and sometimes not. I experimented a little bit and now I guess even if you move only one map, Meta-Edit checks the status of all cards. And if, as in your case, the first card cannot be updated for some reason (perhaps it has no status tag?), then all the other maps will not be updated either.

This is the impression I have gained.

Volker-brdb avatar Mar 17 '22 23:03 Volker-brdb

@Volker-brdb Wow, thank you so much for this comment! You gave me enough of a clue as to what was happening that I was actually able to fix this problem. Here's what I did:

I opened my kanban board as markdown and then went into Edit mode (I use the Legacy Editor). When I did, I discovered that many of the linked cards in my kanban board were not actually links at all, or at least not Obsidian-style wikilinks. Instead, they were like... external links that pointed to files in my Obsidian vault? I don't know a better way of phrasing that. Here's an example of what I mean:

screenshot_157

In Reading mode as well as in kanban board view, these not-links looked and functioned just like regular links:

screenshot_158

Because these were not Obsidian-style links to files in my vault, it seems that MetaEdit was unable to read the metadata of the files in question. And as mentioned above, if MetaEdit cannot update the first linked card in a kanban board, none of the other cards can be updated either. So the kanban helper function was broken for my entire board, despite only some of the linked cards containing this type of not-link.

In Edit mode, I went through all the not-links in my board and turned them into regular wikilinks. Once I did that and switched back to kanban board view, the kanban helper function worked perfectly.

So, with all this in mind, it looks like the creation of these not-links might be a bug with Kanban, not with MetaEdit. Either way, from now on I am going to check in Edit mode whenever I create linked cards in a kanban board to make sure they are actual links.

olivia530 avatar Mar 18 '22 00:03 olivia530

I had the same problem. If using markdown links, the Kanban helper doesn't work. If using Wikilinks, it does work. Both link types are supported in Obsidian, so it should matter. I think this is a bug.

ddeighton avatar Oct 04 '22 17:10 ddeighton