joplin / plugin-kanban

It allows notes in a notebook to be organized in a kanban board.
https://discourse.joplinapp.org/t/kanban-board-project/17469
132 stars 17 forks source link

Can't add any card to the board #6

Closed theCollectiv closed 2 years ago

theCollectiv commented 3 years ago

I can't add any card to the board. I tried the + Button for each column of the kanban board. It opens a new note, which I did edit. But afterwards is no change to the kanban board. The note exists in the joplin-note-list; but there is no way to get it on the kanban board/convert it into a kanban-card. I also added a note to the kanban notebook and tried to get it to the board without success. Am I missing something to get it work?


The kanban config is

columns:
  - name: Backlog
    backlog: true
  - name: Work in progress
    tag: wip
  - name: Finished
    tag: done
  - name: Additional Info

I use Joplin 2.4.9 and installed the plugin via Joplin (kanban V1.0.4.). 2021-10-28_10-26_kanban


There is another ...strange behaviour; everytime I leave the notebook/folder, which is including the kanban-config and re-enter the notebook/folder, a copy of the parent directory with just including the kanban-notebook/folder (no notes in there) is made.

2021-10-28_10-55_kanban 0-a0ef1bb7-4963-4d5f-bb8d-ebad41a60f75.png)

mablin7 commented 3 years ago

Something broke with the latest joplin release, I'll check it as soon as I can

theCollectiv commented 3 years ago

If u want to have someone to test it then, just tell me, when its ready to test.

mikestaub commented 2 years ago

I tested on Joplin@2.5.12 and it works

shinglyu commented 2 years ago

Tested on both v2.3.3 and v2.5.12 and it's still broken. However, the kanban board I created a few weeks ago seems to work fine. But any new one is broken.

shinglyu commented 2 years ago

@mablin7 I found the problem. joplin.data.get(["folders"]) is paginated, so if the user has more than 100 (default pate limit) folders, the resolveNotebookPath might not find the folder and decide to create one. ~I don't have time today but I'll try to fix it some other day~.

There are more joplin.data.get() calls that forget to do pagination, so we might need to fix those as well.

shinglyu commented 2 years ago

It's an easier fix than I thought, should be fixed by #9

shinglyu commented 2 years ago

@mablin7 do you mind if I release the new version for you? Because I really want to get this fix using the official channel. If I understand it correctly I should open a PR to https://github.com/joplin/plugins repo with the updated .jpl file and update the version in the README? I can create an SHA-1 hash of the .jpl file so you can verify the package? (Not sure if the compiler and dependency will cause the package to be slightly different...)

mablin7 commented 2 years ago

Oh no, it doesn't work like that, I have to release through npm. But I'll do it right now

mablin7 commented 2 years ago

There, the update should show up in an hour or so.

shinglyu commented 2 years ago

Just received the update! Thank you so much!