ad8367c203
Search page: - Title and breadcrumb now read the station dictionaries and render the human-friendly route heading (e.g. 'Маршрут: Шереметьево - Пулково') for route/departure/arrival/flight search URLs, mirroring Angular. Details page: - Main H1 becomes 'Информация о рейсе: SU 6805, Москва - Санкт-Петербург' (carrier + flight number + origin/destination cities), not a bare flight number. - Add 'Детали рейса' section header above the accordion to match Angular's flight-details-wrapper layout. - Promote the airline block in BoardDetailsHeader: drop the legacy OperatorLogo copy with broken asset paths and hand off to the shared <OperatorLogo> under src/ui/flights. Render it with the 'авиакомпания' caption beside the enlarged flight number. - Replace hardcoded English 'Leg' / 'Total flying time' / 'Aircraft:' with i18n keys, added to all nine locale files. Test harness: - Add vi.mock for useDictionaries in the three suites that render OnlineBoardSearchPage (the new heading helper calls the hook and crashed without ApiClientProvider). 1256 tests passing.
23 lines
356 B
JSON
23 lines
356 B
JSON
[
|
|
{
|
|
"mode": "Departure",
|
|
"departure": "MOW",
|
|
"type": "Onlineboard"
|
|
},
|
|
{
|
|
"mode": "Route",
|
|
"departure": "MOW",
|
|
"arrival": "KUF",
|
|
"type": "Onlineboard"
|
|
},
|
|
{
|
|
"mode": "Departure",
|
|
"departure": "LED",
|
|
"type": "Onlineboard"
|
|
},
|
|
{
|
|
"mode": "Departure",
|
|
"departure": "SVO",
|
|
"type": "Onlineboard"
|
|
}
|
|
] |