Commit Graph
4592 Commits
Author SHA1 Message Date
German Khokhlov c190e662bc Stand an inertial subject on its floor once the floor arrives
- The first floor height that replaces the entry frame's height re-anchors
  the camera and resets the smoothed rise, so the subject stands on the
  floor within a second instead of hovering above it.
- A provider's thenable gets one rejection handler; frame fields and eye
  are read once each.
- A progress label's width counts the smaller detail line and full-width
  and astral glyphs.
- Tests cover the first camera update of an aircraft and a vessel, a
  double-click on a selected vessel, a tone-only Live Signals change and a
  getter that throws on its second read; repeated cases share helpers.
- Comments, the release note and CURRENT-STATE say which height the camera
  holds while it waits for the surface and how a Live Signals row keeps
  its time.
2026-11-18 20:49:21 +04:00
German Khokhlov 109bb0fd4f Tidy the Cockpit subject camera and HUD fixes after review
- A provider's look, height and speed are read once, so a getter that
  answers once is not lost; a Promise in a provider's words is refused and
  its rejection handled.
- A huge heading slew rate is capped at a half turn per step instead of
  overflowing to Infinity.
- A row changed in place keeps the time it first appeared; JSDoc,
  CURRENT-STATE and the ETA test say so.
- APPLICATION.md says the app page must load the entry icon's glyph.
- Tests check that entry succeeds, the vessel bridge is entered, a floor
  takes over from the entry height (also at 0 m), and share helpers;
  the provider unit test moves to the provider tests.
- WIDE_GLYPH uses escapes; comments, the release notes and CURRENT-STATE
  match the code.
2026-11-18 15:07:20 +04:00
German Khokhlov a72c0ba237 Fix tone-only signal changes, the first anchor step, row order and emoji widths
- A provider's Live Signals row now changes when only its tone does; fields
  are compared one by one instead of through a joined signature.
- The frame that first sets an inertial subject's anchor puts it on the
  subject, so the view no longer jumps ahead after waiting for the floor.
- The subject HUD drops vanished rows before it adds new ones, so
  TRACK ACQUIRED and a steady warning keep their place.
- Progress labels give astral-plane glyphs such as emoji at least main's
  width, so they are not clipped.
2026-11-18 14:32:45 +04:00
German Khokhlov c2f73cdc04 Add the changelog fragment for #1787 2026-11-18 00:51:07 +04:00
German Khokhlov 5cc217dd1c Correct the Cockpit subject docs and release note
The entry face icon must be one of the Material Symbols the page loads, and
under reduced motion the veil stays: only its light streaks stop.
2026-11-17 19:34:33 +04:00
German Khokhlov a2a61c506f Keep an application's Cockpit subject steady in the camera and HUD
- A height the entry frame gave holds while later frames give none and the
  floor is still cold, so the view no longer waits and ends.
- A subject's camera update advances by the time since the last one, up to
  its interval plus a second: at 5 frames a second an inertial subject no
  longer falls behind (700 m in a minute at 30 m/s), while a hidden tab
  still counts as one late update.
- A provider's Live Signals rows change where they stand and come back
  after newer rows pushed them off, so a changing ETA no longer hides a
  steady warning; the built-in rows log as before.
- Progress labels give full-width glyphs (CJK, kana, Hangul) about 1 em,
  so such stop names no longer overlap.
- A provider's labels, entry face and look start from the words checked at
  registration, so one that fails on its next read keeps them.

The double-click test on a selected vessel now projects through
SceneTransforms, as the scene query port does, with a control that enters
the bridge.
2026-11-17 19:34:32 +04:00
Sameh Khamis 624c229bc2 Merge pull request #1778 from bilawalsidhu/fix/clock-sources-on-destroy
Launches and satellites leave the world clock when destroyed
2026-11-16 21:30:58 -08:00
Sameh Khamis 9db71ad443 Add the changelog entry for the world clock fix 2026-11-16 21:19:09 -08:00
Sameh Khamis ee306a46fc Launches and satellites leave the world clock when destroyed
Both layers registered their time coverage with the page's world clock when
created and never unregistered it, so an application destroyed and started
again kept each old layer, and its scene and tiles, reachable through the clock.
They now unregister on destroy and register again on init, as earthquakes do.
2026-11-16 21:18:58 -08:00
Sameh Khamis 9239d3efff Merge pull request #1775 from bilawalsidhu/basemap/contract
Base map through the globe port
2026-11-16 17:21:42 -08:00
Sameh Khamis 30705b5785 Add the changelog entry for the base map through the globe port 2026-11-16 17:06:35 -08:00
Sameh Khamis 8ff9a1fa29 Base map through the globe port
Cesium switches the map stacks through its globe port, as any renderer
does, rather than through a map engine of its own. Every route keeps its
behaviour:

- Google 3D turned off is kept hidden, and shown again without loading it
  anew; the key route's tiles take clamped marks, as the token routes' do.
- Esri goes to its deepest level (23); its "Map data not yet available"
  picture is a missing tile, so the parent's imagery stays.
- Cesium ion's world imagery is Bing over HTTPS on any page, with ion's
  credits; a token ion refuses refuses the switch, as before.
- Keyless terrain that does not answer is the flat ellipsoid, tried again
  behind it; world terrain asks ion first, as before.
- window.__godsEyeView.tileset is the Cesium photoreal tileset.
2026-11-16 17:06:35 -08:00
Sameh Khamis 65480f2604 Merge pull request #1776 from bilawalsidhu/stories/open-stories-option
Voice: an app can supply what open_stories does
2026-11-16 16:54:12 -08:00
Sameh Khamis 23adcf1112 Voice: tools accept voice: null again when reading openStories 2026-11-16 16:38:44 -08:00
Sameh Khamis b1b2ac91c0 Voice: an app can supply what open_stories does
createApplicationTools took the Stories page as the open_stories action
even when the app's voice options gave its own. voice.openStories now
takes precedence, spoken or typed, with the Stories page as the default.
2026-11-16 16:33:46 -08:00
Sameh Khamis fa6d954702 Merge pull request #1774 from bilawalsidhu/manjunath/card-previews
Preview a flight's photo, route, model and cockpit view in its Context card
2026-11-16 16:26:20 -08:00
Sameh KhamisandManjunath Paparaju efffe3005c Fix the card previews' review findings
- A route globe that cannot draw tells the card, which shows another view.
- A card opened before the model set has loaded waits for that load.
- The model turns at the same rate on any display, and holds still under
  reduced motion.
- A hidden cockpit view stops drawing.
- The route plane keeps the craft's latest position through the fly-in.
- Metric altitude graphs keep main's 0.5% change threshold.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:57:40 -08:00
Sameh KhamisandManjunath Paparaju 7b53427a28 Add the changelog entry for the card previews
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:45:13 -08:00
Sameh KhamisandManjunath Paparaju e6fb6be4d9 Translate the card previews
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:44:35 -08:00
Sameh KhamisandManjunath Paparaju 3a0842c103 Draw the card previews through the renderer, and show vessel photos too
- The route globe, turning model and cockpit view are the renderer's: the
  Cesium plugin hands them over as its `cardPreviews` application hook
  (src/render/cesium/cardPreviews.js), and the card's tiles keep only the
  words, figures and HUD laid over them. Nothing in the UI reaches Cesium,
  and a renderer without the hook leaves the card its photo and figures.
- The turning model is the fleet model the globe draws for the aircraft's
  type, from the set loaded at startup, so opening a card fetches nothing.
  The flights layer's record now carries the type code and emitter category
  that pick it.
- The photo comes from the item's own layer: the flights layer's
  Planespotters photo for the plane it tracks, and the vessels layer's Open
  Vessel Photos photo for the vessel selected, with its credit. It no longer
  waits for Contacts to follow the same aircraft.
- The satellite models are left out: the card shows a satellite's ground
  view and graphs its altitude and speed.
- The route globe's airport codes are drawn into its own small scene, the
  compass reads its course in the active language, the callouts no longer
  speak to screen readers every six seconds, and figures use the app's
  number format. Esri's tile address and credit live in one place.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:44:35 -08:00
Manjunath PaparajuandSameh Khamis c6bdd38b61 Show a flight's photo, route, model and cockpit view in its Context card
The card's hero tile now previews what was picked. A flight shows its
photo when Contacts has one, its route on a small globe from origin to
destination with the plane on it, its 3D model turning with callouts of
what can be worked out about the flight (phase, flight level, Mach, squawk,
signal age), and the view ahead from its cockpit with speed and altitude
tapes. The model and the cockpit view take turns, the route hands over to
the cockpit view after twenty seconds, and a switch picks one and holds it.
Under reduced motion nothing swaps by itself.

A satellite shows the ground beneath it and graphs its altitude and speed.
Each preview draws in a small scene of its own and frees its graphics
context as it closes, so flicking through cards never pushes out the
globe's.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-16 15:44:35 -08:00
Sameh Khamis 8c1fd235c0 Merge pull request #1773 from bilawalsidhu/manjunath/context-panel
Context panel: one card for what is picked, the view when nothing is
2026-11-16 15:38:56 -08:00
Sameh KhamisandManjunath Paparaju 2209810cdd Carry Context's package and same-as-English entries onto the latest main
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:02:31 -08:00
Sameh KhamisandManjunath Paparaju 57f9c03eaa Keep Context's follow, clicks, Radio, Cockpit entry and credits right
- Following comes only from the camera's own follow, never claimed ahead
  of it; vessels, which the camera does not follow, are flown to.
- A drag or a long press never selects, and only a clean click on open map
  closes the card; a card painted on the overlay is not open map.
- Closing the card lets go through its own layer only, as the person's
  action, leaving other layers' selections alone.
- Radio's panel, with its local SDR tuner, shows whether or not the Radio
  layer is on; Contacts' Cockpit entry hides only while the card offers its
  own.
- Expanded Context keeps the credits beside it right to left and with the
  minimal HUD.
- Context counts as closed until its panel says it is open; closed, the
  card's refresh and the view reading pause, and opening reads the view.
- The five-minute re-read fetches again past the caches, keeps what is
  shown meanwhile, and an empty brief is not kept.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 547687fecf Add the changelog entry for the Context panel
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 13e1f19f85 Keep the renderer's credits line clear of expanded Context too
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 46851db515 Read Context's camera and clicks through the renderer's ports
Context no longer reaches into Cesium or the viewer: the view it describes
comes from the camera port (pose, view rectangle, moveEnd and changed), a
fly-to goes through flyToBounds, and clicks come from the input dispatcher,
which picks each click once for every layer and skips it while a tool holds
the pointer. The card says Following while the camera follows its own item,
as the follow's key names it (src/data/followed.js), whoever started the
follow.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 7552763ea1 Describe the Context panel in the current state
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 4a2c989859 Make Context do its work only while open and keep its actions honest
- Closed, the panel mounts neither the card nor the view summary, so it
  reads no layer records and fetches nothing.
- The weather and news brief goes through the app's regional service
  (endpoint overrides, lifetime signal), and a failed read is not kept.
- A spot that stays put reads its brief and hazards again every five
  minutes; turning FIRMS on or off updates the hazards at once.
- Enter Cockpit is offered only for layers the tracking action can follow
  (not local ADS-B), and a failed attempt leaves the card as it is; a
  satellite ride gives up when the card changes or Context goes away.
- Closing the card lets go of the camera when it follows the card's item.
- Map picks leave Context alone while Cockpit runs.
- Expanded Context sits on the left edge in right-to-left languages, lets
  go on the phone layout or in Cockpit, and a remount starts collapsed
  without leftover tab classes.
- The Inspector and Properties tabs have tab ids, panels and arrow keys.
- Town lookups run again after zooming back in, the camera preview shows
  facts only for its own camera, route places wait for the same route, and
  acres and heights use the app's number format.
- The omnibar gets no runner from a voice session already disposed.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Manjunath PaparajuandSameh Khamis b6ab4f5bd1 Show the Labels and 3D aircraft settings in Context's Properties tab
While a layer they act on is on, the Visual panel's detection overlay and
3D aircraft controls move into their tab in Context, beside what they
affect; Cockpit still takes them first, and they go back to Visual when the
layer goes off.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-16 14:59:18 -08:00
Manjunath PaparajuandSameh Khamis 1ce7e51c22 Bring Contacts, Space Missions and Radio back into Context
The Context panel's main tab shows the mode row again, with Contacts
(nearby sites search, the TR-3B toggle and the Awareness list) and Space
Missions (the roster and launch replay); only the Properties tab hides
them. Radio shows while its layer is on, and turning Radio or Launches on
opens Context. When Contacts follows the aircraft the card shows, its list
sits inside the card in a compact form and the card leaves out the flights
and vessels Contacts already lists. The card's Enter Cockpit replaces the
Contacts button, and leaving the cockpit returns focus to it.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 6e03871d5a Mark the card followed only while the camera follows its own pick
Tracking set by another control or by voice for another craft no longer
shows Following on the open card: the card remembers the entity its own
pick started tracking, and any other tracked entity clears Following.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:17 -08:00
Sameh KhamisandManjunath Paparaju ee22aace8d Describe the view the camera stops at, after a jump too
A share link or restored view moves the camera without a moveEnd, and the
once-a-second read of camera changes dropped the last one, so Context named
a point from the fly-in. A last read now follows the final change.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:17 -08:00
Sameh KhamisandManjunath Paparaju 90510bf9e6 Read satellite fire hits in Context only while the FIRMS layer is on
FIRMS needs a key the browser cannot see. Without one the proxy answers
503, so Context no longer asks for fire hits unless the FIRMS layer is on.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:17 -08:00
Sameh KhamisandManjunath Paparaju b6b7874b97 Keep the map credits clear of expanded Context
Expanded, Context covers the right edge from top to bottom, so the credit
row now ends short of it. The credit model knows the expanded column and
pins the gap, the header test lists the new search and expand buttons, and
the controls tolerate operations without an annotation resolver.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:17 -08:00
Sameh KhamisandManjunath Paparaju 4b350cb9ae Translate the rest of the Context card's facts
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:17 -08:00
Sameh KhamisandManjunath Paparaju 4554713f98 Translate the Context panel
Marks the Context panel's remaining strings and translates them into every locale.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:17 -08:00
Sameh KhamisandManjunath Paparaju 902689da8a Keep Context inside the package boundaries
The shell passes the ground picker to the click bridge, so the UI shell no
longer pulls in the annotation and search stack. Context's new modules are
owned by the packages that import them and formatted with the rest.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:01 -08:00
Manjunath PaparajuandSameh Khamis c351e66af9 Wire Context into the shell
The shell connects the layer store that Context and the omnibar share,
installs the click-to-Context bridge and removes both on dispose. Voice
sessions hand their command runner to the same store, and the stylesheet
imports the Context styles.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-16 14:58:53 -08:00
Manjunath Paparaju 0fe6fd2bb8 Show transit vehicle facts, motion and a fleet breakdown in Context
A transit vehicle picked on the map now finds its record in Context (the
click carries the feed and vehicle key), so the card shows its operator,
place, route, report age and the operator's last reported state in plain
words. The layer card breaks transit in view down by motion (moving,
stopped, waiting for an update, no recent fix), mode, operator, last
reported state and crowding where the feed has it; vehicle-position feeds
carry no timetable, so early or late is not shown. Rows in the in-view
list carry a motion icon.
2026-11-16 14:58:53 -08:00
Manjunath Paparaju 5c580cbd4a Update the flight record expectation for route preview fields 2026-11-16 14:58:53 -08:00
Manjunath Paparaju ef80d180fc Follow a clicked aircraft and let go on an empty click
- Context reads what is under the pointer when the button goes down. The
  flights layer acts on the click first and swaps the plane's icon for its
  model, so a pick at click time found a different plane behind it.
- For flights, military, satellites and live vessels, whose own click
  already follows the craft, Context no longer starts a second follow: the
  flights layer read that as a click on empty map and let go. The card is
  marked as following once the camera has taken hold.
- The card's following state resets when the camera stops following, so
  picking the same item again follows it again.
- A click on open ground, sea, sky or the photorealistic ground clears the
  card.
2026-11-16 14:58:53 -08:00
Manjunath Paparaju cc83763452 Rebuild the Context panel around the selected item and the view
Clicking anything a layer can identify opens one card in Context: a hero
tile (route globe and 3D model for a flight, the camera for CCTV, headline
figures otherwise), its facts, actions with Cockpit or the orbital view as
the primary one, and a standard set of nearby blocks (weather and local
time, flights, vessels, hazards, alerts) within one radius the user sets.
Aircraft show altitude as a graph. Things that move are followed when
picked, and a card closes when its layer is turned off.

With nothing selected the panel describes the view: the layers that are on
with a breakdown of what each holds, the camera's height, what is in view,
then time, weather and local news. From far out it shows worldwide counts
per layer. A search field in the header narrows whatever the panel shows.

Prototype. Context reads weather and hazard feeds while its panel is closed,
the two 3D previews on a flight card repaint continuously, Follow can show
pressed after tracking has ended elsewhere, and most new strings are fixed
English. Same-named sites are told apart by position, not by a stable id.
2026-11-16 14:58:53 -08:00
Sameh Khamis f7f18c2823 Merge pull request #1772 from bilawalsidhu/stories/gev-stories
Stories: GEV scenes as stories on the live globe (#1724 with review fixes)
2026-11-16 14:47:57 -08:00
Sameh Khamis 56bd14d5f2 Merge remote-tracking branch 'origin/main' into stories/gev-stories 2026-11-16 14:28:09 -08:00
Sameh Khamis 471f3d618c Merge pull request #1771 from bilawalsidhu/render/frame-time
Idle frame rate in the app, timed line batching, KEY REQUIRED status
2026-11-16 14:22:44 -08:00
Sameh Khamis 2788a9f667 Docs: the timeline waits at a shot's end while a restarted clip plays 2026-11-16 14:20:55 -08:00
Sameh Khamis 186f8b76d9 Scenes: a clip restarted without a media gate plays its hold out
A resumed hold waited only its rest unless the layer gave a media gate,
and only trimmed clips have one, so an untrimmed clip started again (as
on Gyirong) was cut short. The layer now says when a run going on from a
seek started its clip again, and the hold then plays out as from its
start: through the media gate when there is one, else for the whole hold.
2026-11-16 14:20:55 -08:00
Sameh Khamis 5cce9d0705 Nepal evidence: a seek in the hold places a camera-led shot's sequence
For a shot whose path runs during the camera move, a seek in the hold
showed its evidence sequence at the start and a resumed run jumped to
its end. The sequence now stands where its own clock has it (after the
clip and its exit), and a resumed run carries on from there.
2026-11-16 14:18:21 -08:00
Sameh Khamis c3b8013038 Stories: format the corner-controls test 2026-11-16 14:15:15 -08:00