New Plugin: GanttExport

After deciding to use Kanboard for a project, and requiring a way to get a “pretty” Gantt view that can be exported to PDF I have vibe-coded a plugin with Claude Code to achieve this that works great for our needs, and I thought I would share it here in case anybody would be interested in this.

The plugin can be found here: GitHub - FredrikJohansen/GanttExport

Note that I am not an actual developer and this is my first contribution ever. But feel free to give any feedback.

Here is an example of how it looks, with and without today indicator:

EDIT: updated to v1.1.0 with a few improvements and functionality to not show to “Today” indicator. Full changelog on GitHub.

3 Likes

I’ve tried your plugin - it works but look at the screenshot please. Where do your plugin take the date range?! I only get these (old) two tasks shown in my export and I’m not able to change that date range?

And although the tasks have a number in “Time spent” your plugin shows “Time Spent (h)” with “0”?

Thanks

Update: It looks like the plugin has a problem when one of date (start and/or due) was not set initially?
Possible workaround(s):

  • when start date not set, take create date
  • when due date not set, take completed date
1 Like
// Display time values (Kanboard stores estimates in hours, time spent in seconds)
            $spent_hours = !empty($task['time_spent']) ? round($task['time_spent'] / 3600, 1) : '-';

Hm, time spent in seconds?!

Here this is also in hours, so that’s the reason why there is always 0 in there :smile:

Feature Wish #1: Add a “total” line as footer (below all tasks) :+1:

1 Like

Thank you for the feedback!

All of it should be addressed now, and the requested feature has been added.

The time period is based on the start(+now: creation) date of the task with the earliest date, and the end(+now: completion) date of the task with the latest date.

I see you’re using Kanboard in German, so I also added German language translations (that hopefully is correct).

Let me know if there are any other issues or potential improvements you’d like to see addressed :slight_smile:


Changelog v1.1.1 → v1.2.0

Improvements:

  • Include all tasks: Tasks without start/due dates now use creation/completion dates
  • Changed “Today” to “NOW” indicator throughout the interface (more accurate description)
  • Added German language support
  • Added totals footer row showing total estimated hours, time spent, and duration

Fixes:

  • Fixed time spent calculation (was always showing 0)
  • Improved task bar end position alignment
1 Like

Perfect :ok_hand:

### Feature wish 2:

Consider only the kanban tasks from the search I did in the board - example status:closed completedRange:“2025-08-01..2025-08-31” (see doc)

That would be a useful feature for myself as well. I’ve got a hectic week but I’ll try to implement that when I find some time :slight_smile:

2 Likes