Files
Vasyka 06081159b6 feat(hints): contextual help system + FAQ page (MVP)
Infrastructure for a portal-wide in-app help system:

* Users have hints_enabled (default true) and dismissed_hints (JSON
  array) columns. User::shouldSeeHint(key) checks both.
* app/Support/Hints.php — single-source-of-truth registry with 14
  pilot hints across Service (5), CRM (3), Depozit (3), Finanțe (3).
  Each entry has RO/RU/EN title + body + optional next-step + links.
* <x-hint key="wo.dashboard.overview" /> Blade component renders a
  small "?" icon with Alpine.js popover; the popover shows title,
  body, next-step, related links and an "X" button that POSTs to
  /app/hints/{key}/dismiss.
* HintController handles dismiss (per key), toggle (global on/off)
  and reset (clear dismissed + re-enable). Routes are auth:web.
* /app/faq page (Filament Page under Admin group) renders the whole
  registry grouped by area with a live search box and buttons to
  toggle global hints or reset dismissed ones.
* Wired 3 pilot hints into the WO dashboard: title (overview), Docs
  tab PDF preview, and the Chat client card.

Follow-ups: extend registry to cover more pages and add <x-hint>
tags where useful. Filament resource fields can also reuse the same
copy via ->hint()/->helperText().

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-09-01 09:46:07 +00:00

78 lines
2.8 KiB
PHP

<?php
return [
'group' => [
'Admin' => 'Admin',
'Analiză' => 'Analytics',
'Anvelope' => 'Tires',
'CRM' => 'CRM',
'Depozit' => 'Warehouse',
'Finanțe' => 'Finance',
'Magazin' => 'Shop',
'Marketing' => 'Marketing',
'Service' => 'Service',
'Stoc & Finanțe' => 'Stock & Finance',
'Subcontractare' => 'Subcontracting',
'Tinichigerie' => 'Bodyshop',
],
'label' => [
'FAQ & Ghid' => 'FAQ & Guide',
'API Tokens' => 'API Tokens',
'Achiziții' => 'Purchases',
'Angajați' => 'Employees',
'Apeluri' => 'Calls',
'Asistent AI' => 'AI Assistant',
'Atelierul meu' => 'My workshop',
'Automobile' => 'Vehicles',
'Backup' => 'Backup',
'Bonusuri & avansuri' => 'Bonuses & advances',
'Calendar' => 'Calendar',
'Calendar vizual' => 'Visual calendar',
'Canale marketing' => 'Marketing channels',
'Cereri' => 'Leads',
'Cheltuieli' => 'Expenses',
'Clienți' => 'Clients',
'Clienți magazin' => 'Shop customers',
'Coeficienți preț' => 'Price coefficients',
'Comenzi online' => 'Online orders',
'Companii' => 'Companies',
'Depozit' => 'Warehouse',
'Depozite' => 'Warehouses',
'Unități de măsură' => 'Units of measure',
'Facturi & abonamente' => 'Invoices & subscriptions',
'Finanțe (consolidat)' => 'Finance (consolidated)',
'Fișe lucru' => 'Work orders',
'Furnizori' => 'Suppliers',
'Import factură Excel' => 'Excel invoice import',
'Integrări' => 'Integrations',
'Jurnal activitate' => 'Activity log',
'KPI mecanici' => 'Mechanic KPI',
'Lucrări terți' => 'Subcontractor jobs',
'Norme-ore' => 'Labor catalog',
'Pipeline' => 'Pipeline',
'Pipeline (tabel)' => 'Pipeline (table)',
'Planuri' => 'Plans',
'Plăți' => 'Payments',
'Posturi de lucru' => 'Work bays',
'Procentaj' => 'Commission',
'Protocoale forsunki' => 'Injector protocols',
'Rapoarte' => 'Reports',
'Recomandări' => 'Recommendations',
'Roluri & Drepturi' => 'Roles & permissions',
'Salarii' => 'Salaries',
'Scaner' => 'Scanner',
'Seturi anvelope' => 'Tire sets',
'Setări' => 'Settings',
'Setări plăți' => 'Payment settings',
'Subcontractori' => 'Subcontractors',
'Tehnicieni' => 'Technicians',
'Template-uri mesaje' => 'Message templates',
'Tinichigerie / Detailing' => 'Bodyshop / Detailing',
'Utilizatori' => 'Users',
'VIN-căutare' => 'VIN search',
'Încărcare STO' => 'Workshop load',
'Șabloane servicii' => 'Service templates',
],
];