mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 01:44:13 +00:00
feat(flight-live): route mini map and a calmer live card; fix the CI gates
The live flight card shows a small real map behind the pass: the great circle between the airports, solid where flown and dotted ahead, the aircraft on the line turned along the route. The route is framed in the free middle, the map fades out under the airports and times laid over it, and its place names are hidden. Data and map credits sit on the map as its hover text instead of a footer line. The card head now follows the booking dialog: a tinted band with pills for the state, what comes next and the delay; the numbers of the moment use the dialog's fields on the desktop and the sheet's stat boxes on the phone; both times sit on equal tiles in one line. Without live data the card, the strips and the plan line show nothing, and the pulsing dots are gone. Also fixes the failed dev run: unit symbols and the leg position are listed as NOT_PLURAL, the aircraft label uses logical sides, the flight store is in the test reset registry, the sync loop stops once no flight lies ahead (no endless timers under fake timers), and timeCell and widgetFlight drop below the max-params and complexity limits. Guards the GL bridge's resize frame against a layer removed before it runs, and keeps the booking code pill as tall as its neighbours.
This commit is contained in:
@@ -95,8 +95,18 @@ export const NOT_PLURAL = [
|
||||
{ key: 'help.center.step', because: 'the position of a step in a guide' },
|
||||
{ key: 'help.center.stepOf', because: 'the position of a step in a guide' },
|
||||
{ key: 'help.center.imageAlt', because: 'the position of a step in a guide' },
|
||||
{ key: 'flightLive.feet', because: 'a measured altitude with a unit symbol ("37,000 ft"), which does not inflect' },
|
||||
{ key: 'flightLive.meters', because: 'a measured altitude with a unit symbol ("11,278 m"), which does not inflect' },
|
||||
{ key: 'flightLive.mph', because: 'a measured speed with a unit symbol ("540 mph"), which does not inflect' },
|
||||
{ key: 'flightLive.kmh', because: 'a measured speed with a unit symbol ("870 km/h"), which does not inflect' },
|
||||
{ key: 'flightLive.mi', because: 'a measured distance with a unit symbol ("2,400 mi"), which does not inflect' },
|
||||
{ key: 'flightLive.km', because: 'a measured distance with a unit symbol ("3,900 km"), which does not inflect' },
|
||||
{ key: 'flightLive.legOf', because: 'the position of a flight in a booking with stopovers ("Flight 2 of 3")' },
|
||||
{ key: 'native.widget.dayOf', because: 'the position of a day in the trip ("Day 2 of 5")' },
|
||||
{ key: 'native.widget.inDays', because: 'filled in by the native widget, which says "Tomorrow" for one day, so the number is always two or more' },
|
||||
{
|
||||
key: 'native.widget.inDays',
|
||||
because: 'filled in by the native widget, which says "Tomorrow" for one day, so the number is always two or more',
|
||||
},
|
||||
{ key: 'system_notice.pager.goto', because: 'the position of a notice in the pager' },
|
||||
{ key: 'tours.addedToDay', because: 'the number of the day a tour was added to' },
|
||||
{ key: 'tours.planner.waypointLabel', because: 'the position of a waypoint on the tour' },
|
||||
|
||||
Reference in New Issue
Block a user