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:
@@ -385,6 +385,7 @@
|
||||
<span style="opacity:.6;">▾</span>
|
||||
</span>
|
||||
<div class="wd-topbar-actions">
|
||||
<x-hint key="wo.dashboard.topbar_actions" />
|
||||
<a class="wd-btn" href="{{ url('/app/work-orders') }}" title="{{ __('Toate fișele') }}">
|
||||
☰ {{ __('Listă') }}
|
||||
</a>
|
||||
@@ -405,7 +406,7 @@
|
||||
{{-- ── META HEADER ── --}}
|
||||
<div class="wd-meta">
|
||||
<div class="wd-meta-item">
|
||||
<span class="wd-meta-lbl">{{ __('Data creării') }}</span>
|
||||
<span class="wd-meta-lbl">{{ __('Data creării') }}<x-hint key="wo.dashboard.meta" /></span>
|
||||
<span class="wd-meta-val">{{ $wo->created_at?->format('d.m.Y H:i') ?? '—' }}</span>
|
||||
</div>
|
||||
<div class="wd-meta-item">
|
||||
@@ -541,7 +542,7 @@
|
||||
{{-- REPAIR HISTORY --}}
|
||||
<div class="wd-card">
|
||||
<div class="wd-card-hd">
|
||||
<h3>{{ __('Istoric reparații') }}</h3>
|
||||
<h3>{{ __('Istoric reparații') }}<x-hint key="wo.dashboard.history" /></h3>
|
||||
</div>
|
||||
@forelse ($history as $h)
|
||||
<div class="wd-history-item">
|
||||
@@ -560,6 +561,7 @@
|
||||
{{-- ═══ MIDDLE: TABS ═══ --}}
|
||||
<div class="wd-col-mid">
|
||||
<div class="wd-tabs-bar">
|
||||
<x-hint key="wo.dashboard.tabs" />
|
||||
@foreach ($tabs as $key => $t)
|
||||
<button type="button" class="wd-tab" :class="tab === '{{ $key }}' && 'active'" @click="tab = '{{ $key }}'">
|
||||
{{ $t['label'] }}
|
||||
@@ -740,7 +742,7 @@
|
||||
<div class="wd-col-right">
|
||||
<div class="wd-card">
|
||||
<div class="wd-card-hd">
|
||||
<h3>{{ __('Finanțe') }}</h3>
|
||||
<h3>{{ __('Finanțe') }}<x-hint key="wo.dashboard.finance" /></h3>
|
||||
</div>
|
||||
<div style="display:flex;flex-direction:column;gap:6px;font-size:12px;">
|
||||
<div style="display:flex;justify-content:space-between;">
|
||||
@@ -776,7 +778,7 @@
|
||||
{{-- TIMELINE --}}
|
||||
<div class="wd-card">
|
||||
<div class="wd-card-hd">
|
||||
<h3>{{ __('Timeline') }}</h3>
|
||||
<h3>{{ __('Timeline') }}<x-hint key="wo.dashboard.timeline" /></h3>
|
||||
</div>
|
||||
@if (! empty($timeline))
|
||||
<div class="wd-timeline">
|
||||
@@ -854,6 +856,7 @@
|
||||
|
||||
{{-- ── BOTTOM ACTION BAR ── --}}
|
||||
<div class="wd-bottom">
|
||||
<x-hint key="wo.dashboard.bottom" />
|
||||
<div class="wd-bottom-nav">
|
||||
@if ($prev)
|
||||
<a class="wd-btn" href="{{ url('/app/work-orders/' . $prev->id . '/dashboard') }}">
|
||||
|
||||
Reference in New Issue
Block a user