polish: rebrand to Fleet Ops, add trilingual i18n, adaptive demo guide, and UX overhaul
Rebrands the product from MobilityOps to Fleet Ops across the UI, backend defaults and knowledge base, and makes nl-BE/en-GB/fr-BE full first-class languages: i18next with eager-bundled per-namespace resources, a persisted accessible language switcher (topbar and mobile drawer), locale-aware date/number formatting, and a coverage test that fails the build on any missing or empty translation key. Backend dynamic content (demo scenarios, blocked-reason text, integration status) moves from fixed English/Dutch prose to stable message codes + params so the frontend can localize it; the demo knowledge base gains a fully translated NL/EN/FR procedure corpus (11 documents each) with per-language retrieval and localized evidence-state messages. The Demo Guide becomes breakpoint-adaptive: a docked rail on extra-wide desktop, a floating panel that auto-collapses to a persistent, closable progress chip on standard desktop/tablet, and a collapsed/half/full bottom sheet on mobile -- with scroll+focus+ highlight on "go to this step", Escape handling, and reduced-motion support. The Data Quality Workbench gets accessible choice-card decisions with a clear primary/ secondary/tertiary action hierarchy; the Automation ledger groups repeated successes and uses meaningful short refs; the Audit trail groups events by correlation id with human action labels and readable before/after diffs. Attention Queue, Today's movements, Vehicles, Bookings and Data Quality rows are fully clickable (stretched-link pattern) with independent secondary links, keyboard support and mobile touch targets. Fixes a topbar overflow on mobile caused by the new language switcher (moved into the mobile drawer at <=960px) and two dangling aria-labelledby references introduced this session. Updates all affected Playwright specs for the new nl-BE default and the new Audit/DemoGuide DOM structure, and adds new i18n-coverage, demo-guide-adaptive and clickable-rows specs. 131 backend tests, Ruff and mypy, and 71 Playwright tests pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
257a4cf6c0
commit
337f8716bb
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"eyebrow": "Operations / Live overview",
|
||||
"title": "Good morning. Here's the fleet.",
|
||||
"description": "Readiness, exceptions and hand-offs across today's operation.",
|
||||
"viewFleet": "View fleet",
|
||||
"demoStart": {
|
||||
"title": "Try a demonstration scenario",
|
||||
"readyCount": "{{ready}} of {{total}} scenarios ready for demo.",
|
||||
"readyCountFallback": "Five focused scenarios.",
|
||||
"startGuide": "Start demo guide",
|
||||
"resumeGuide": "Continue demo guide ({{current}}/{{total}})",
|
||||
"viewScenarios": "View scenarios"
|
||||
},
|
||||
"readiness": {
|
||||
"title": "Fleet readiness",
|
||||
"description": "Live from persisted vehicle state",
|
||||
"openFleet": "Open fleet",
|
||||
"available": "Available",
|
||||
"rented": "Rented",
|
||||
"cleaning": "Cleaning",
|
||||
"maintenance": "Maintenance",
|
||||
"blocked": "Blocked"
|
||||
},
|
||||
"attention": {
|
||||
"title": "Attention queue",
|
||||
"description": "{{openIssues}} open quality issues · {{workflowExceptions}} workflow exceptions",
|
||||
"reviewQueue": "Review queue",
|
||||
"filterPlaceholder": "Filter issues…",
|
||||
"filterAriaLabel": "Search attention queue",
|
||||
"severityAll": "All severity",
|
||||
"severityHigh": "Critical",
|
||||
"severityMedium": "Warning",
|
||||
"severityLow": "Info",
|
||||
"severityAriaLabel": "Severity",
|
||||
"empty": "No issues match this filter.",
|
||||
"openRecord": "Open {{title}}"
|
||||
},
|
||||
"movements": {
|
||||
"title": "Today's movements",
|
||||
"description": "Departures and returns in Europe/Brussels",
|
||||
"allBookings": "All bookings",
|
||||
"empty": "No movements scheduled today.",
|
||||
"departure": "departure",
|
||||
"return": "return",
|
||||
"openBooking": "Open booking {{ref}}"
|
||||
},
|
||||
"integrationPulse": {
|
||||
"title": "Integration pulse",
|
||||
"description": "Current evidence from connected services",
|
||||
"systemDetail": "System detail",
|
||||
"n8nTitle": "n8n delivery",
|
||||
"n8nSummary": "{{succeeded}} succeeded · {{failed}} failed",
|
||||
"n8nLatest": "Latest event {{ref}}",
|
||||
"n8nNoEvidence": "No workflow evidence recorded",
|
||||
"knowledgeTitle": "Knowledge assistant",
|
||||
"knowledgeSummary": "{{count}} procedures indexed",
|
||||
"knowledgeUnavailable": "Health check unavailable",
|
||||
"mcpTitle": "MCP Hub",
|
||||
"mcpEnabled": "Registration enabled",
|
||||
"mcpNotConnected": "Not yet connected"
|
||||
},
|
||||
"recent": {
|
||||
"title": "Recent activity",
|
||||
"description": "Latest audited workflow changes",
|
||||
"empty": "No automation activity recorded."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user