42 lines
1.0 KiB
PHP
42 lines
1.0 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Pages\Monitoring;
|
|
|
|
use App\Support\OperateHub\OperateHubShell;
|
|
use BackedEnum;
|
|
use Filament\Actions\Action;
|
|
use Filament\Pages\Page;
|
|
use UnitEnum;
|
|
|
|
class Alerts extends Page
|
|
{
|
|
protected static bool $isDiscovered = false;
|
|
|
|
protected static bool $shouldRegisterNavigation = false;
|
|
|
|
protected static string|UnitEnum|null $navigationGroup = 'Monitoring';
|
|
|
|
protected static ?string $navigationLabel = 'Alerts';
|
|
|
|
protected static string|BackedEnum|null $navigationIcon = 'heroicon-o-bell-alert';
|
|
|
|
protected static ?string $slug = 'alerts';
|
|
|
|
protected static ?string $title = 'Alerts';
|
|
|
|
protected string $view = 'filament.pages.monitoring.alerts';
|
|
|
|
/**
|
|
* @return array<Action>
|
|
*/
|
|
protected function getHeaderActions(): array
|
|
{
|
|
return app(OperateHubShell::class)->headerActions(
|
|
scopeActionName: 'operate_hub_scope_alerts',
|
|
returnActionName: 'operate_hub_return_alerts',
|
|
);
|
|
}
|
|
}
|