From 4ca6b1ebf23b76eb9296b167b126ff864fefc9d6 Mon Sep 17 00:00:00 2001 From: Kandarp Pandya Date: Mon, 30 Dec 2024 15:18:25 +0000 Subject: [PATCH 1/2] [ADVAPP-1075]: Relocate Case Management from Premium Features to Engagement Features --- .../campaign/src/Filament/Resources/CampaignResource.php | 2 +- .../segment/src/Filament/Resources/SegmentResource.php | 2 +- app-modules/task/src/Filament/Resources/TaskResource.php | 2 +- app/Filament/Clusters/CaseManagementAdministration.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app-modules/campaign/src/Filament/Resources/CampaignResource.php b/app-modules/campaign/src/Filament/Resources/CampaignResource.php index 618be9032..3c93fd0e6 100644 --- a/app-modules/campaign/src/Filament/Resources/CampaignResource.php +++ b/app-modules/campaign/src/Filament/Resources/CampaignResource.php @@ -50,7 +50,7 @@ class CampaignResource extends Resource protected static ?string $navigationGroup = 'Engagement Features'; - protected static ?int $navigationSort = 40; + protected static ?int $navigationSort = 60; public static function getRelations(): array { diff --git a/app-modules/segment/src/Filament/Resources/SegmentResource.php b/app-modules/segment/src/Filament/Resources/SegmentResource.php index e8d647592..347912c6c 100644 --- a/app-modules/segment/src/Filament/Resources/SegmentResource.php +++ b/app-modules/segment/src/Filament/Resources/SegmentResource.php @@ -48,7 +48,7 @@ class SegmentResource extends Resource protected static ?string $navigationGroup = 'Engagement Features'; - protected static ?int $navigationSort = 30; + protected static ?int $navigationSort = 40; protected static ?string $navigationLabel = 'Population Segments'; diff --git a/app-modules/task/src/Filament/Resources/TaskResource.php b/app-modules/task/src/Filament/Resources/TaskResource.php index b108bbd52..6b48f68ac 100644 --- a/app-modules/task/src/Filament/Resources/TaskResource.php +++ b/app-modules/task/src/Filament/Resources/TaskResource.php @@ -48,7 +48,7 @@ class TaskResource extends Resource protected static ?string $navigationGroup = 'Engagement Features'; - protected static ?int $navigationSort = 50; + protected static ?int $navigationSort = 70; public static function getPages(): array { diff --git a/app/Filament/Clusters/CaseManagementAdministration.php b/app/Filament/Clusters/CaseManagementAdministration.php index a4dfc25ef..0a762770d 100644 --- a/app/Filament/Clusters/CaseManagementAdministration.php +++ b/app/Filament/Clusters/CaseManagementAdministration.php @@ -40,9 +40,9 @@ class CaseManagementAdministration extends Cluster { - protected static ?string $navigationGroup = 'Product Administration'; + protected static ?string $navigationGroup = 'Engagement Features'; - protected static ?int $navigationSort = 70; + protected static ?int $navigationSort = 30; protected static ?string $title = 'Case Management'; } From 48370076a59e2640e7a234c733a89201dc9166e0 Mon Sep 17 00:00:00 2001 From: Kevin Ullyott Date: Thu, 2 Jan 2025 23:18:51 +0000 Subject: [PATCH 2/2] Adjust navigation sort order for Campaign and Task resources in Engagement Features Signed-off-by: Kevin Ullyott --- .../campaign/src/Filament/Resources/CampaignResource.php | 2 +- app-modules/task/src/Filament/Resources/TaskResource.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-modules/campaign/src/Filament/Resources/CampaignResource.php b/app-modules/campaign/src/Filament/Resources/CampaignResource.php index 3c93fd0e6..0728ac717 100644 --- a/app-modules/campaign/src/Filament/Resources/CampaignResource.php +++ b/app-modules/campaign/src/Filament/Resources/CampaignResource.php @@ -50,7 +50,7 @@ class CampaignResource extends Resource protected static ?string $navigationGroup = 'Engagement Features'; - protected static ?int $navigationSort = 60; + protected static ?int $navigationSort = 50; public static function getRelations(): array { diff --git a/app-modules/task/src/Filament/Resources/TaskResource.php b/app-modules/task/src/Filament/Resources/TaskResource.php index 6b48f68ac..964e14586 100644 --- a/app-modules/task/src/Filament/Resources/TaskResource.php +++ b/app-modules/task/src/Filament/Resources/TaskResource.php @@ -48,7 +48,7 @@ class TaskResource extends Resource protected static ?string $navigationGroup = 'Engagement Features'; - protected static ?int $navigationSort = 70; + protected static ?int $navigationSort = 60; public static function getPages(): array {