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.
34 lines
635 B
JSON
34 lines
635 B
JSON
{
|
|
"showDebugVersion": "True",
|
|
"uiOptions": {
|
|
"isTestVersion": "True",
|
|
"filter": {
|
|
"flightsMap": {
|
|
"searchFrom": "-1d",
|
|
"searchTo": "6M",
|
|
"timeStep": "1h"
|
|
},
|
|
"schedule": {
|
|
"searchFrom": "-1d",
|
|
"searchTo": "330d",
|
|
"timeStep": "1h"
|
|
},
|
|
"onlineboard": {
|
|
"searchFrom": "-1d",
|
|
"searchTo": "14d",
|
|
"timeStep": "1h"
|
|
}
|
|
},
|
|
"buttons": {
|
|
"buyTicket": {
|
|
"period": {
|
|
"max": "-330d",
|
|
"min": "-2h"
|
|
}
|
|
},
|
|
"flightStatus": {
|
|
"availableFrom": "24h"
|
|
}
|
|
}
|
|
}
|
|
} |