From 89888235d16606c652372e83076c3e9cf2723e80 Mon Sep 17 00:00:00 2001 From: Ruben Carlo Benante Date: Thu, 9 Jul 2026 07:54:12 -0300 Subject: [PATCH] custom filter renames for better grouping v1.7.1 --- Helper/OrganonProjectHelper.php | 18 ++++++++++-------- Plugin.php | 2 +- VERSION | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Helper/OrganonProjectHelper.php b/Helper/OrganonProjectHelper.php index 9e036a5..a09cfd8 100644 --- a/Helper/OrganonProjectHelper.php +++ b/Helper/OrganonProjectHelper.php @@ -33,19 +33,21 @@ class OrganonProjectHelper extends Base // plugin (fixed, non-translated strings so dedup is stable across locales); a user's own filter // with a reserved name is absorbed into the canonical form. "Show all tasks" is a REPLACE filter // (append 0) so it clears; the rest are APPEND (1) so clicks stack (distinct attributes AND). + // Names are prefixed by group so the dropdown -- which core sorts alphabetically by name + // (CustomFilterModel::getAll -> asc(name)) -- clusters them: Board < Month < Recurring. const GROUP_SHOW_ALL = array( - array('Show all tasks', '', 0), + array('Board: show all tasks', '', 0), ); const GROUP_MONTH = array( - array('Due this month', 'duemonth:this', 1), - array('Around this month', 'aroundmonth:this', 1), + array('Month: due this month', 'duemonth:this', 1), + array('Month: around this month', 'aroundmonth:this', 1), ); const GROUP_RECURRING = array( - array('All recurring', 'recurring:anyall', 1), - array('Event recurring', 'recurring:evtall', 1), - array('Calendar recurring', 'recurring:calall', 1), - array('Recurring templates', 'recurring:anyori', 1), - array('Recurring duplicates', 'recurring:anydup', 1), + array('Recurring: all', 'recurring:anyall', 1), + array('Recurring: event', 'recurring:evtall', 1), + array('Recurring: calendar', 'recurring:calall', 1), + array('Recurring: templates', 'recurring:anyori', 1), + array('Recurring: duplicates', 'recurring:anydup', 1), ); /** diff --git a/Plugin.php b/Plugin.php index 41329a4..bb9aa49 100644 --- a/Plugin.php +++ b/Plugin.php @@ -109,7 +109,7 @@ class Plugin extends Base public function getPluginVersion() { - return '1.7.0'; + return '1.7.1'; } public function getPluginHomepage() diff --git a/VERSION b/VERSION index 05031d4..19039bb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -OrganonTweaks v1.7 +OrganonTweaks v1.7.1