Hi all!
I have started using Kanboard and now I need to collect some metrics.
I can access the database and I could get the data from there and create my report outside of Kanboard.
I would do it by creating a Node.Js Express app.
But, I would like to add these features to Kanboard so that I want add it as plugin.
Does anyone know where I can find a reference material to show how to create and deploy a plugin?
I could create its structure by cookiecutter, and I moved it to plugin folder. That’s nice. But I want to add the following behaviors:
- to add a link beside statistics link
- Each report would be a different page as the same way that we have in the statistics one
That is, create both configuration and plugin page itself.
For instance, the query below shows the work items ages, in days, for all cards in a project.
I want to create an interface inside Kanboard to display something like this.
SELECT title, DATE_FORMAT(FROM_UNIXTIME(UNIX_TIMESTAMP()- date_moved), ‘%d’) AS ‘Age’ FROM
tasks
WHEREproject_id
= 3 ORDER BY Age
If I had a “Simple Plugin development step-by-step” about how to create interfaces and access database, would be nice to build the rest by myself
Any ideas?