feat(hints): scale coverage — 11 new registry entries + inject across pages

Registry grows from 14 → 25 hints. New entries:
- wo.dashboard.topbar_actions / meta / tabs / history / finance /
  timeline / bottom
- wo.create.overview
- crm.clients.overview / vehicles.overview
- finante.dashboard.stats / expenses.overview

"?" icons injected into:
- WO dashboard: top-bar actions, meta header, tabs bar, history card,
  finance card, timeline card, bottom action bar (in addition to the
  existing dashboard title, PDF preview, chat)
- CalendarBoard: title
- PipelineBoard: title
- Excel import wizard: step 1
- Main tenant dashboard (via PanelsRenderHook::PAGE_START scoped to
  Dashboard::class): small banner with a "?" and a shortcut to the
  FAQ page for users who don't see the icons

Users now see hint icons on the primary daily-use screens; more can
be added by dropping <x-hint key="..." /> anywhere.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-01 09:57:54 +00:00
parent 06081159b6
commit 3c92ea5475
8 changed files with 190 additions and 7 deletions
@@ -214,6 +214,21 @@ class TenantPanelProvider extends PanelProvider
</style>
BLADE)
)
// Small hint banner at the top of the main tenant dashboard.
->renderHook(
PanelsRenderHook::PAGE_START,
fn (): string => Blade::render(<<<'BLADE'
<div style="display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:12px;color:#6b7280;">
<span>💡 {{ __('Fiecare card e clicabil — duce la lista relevantă.') }}</span>
<x-hint key="finante.dashboard.stats" />
<span style="margin-left:auto;font-size:11px;">
{{ __('Nu vezi „?" pe pagini?') }}
<a href="{{ url('/app/faq') }}" style="color:#2563eb;">{{ __('Activează sugestiile') }} </a>
</span>
</div>
BLADE),
scopes: [Dashboard::class],
)
->renderHook(
PanelsRenderHook::BODY_END,
fn (): string => Blade::render(<<<'BLADE'