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.
Stranik
(Evgeny)
2019 年5 月 13 日 09:16
2
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.
Previous tutorial: Developing Discourse Plugins - Part 1 - Create a basic plugin
Getting Started: Handlebars Templates
Discourse’s client application is written using the Ember.js Javascript framework. Ember uses Handlebars for all HTML templates. There’s a great introduction to the templating language at that link, so definitely read it thoroughly.
The Problem: Adding elements to the Discourse User Interface
Many plugins need to add and extend the Discourse web interface. We provide a mechan…
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: Lanes
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: The Food Shift Improvements Board
Full screen mode is also supported, see here: 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.
csmu
(Keith John Hutchison - Ceiteach Seán Mac Úistin)
2019 年6 月 4 日 04:30
5
I’d like to try it out please.
Stephen
(Stephen)
2019 年6 月 4 日 04:59
6
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 - 我们团队对此很感兴趣。这是否仍然可用?谢谢。
thaidb
(thaidb)
2019 年9 月 10 日 02:42
9
我们可以同步 Trello 和 Discourse 网站吗?@kristoferlund
@thaidb @ben.hirsch
你们看过 看板主题组件 了吗?那个组件发布后,我差不多就停止开发我的看板服务了。看板主题组件与 Discourse 的集成更紧密,请参见上方的对比。你们在寻找什么该主题组件尚未提供的功能?
thaidb
(thaidb)
2019 年9 月 10 日 06:59
11
Kaban 已经够用了,但 Discourse 加载网站的时间太长了。我想让我的团队开发一个移动应用,以便快速发布话题。你能在论坛中看到我的话题吗?我想与 Telegram 和 Facebook 群组同步,因为它们都有移动应用。
kristoferlund:
您希望主题组件提供但尚未具备哪些功能?
我们的使用场景是:需要能够(通过拖放)优先处理所有带有特定标签的话题,以便团队中的相关人员了解处理每个话题的顺序。我认为 Kanban 主题允许在不同标签之间移动话题,但不支持垂直优先级排序/顺序,因此无法满足我们的需求。
不过,我最终开发了一个名为“Discourse Buddy”的小应用,它连接到我们的 Discourse API,提供了拖放话题以及将其标记为“完成”(即移除标签)的用户界面。该应用可以直接嵌入到 Discourse 页面中,目前运行得非常完美。如果大家感兴趣,我会将其打包并发布到 GitHub。
kjakub
(Jakub Kuchar)
2022 年8 月 16 日 19:59
16
你好,我们目前正在寻找允许在看板主题中进行垂直排序的功能。关于此有什么更新吗?@ben.hirsch @csmu
kjakub
(Jakub Kuchar)
2022 年8 月 16 日 20:11
18
是的,@merefield ,我们正在使用该主题。它不允许垂直排序(或者我错过了什么配置?),我将开始进行插件/主题扩展。我对 discourse 来说还很新,但对 rails 来说很老练。如果您知道其他支持垂直排序的看板主题或任何其他提示,将非常感谢您的帮助。
jonasnaue
(Jonas Naue)
2025 年6 月 19 日 07:14
19
哦,我也在苦苦寻找这个!如果有什么结果,我真的很感兴趣!