Manage categories Trello style - a kanban service for Discourse

2019-05-24 EDIT
The service is now up and running. Prototype/alpha style.


Hi, I am prototyping a service that allows for a kanban like view of the topics in a category. Topic labels decide which lane to place a topic in.

  • Drag to antother lane > Change label
  • Click on card > Open topic in Discourse

Seems straightforward enough, I have a working test up running.

I’d like to use the functionality for creating something along the lines of the Enspiral Improvements system or/and the Buffer Editorial Board.

So, now for the questions.

I’d like to choose the best way connect this to Discourse.

Should I create a Discourse plugin for storing settings? What categories are managed this way, which labels to use etc?

In order to create something like below - the yellow box - I would have to create a plugin yes?

Integrating the board directly into Discourse would be … cool. But possibly a bad idea for a number of reasons. Or a really great idea?

Anyone like to collaborate on this? Ping me a message. :incoming_envelope:

You can try using something like this.

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/discovery.hbs#L24

or

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/application.hbs#L10

And do it with a plugin or component.

The prototype kanban service is live now, we are currently trying out an alpha version on our forum: https://foodshift.se

I’m calling the service: :link: Lanes

lanes-screendump

The service is a Node/Express/React thing, connecting with Discourse through the api. Boards are currently configured manually and added to Discourse using an iframe - not the coolest solution, but it works really well for our use case.

See a board integrated in our forum here: :link: The Food Shift Improvements Board

Full screen mode is also supported, see here: :link: Improvements board - full screen

The code is not yet available on GitHub, please let me know if you would like to try this out and I’ll clean up the code base and make a repo.

I can also set up test boards for anyone that wants to try out lanes in their environment without having to setup an express server. Message me forum link and category you would like to connect a board to.

33

I’d like to try it out please.

For potentially interested parties could you elaborate a little on how this differs to the Kanban Board Theme Component?

Sure, I haven’t looked in detail on the Kanban Theme Component and since we seem to have been developing in parallell I imagine there is quite a bit of overlap.

Features the theme component doesn’t seem to have:

  • Mobile drag and drop
  • Configure board title
  • Configure background color
  • More granular control over column ordering. Or maybe I’m mistaken here.
  • Manual control over boards - not all categories become boards - choose which categories you would like to visualize.
  • Share read only board with external parties without having to grant view permissions to Discourse. Example: https://discourse-lanes.appspot.com/board?b=3671008dd255475

Features the theme component has and Lanes is lacking:

  • Lazy loading
  • Filtering
  • The ability for the user to customize the view and bookmark it
  • A separate column for untagged content
  • Assignment functionality

@kristoferlund - наша команда заинтересована в использовании этого. Это всё ещё доступно? Спасибо.

Можно ли синхронизировать Trello и сайт Discourse? @kristoferlund

@thaidb @ben.hirsch

Вы смотрели компонент темы Канбан? Я как-то прекратил разработку своего сервиса Канбан, когда он появился. Компонент темы Канбан обеспечивает более тесную интеграцию с Discourse, см. сравнение выше. Какую функциональность вы ищете, которой нет в компоненте темы?

Kaban достаточно, но Discourse загружается слишком долго. Мне нужно, чтобы моя команда работала над мобильным приложением для быстрого создания тем. Можете ли вы увидеть мою тему на форуме? Я хочу синхронизировать её с Telegram и группой в Facebook, так как у них есть мобильные приложения.

Наш случай использования заключается в том, что нам нужно иметь возможность расставлять приоритеты (с помощью перетаскивания) для всех тем с определённым тегом, чтобы конкретные члены нашей команды знали порядок, в котором следует решать каждую тему. Я считаю, что тема Kanban позволяет перемещать темы между тегами, но не поддерживает вертикальную расстановку приоритетов/порядок, поэтому она нам не подойдёт.

Однако я в итоге создал небольшое приложение (под названием “Discourse Buddy”), которое подключается к нашему API Discourse и имеет интерфейс для перетаскивания тем, а также для отметки их как “завершённые” (что удаляет тег). Приложение можно встроить прямо на страницу Discourse, поэтому оно идеально работает для нас. Если есть интерес, я упакую его и выложу на GitHub.

Это было бы полезно. Да, пожалуйста.

Здравствуйте, мы сейчас ищем функционал для обеспечения вертикального порядка в теме Kanban. Есть ли какие-либо обновления по этому вопросу @ben.hirsch @csmu?

Вы видели?:

Да, @merefield, это та тема, которую мы используем. Она не позволяет сортировать по вертикали (или я упустил какую-то настройку?). Я собираюсь начать создавать расширение для плагина/темы. Я ещё слишком новичок в Discourse, но уже опытен в Rails. Если вы знаете другую тему Kanban с вертикальной сортировкой или у вас есть другие советы, ваша помощь будет очень кстати.

О, я тоже ищу это повсюду! Очень интересно, если что-то из этого получится!