Kanban Board

:discourse2: Summary Kanban Board allows you to display and organise topics using a kanban board interface.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-kanban-theme
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Features

So far, there are three modes. Categories, tags, and assignment. You can drag topics between lists to change the corresponding attributes:

Lists are ‘lazy-loaded’, so performance is reasonable, even for very large numbers of categories. You can enter fullscreen mode for even more space to organise your projects:

The default board mode will be automatically determined using these criteria:

  • If this is the top level, use categories mode
  • If this is a category, and there are sub-categories, use categories mode
  • Otherwise, use tags mode. (Lists built from ‘top tags’ list)

You can change the board mode using the filter button on the left, and configuration changes will be reflected in the URL. Users can bookmark their favorite configuration in their browser. Administrators can customize the defaults per-category in the theme settings.

The most intuitive setup is “tags”, where the tags displayed are in a tag group with “only one tag from this group” enabled.

Settings

Name Description
display categories A list of categories where the “Board” button should appear. If left blank, it will be shown everywhere. Use @ to denote the top level view.
default modes Override the default board mode for each category. Use the syntax category:mode:params. For example, support:assigned:david,sam,joffrey. Use @ to denote the top level view. Use @untagged to display an untagged column.
default view A list of categories where the “Board” is the default view. Does not yet support the top level default view.
require confirmation Display a confirmation modal before making changes to a topic’s tags/category
show tags Show tags on topic cards
card style
Translation Default
no_topics no topics
confirm_change_tags Remove ‘#%{remove}’ and add ‘#%{add}’ to ‘%{title}’?
confirm_close Close topic ‘%{title}’?
confirm_open Reopen topic ‘%{title}’?
confirm_change_category Move topic ‘%{title}’?
menu_label Board
copy_link Copy link to clipboard
configure Configure kanban board
fullscreen Toggle fullscreen
no_lists No Kanban lists configured…
controls Kanban Board Controls
last_post_by Last post by
modal.title Configure Kanban
modal.tags_placeholder Tags to display…
modal.categories_placeholder Categories to display…
modal.usernames_placeholder Users to display…
modal.apply Apply
modal.mode Board Mode
modal.lists Lists

pr-welcome features:

  • make the lists more configurable. e.g. allow administrators to define a combination of assignment, tags, and categories in one display

  • Add support for dragging cards on mobile devices. Unfortunately, they don’t support html drag and drop


:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @JammyDodger 2024-06-13T11:44:57Z

Check documentPerform check on document:
148 Likes

@david one of our team made those changes you suggested to the Tag mod that @artysidorenko made. Would you like to check it out?

@david are those changes enough to merge our code into your plugin?

or are there further changes needed? i hope we can get it resolved before the next codebase update puts our addition behind and requiring more work again.

1 Like

Hi @ninjapenguin, thanks for the PR - I put a response on there. Unfortunately it still needs some changes before we can merge it. In particular, the issue around multiple AJAX requests needs to be resolved, otherwise clients will be rate-limited.

4 Likes

It’s probably just tiredness, but I could have sworn that default view changed the default view to ‘board’ for certain categories.

The description does say A list of categories where the "Board" is the default view. but I specify category stubs there and… nothing.

4 Likes

None of the options display categories, default modes and default view are working for me.

I’ve seen replies like this on the thread and tried to replicate, but it’s just not working

Sure! I have a number of categories that follow this settings format:
display categories: category_slug
default modes: category_slug:tags:to-do,doing,done

3 Likes

Make sure the category names in your slug (i.e. setting of the category) have no caps in them. It doesn’t seem to like that.

1 Like

I thought I must have missed something. Thanks!

The other thing that I think I want, and I usually hate stuff like this, is to have another set of tags that can be used to set the color. I have today in a column but want to have colors for different types of jobs. How hard is it to add a div for tags?

2 Likes

Sorry, I don’t quite understand? You want to display tags on the cards? I think that’s already possible?

Or do you want to add a class based on the tag?

1 Like

Hmm. So maybe I can make the columns be categories and then use tags too. I think that would solve my problem.

Right. What I think I want is to be able to have different cards in a column have different colors indicating . . . something.

1 Like

@pfaffman

There is this version which makes the kanban boards work with tags, and adds a ‘board’ tab to tag pages. It contained an error which sent too many requests, and so was never merged into the main plugin.

Unfortunately the developer who made the update dropped out and so the bug was never resolved, although it’s been running fine on our site until the latest Discourse update. You’d be very welcome to use it if that would resolve your issue. @david commented on what needed done here, before it becomes a part of his main Kanban plugin code

2 Likes

Great work, @david. We have one use case where it would be helpful if the topics in each column were sorted by date created, rather than date of last reply. Is this possible? If it’s not a simple thing, I can go to marketplace, but any clues would be appreciated.

2 Likes

Looks like I have found an issue with the the kanban theme:

  • default view in the kanban setttings it configured to “abc”
  • use the kanban board of category “abc” (which is displayed correctly)
  • click the disource logo on the left side to go back to the discourse main start page

=> The kanban board is displayed which shouldn’t be the case actually as this is not the category ‘abc’

If I reload the discourse start page, the kanban board is no longer displayed. Looks like a JS / cache issue.

2 Likes

Is it possible to set this to only show specified tags site-wide?

I can set the options i need on some categories individually, but i want it to display only 4 tags for all categories and subcategories across the whole site (backlog, sprint, doing, done)

2 Likes

This would be highly useful. Was it ever implemented into the main repo?

1 Like

I’ve stumbled on the same issue : After setting a categorie to the kanban view, switching to another categorie that is not supposed to have the ability to show kanban board, actually does.

My configuration is set as to being allowed on tags and on two categories only.

Just as you mentionned though : reloading the discourse start page resets everything back to normal.

3 Likes

I’m on current tests-pass and version 1.0 of the component.

How do I set kanban as the default category view? Using tags mode. Board shows up as a selectable option in the menu, but I’d like to assign it as the default view for the category. I’ve tried customizing the component settings, but it just won’t display as default category view. :frowning:

3 Likes

Another question:

  1. How can users of a kanban board “delete” a topic which is on the kanban board? They normally get a message, that deleting is not possible and they should contact moderator.

  2. After moving a topic to the last column (= done), are these topics “cleaned-up” automatically or how can this be achieved?

Thanks in advance.

1 Like

Is there any way to set this to only show tags from one tag-group sitewide?

I have it on tags mode and only want it to create a list for some tags across the site and not others. Users will be able to use tags like normal and the only ones which will create a column in the tags board are the tag-group ‘manufacturers’.

For example,

  • On my site the Kanban component is set to only create Kanban columns on all boards for the tag-group ‘manufacturers’.
  • If a user creates a thread and enters these tags: Honda, Convertible, Frank, Paris. The only tag which would create its own list in the board is ‘Honda’.

I get the impression this is already possible using the params in ‘default mode’ setting, but i tried for hours and cant work it out.

2 Likes

Hey @angus, replying to your email here as requested.

We’re looking to have two types of default board options:

  • Tags: todo, doing, done
  • Assigned

But I’m unsure how to make it work in the component settings.

6 Likes

Are you saying to have a board that shows topics Kanban style but by assigned user? If so, I LOVE that idea.

1 Like