show existing keyboard-shortcut hints on the task Actions menu

This commit is contained in:
2026-07-10 17:56:55 -03:00
parent b63d366296
commit e032d5d2b4
4 changed files with 60 additions and 0 deletions

View File

@@ -58,6 +58,14 @@ class Plugin extends Base
));
}
// Tweak: show the keyboard shortcuts Kanboard already binds next to the task Actions menu
// items (display only -- no new bindings). Done in JS since those menu <li> have no hook.
if ((int) $this->configModel->get('organon_tweaks_shortcut_labels', 1) === 1) {
$this->hook->on('template:layout:js', array(
'template' => 'plugins/OrganonTweaks/Asset/js/shortcut-labels.js',
));
}
// Auto-managed shared custom filters (v1.5 "Show all tasks", v1.6 month filters, v1.7
// recurring filters). Ensured lazily whenever a project header renders (covers old + new
// boards); each group is gated by its own config toggle inside