Kanban integration with tasks

I’ve created a new plugin that can generate kanban boards with the query system:

 * [TODO]  help with things 📅 2022-11-26 #test [user:test] 
 * [ON GOING] help

```kanban
template:
  template
query:
  task where page = @page.name
columns:
  - id: TODO
    title: ToDo
  - id: ON GOING
    title: On Going
  - id: DONE
    title: Done
options:
  dragItems: false
  dragTables: false
```

Will show as:

At the moment it just renders it, but I hope I can make changes that you make on the board to reflect on the list of tasks.

To install run the {[Plugs: Add]} command and paste in: github:dandimrod/silverbullet-kanban/kanban.plug.js

Link to the repository

As always, any feedback is appreciated!

9 Likes

This looks very promising. Can’t wait to try this out!

Thanks a lot for this, it looks great! It shows like this for me though:

How did the scroll bars get there?

@nikolasdi Hmm, what resolution are you using in your screen? By default it takes as much space as the rest of the notes, so the use of scrollbars are unavoidable, but the vertical scroll is a bit weird there. I’m thinking on adding a fullscreen button that would make the kanban fullscreen so it is easier to manipulate, hope I can add it into a new release soon, I’ll let you know then!

Resolution is 1920x1080.

Problem was solved however by adding “responsivePercentage: true” to the options. The board autoadjust and shows no scrollbars.

Added to the website Plugs/Kanban

2 Likes
query:
  task where @page.name in  page

It’s failed.
Any idea?

What would you hope this would do? in is for lookups in lists, task is not a list so it will (I’d assume) always return false. If you want to check if it appears as a substring, it’s probably best to use the =~ operator or contains. Have a look here: Library/Core/Widget/Linked Tasks

1 Like