Bulk Move Tasks done v0.2

This commit is contained in:
2026-06-28 17:31:42 -03:00
parent 4c4f4157d3
commit c0464ddd95
11 changed files with 33 additions and 73 deletions

View File

@@ -1,6 +1,6 @@
<?php
namespace Kanboard\Plugin\Skeleton;
namespace Kanboard\Plugin\BulkMoveTasks;
use Kanboard\Core\Plugin\Base;
@@ -8,28 +8,19 @@ class Plugin extends Base
{
public function initialize()
{
// 1. Render a visible word at the top of every page (the demo output).
$this->template->hook->attach('template:layout:top', 'skeleton:layout/header');
// 2. Load the plugin stylesheet (currently empty -- proves the CSS hook fires).
$this->hook->on('template:layout:css', array(
'template' => 'plugins/Skeleton/Asset/css/skeleton.css',
));
// 3. Load the plugin script (currently empty -- proves the JS hook fires).
$this->hook->on('template:layout:js', array(
'template' => 'plugins/Skeleton/Asset/js/skeleton.js',
));
// Add a "Move all tasks to another column" entry to the board column
// header dropdown. The hook passes the current $column and $swimlane.
$this->template->hook->attach('template:board:column:dropdown', 'bulkMoveTasks:board/column_dropdown');
}
public function getPluginName()
{
return 'Skeleton';
return 'BulkMoveTasks';
}
public function getPluginDescription()
{
return t('Reusable skeleton/template for building Kanboard plugins.');
return t('Move all tasks from one board column to another in a single action.');
}
public function getPluginAuthor()
@@ -39,12 +30,12 @@ class Plugin extends Base
public function getPluginVersion()
{
return '0.1.0';
return '0.2.0';
}
public function getPluginHomepage()
{
return 'https://code.beco.cc/beco/kanboard-plugin-skeleton';
return 'https://code.beco.cc/beco/BulkMoveTasks';
}
public function getCompatibleVersion()