diff --git a/app/Providers/Filament/TenantPanelProvider.php b/app/Providers/Filament/TenantPanelProvider.php index 2c2e57a..30035ba 100644 --- a/app/Providers/Filament/TenantPanelProvider.php +++ b/app/Providers/Filament/TenantPanelProvider.php @@ -229,16 +229,16 @@ class TenantPanelProvider extends PanelProvider BLADE), scopes: [Dashboard::class], ) - // Auto-injected hint on every page whose URL maps to a hint key. - // Reads the current request path and looks it up in Hints::forPath(). - // Blades that already embedded stay untouched — this only - // fires on pages that don't have their own. + // Auto-inject "?" hint icon right after the page title on every + // main page whose URL matches an entry in Hints::forPath(). + // PAGE_HEADER_HEADING_AFTER always renders (unlike the actions + // slot which is skipped on pages without header actions). ->renderHook( - PanelsRenderHook::PAGE_HEADER_ACTIONS_BEFORE, + PanelsRenderHook::PAGE_HEADER_HEADING_AFTER, fn (): string => Blade::render(<<<'BLADE' @php $__hintKey = \App\Support\Hints::forPath(request()->path()); @endphp @if ($__hintKey) - + @endif BLADE), ) diff --git a/app/Support/Hints.php b/app/Support/Hints.php index 0bac8e6..3092cb2 100644 --- a/app/Support/Hints.php +++ b/app/Support/Hints.php @@ -743,7 +743,7 @@ class Hints 'app/vehicles' => 'crm.vehicles.overview', 'app/leads' => 'crm.leads.overview', 'app/deals' => 'crm.pipeline.overview', - 'app/pipeline' => 'crm.pipeline.overview', + 'app/pipeline-board' => 'crm.pipeline.overview', 'app/calendar-board' => 'crm.calendar.overview', 'app/appointments' => 'crm.calendar.overview', 'app/calls' => 'crm.calls.overview',