From fc4c174442d100275ec35c1cc38d58f0f66c0e6e Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Sat, 4 Oct 2025 15:31:46 +0700 Subject: [PATCH] add navigation group: Tracker --- app/Filament/Pages/AnnounceMonitor.php | 2 +- app/Filament/Resources/Torrent/AnnounceLogResource.php | 2 +- app/Providers/AppServiceProvider.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Filament/Pages/AnnounceMonitor.php b/app/Filament/Pages/AnnounceMonitor.php index 77f712a2..bff59a3f 100644 --- a/app/Filament/Pages/AnnounceMonitor.php +++ b/app/Filament/Pages/AnnounceMonitor.php @@ -15,7 +15,7 @@ class AnnounceMonitor extends Dashboard protected static string $routePath = 'announce-monitor'; - protected static string | \UnitEnum | null $navigationGroup = 'Torrent'; + protected static string | \UnitEnum | null $navigationGroup = 'Tracker'; protected static ?int $navigationSort = 15; diff --git a/app/Filament/Resources/Torrent/AnnounceLogResource.php b/app/Filament/Resources/Torrent/AnnounceLogResource.php index 059cbe66..537b8e9b 100644 --- a/app/Filament/Resources/Torrent/AnnounceLogResource.php +++ b/app/Filament/Resources/Torrent/AnnounceLogResource.php @@ -34,7 +34,7 @@ class AnnounceLogResource extends Resource protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-rectangle-stack'; - protected static string | \UnitEnum | null $navigationGroup = 'Torrent'; + protected static string | \UnitEnum | null $navigationGroup = 'Tracker'; protected static ?int $navigationSort = 5; diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 883b5fa0..ca6f8b20 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -52,6 +52,7 @@ class AppServiceProvider extends ServiceProvider Filament::registerNavigationGroups([ 'User', 'Torrent', + 'Tracker', 'Role & Permission', 'Other', 'Section',