Commit Graph
4867 Commits
Author SHA1 Message Date
Sameh Khamis e9fd19acb3 Merge pull request #1829 from bilawalsidhu/samehkhamis/space-missions-fixes
Finish the Space Missions shutdown, and let label clicks reach every layer
2026-11-18 22:01:51 -08:00
Sameh Khamis a5b18f3718 Merge branch 'main' into samehkhamis/space-missions-fixes 2026-11-18 21:49:21 -08:00
Sameh Khamis 6b45ea12cf Merge pull request #1836 from bilawalsidhu/fix-delayed-clock-test
Hold the clock still in the delayed-live aircraft icon test
2026-11-18 21:34:15 -08:00
Sameh KhamisandManjunath Paparaju b5018b8cc2 Let the cockpit focus test reach its check
The test's camera and rendering doubles now carry what focusing a mission
uses, so without the cockpit guard the test fails on the camera flight
rather than on a missing double.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 21:25:05 -08:00
Sameh Khamis 14bf0de2a2 Merge branch 'main' into fix-delayed-clock-test 2026-11-18 21:22:35 -08:00
Sameh Khamis b56c019df7 Merge pull request #1835 from bilawalsidhu/fix-icon-near-plane-flicker
Icons drawn over depth no longer flicker
2026-11-18 21:22:21 -08:00
Sameh Khamis 64e474f85e Add the changelog entry for #1836 2026-11-18 21:10:17 -08:00
Sameh Khamis 5e0842ad81 Add the changelog entry for #1835 2026-11-18 21:10:13 -08:00
Sameh Khamis 06aff17004 test(flights): hold the clock still while the delayed-live icon test compares drawn and read positions
The contact moves about half a metre per millisecond, and the drawn and read
positions each read Date.now(); on a busy machine the two readings landed far
enough apart to fail 'same place'.
2026-11-18 21:09:42 -08:00
Sameh Khamis 6a86102336 fix(render): icons drawn over depth no longer flicker
An icon drawn over depth set its log depth to exactly the near plane (1.0).
Interpolated across the quad, that value can arrive a rounding step or two
under czm_writeLogDepth's 0.9999999 cut, which discards the fragment, so a
moving icon vanished for a frame now and then, most visibly far away in dense
clusters. It now sits 1e-4 m past the near plane, still in front of
everything.
2026-11-18 21:09:42 -08:00
Sameh KhamisandManjunath Paparaju cdde80f3ad Never fly to a mission while the cockpit holds the camera
Focusing a mission does nothing in the cockpit, so the layer row's arrows
select the next mission without moving the camera, as its label and dot
already do.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 20:58:17 -08:00
Sameh KhamisandManjunath Paparaju 6c960eb3c9 Keep the camera still in the cockpit when a mission's dot is clicked or its orbit arrives
The cockpit holds the camera: the mission dot, like its label, selects the
mission there without flying to it, and a mission picked in the cockpit is
not flown to when the active satellite lookup returns.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 20:37:53 -08:00
Sameh KhamisandManjunath Paparaju 813c6b23ea Say that an explicit Satellites action lets the saved state go after a busy restore
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 20:28:58 -08:00
Sameh KhamisandManjunath Paparaju a29efa12c4 Let a mission label select its mission in the cockpit, and say what the merged click rule does
Under the card-on-top rule a mission label is the card on top for the
cockpit too, so the label no longer steps aside there: it selects its
mission without moving the camera the cockpit holds. Tests and docs no
longer claim a covered click reaches what lies under the label, and the
busy-restore note says an explicit Satellites action lets the saved state
go.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 20:24:16 -08:00
Sameh Khamis d2dac41668 Merge pull request #1833 from bilawalsidhu/samehkhamis/sonar-minimal-fixes
Keep the HUD corners clear of the credits, and carry Minimal + Sonar in links and scenes
2026-11-18 20:01:53 -08:00
Sameh KhamisandManjunath Paparaju 0e5c5e624c Merge origin/main into space-missions-fixes
Main's single click rule (the card or label on top takes the click, read
once per click through clickCard and isUnderOtherCard in
src/data/pickRegistry.js) covers a click on a Space Missions label: a
mission marker label is an interactive world-overlay entry, so the
host's hit test names it as the card on top for every other layer. The
per-layer label guards in CCTV, Drone Airspace, FIRMS, Ghost Maps, News,
Perimeters, Shipwrecks, Vessels, Wildlife Sightings, ALPR, Local ADS-B
and the cockpit orbital focus are dropped for main's versions.

The mission-label tests are kept on main's API: fakeInputUnderLabel now
also names the label as the card on top, and each test shows a click on
the label never acts on the card, camera, vessel, fire, reader, aircraft
or report under it, and leaves the selection as it is. A launches test
checks that a mission label is interactive and is the card on top for
every other layer. Docs, changelog and the dispatcher's `overlay` note
describe the merged behaviour.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 20:00:25 -08:00
Sameh KhamisandManjunath Paparaju 71f40c9655 Keep phone and clean-view credits as they were, and lift narrow corners over the World Timeline
The Cesium credit box's width cap and right-to-left placement apply from
1200px as before, and in the Omnibar layout at every width, so the phone
shell, clean view, recording and scene playback keep their own layout.
Narrower than 1120px the coordinates and the Tactical readout sit above
the World Timeline while it shows. The scene format notes that a build
from before `sonar` refuses a project that has it.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 19:45:47 -08:00
Sameh KhamisandManjunath Paparaju c49cf5168e Add the changelog entry for #1833
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 19:45:47 -08:00
Sameh KhamisandManjunath Paparaju 40e2998466 Carry Sonar with the Minimal HUD layout in links and scene shots
A link or scene shot made in Minimal with Sonar on played back with Sonar
off, and turned off the viewer's own. Tactical with Sonar keeps the `cyber`
layout code, which older readers understand; Minimal with Sonar now carries
an explicit mark beside its layout: flag bit 5 (`hudSonar`, default off) of
a compact link, `hs=1` in the long form, and `hud.sonar: true` in a scene
shot. A restore turns Sonar on when the state names Cyber or carries the
mark, so a state made before it restores exactly as it did.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 19:45:47 -08:00
Sameh KhamisandManjunath Paparaju c69a421678 Keep the HUD corners, the dock and a wrapped credit line apart at every width
The credit line now wraps at every width instead of running under the
corner row, and right to left it takes the bottom right at every width. A
small watcher keeps its height in --credit-line-height, so the coordinates
(and, right to left, the Tactical readout) stay above it however many lines
it wraps onto, and the dock and World Timeline rise when it is taller than
their usual clearance. Narrower than 1120px the dock leaves no room between
the bottom corners, so the coordinates and the readout sit above the dock
instead of under it. Outside the Omnibar layout, the coordinate rule meant
for 981 to 1199px no longer overrides the two-row dock's placement at 980px
and below.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 19:45:47 -08:00
Sameh Khamis 8ed14efdbf Merge pull request #1781 from manjunath22466/fix/earthquake-click-details
fix(earthquakes): make quakes clickable, with card click arbitration
2026-11-18 19:19:51 -08:00
Sameh Khamis 35c5ee5deb Merge remote-tracking branch 'origin/main' into fix/earthquake-click-details 2026-11-18 18:58:33 -08:00
Sameh Khamis e87aa5190d Merge main into fix/earthquake-click-details
Resolves conflicts with main: a world focus target's own range past its
framed radius replaces the kind's range (#1832), so a quake asks for its
own range only past M6 and the earthquake framing stays its floor; FIRMS
keeps main's marker stand-in under the card-on-top rule; launches keep
main's label click and also read the card on top through the pick
registry.
2026-11-18 18:58:07 -08:00
Sameh Khamis 2a94067f5b Merge pull request #1834 from bilawalsidhu/imagery-decoded-frames
Renderer contract: decoded imagery, finished tile images handed over by the application
2026-11-18 18:52:51 -08:00
Sameh Khamis 1b03039438 Changelog entry for decoded imagery 2026-11-18 18:37:44 -08:00
Sameh Khamis 4ee0aba82e Renderer contract: decoded imagery, tiles the application hands over as finished images
A timed source of kind 'decoded' (capability imageryDecoded) names the slot a
time shows (slotAt), the slots to hold ahead (prefetch) and answers each tile
of a slot with an image, missing or defer. The Cesium renderer draws each held
slot as an imagery layer of its own, as it draws frames; the stub shows the
slot. The check globe.imagery.decoded covers it.
2026-11-18 18:37:23 -08:00
Sameh Khamis bb3bf9858b fix(click): the card or label on top takes the click in every layer
Review fixes for #1781:

- One rule for cards: the world-overlay host hands its hit test to the
  pick registry, and every click handler reads the topmost interactive
  card or label once per click (`clickCard`, `isUnderOtherCard` in
  src/data/pickRegistry.js), so all handlers agree in any listener order.
  A layer whose own card or label is on top acts on it whatever is drawn
  under it; a layer under another layer's card neither acts nor treats
  the click as empty space (a tracked aircraft stays tracked, a selection
  stays selected); Context names nothing under a card. A selected news
  card over a vessel no longer opens the link and selects the vessel.
- With one rule, the per-owner arbitration options are no longer read
  and are removed: `passive`, `expanded` and `declinesClick` pick owners,
  `rememberClickPickActions`, `isActedOnByOtherLayer`, card backgrounds
  and `cardKeepsClick`. The dispatcher is unchanged from main.
- A drag that ends on a quake disc, label or card does nothing; opening
  the USGS page or clearing the selection needs a clean click.
- A click on the map under another layer's card opens no Street Level
  ground image.
- A CCTV card that is going away is still not the scene under it.
- Docs and changelog describe the new rule.
2026-11-18 18:23:41 -08:00
Sameh KhamisandManjunath Paparaju 29d0fa6e0b Keep satellite tracking stopped by a place search through the Space Missions restore
A place search or fly-to stops satellite tracking with the tool origin,
which the saved Satellites state did not take in, so a satellite tracked
by voice during the mission was tracked again when Space Missions ended.
The saved state now takes in every deliberate Satellites setting (person,
voice or tool), as the layer state does.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:56:36 -08:00
Sameh Khamis cd144ecad5 feat(firms): a marker stand-in can set how far the camera stands from a fire it draws (#1832)
setMarkerStandIn takes an optional focusRangeM(record): when a click on a fire the stand-in draws moves the camera there, it stands off that many metres instead of the usual fire framing. A world focus request may carry its own rangeM; past the framed radius it replaces the kind's range.
2026-11-18 17:46:31 -08:00
Sameh KhamisandManjunath Paparaju ab01345c7d Keep a Satellites setting the person changes while Space Missions holds its saved state
A setting such as "show orbits" changed by the person or by voice while
Space Missions keeps the Satellites state from before it (while it runs, or
after a restore that found Satellites busy) was overwritten when the mission
ended. It is now kept in that saved state, as their visibility choice is.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:36:15 -08:00
Sameh KhamisandManjunath Paparaju 3cf230b8b3 Give back the Satellites a person chose between two missions
A saved Satellites state kept by a busy restore could still carry the mark
of a Satellites switch the person made after it, which tells the restore to
leave Satellites as it is. Space Missions turned on again kept that mark,
so turning it off left Satellites on when it had been off. The next mission
now saves Satellites as it is when it starts in that case.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:29:35 -08:00
Sameh KhamisandManjunath Paparaju c53a6d1c51 Test that a mission label's click never acts on the card or reader beneath it
ALPR, News, Wildlife Sightings, Fire Perimeters, GhostMaps and Drone
Airspace each skip their own card or overlay hit test when a painted label
took the click. Each now has a test that a click the label took does not
select the camera or sighting, open the report, or open the card's link,
and lets go of the current selection, while the same click off the label
still acts. ALPR's presentation gets its first test file.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:23:35 -08:00
Sameh Khamis 0a9235cc69 Merge pull request #1827 from bilawalsidhu/manjunath/welcome-steps
Turn the first-run launcher into a three-step welcome
2026-11-18 17:15:24 -08:00
Sameh KhamisandManjunath Paparaju 74d38e6d14 Switch Satellites on again when Space Missions returns after a busy restore
A restore that found Satellites still busy keeps the saved state, and the
next Space Missions start then skipped switching Satellites on, so it came
up with no satellites. It now keeps that saved state (still the one from
before the mission) and switches Satellites on for the mission again.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:14:04 -08:00
Sameh KhamisandManjunath Paparaju 71229c8549 Add the changelog entry for the Space Missions fixes
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:08:00 -08:00
Sameh KhamisandManjunath Paparaju 5feac417d6 Never act on what lies under a mission label when it is clicked
A click on a Space Missions label reaches every click subscriber so they can
let go of their selection, but the layers that test their own painted cards
or pick the scene themselves still found what lay under the label: CCTV
turned that camera on, FIRMS and Vessels selected and flew to theirs, News
and Wildlife Sightings opened their item, Perimeters, Ghost Maps and
Shipwrecks opened the card's link, ALPR selected its reader, and Local ADS-B
drilled the scene itself and selected the aircraft. Each now skips its own
test on such a click, and Local ADS-B drills through the click, so the click
only releases selections, as a click on empty map or another layer's
contact does. Ordinary clicks behave as before.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:05:43 -08:00
Sameh KhamisandManjunath Paparaju 3c0aec90ef Test which changes lay the right panels out for the Stories card
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:00:10 -08:00
Sameh KhamisandManjunath Paparaju 866eadbe5e Let a quick second click on Next move on, and Tab leave the welcome for the page
The second click of a double click on NEXT was dropped, so the button
looked dead; it now moves to the next step, and only the launch itself
still takes a single click. Tab from the search bar or another control
jumped back into the card; the card no longer claims focus from the page,
and still takes it when focus has nowhere else to be.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:00:10 -08:00
Sameh KhamisandManjunath Paparaju 4d42c56bdf Lay the right panels out again when the welcome stops hiding the Stories card
The welcome hides the card while it is up and while BROWSE STORIES loads,
so the right column started level with the left one; when the welcome
closed, the card showed over the column until something else moved the
panels. The column is laid out again when the welcome is removed or its
loading class comes off.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:00:10 -08:00
Sameh KhamisandManjunath Paparaju 44bc79ea25 Name the changelog entry for its pull request
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:00:10 -08:00
Sameh KhamisandManjunath Paparaju 0936da98a9 Launch from the welcome only on a press made on its step, and keep it up if Stories refuses
From review:
- A press begun while the steps were changing and released after (a click
  aimed at NEXT) ran ENTER GOD MODE; a press now belongs to the step it
  began on. Keyboard activation is unchanged.
- BROWSE STORIES closed the card before asking Stories to open, so a
  refusal (another mode holding the globe) left nothing on screen; the card
  closes only once Stories opens.
- On phones a mission's error line was squeezed beside the checkbox and
  BACK; it takes its own row above the buttons.
- CURRENT-STATE calls the YouTube, X, Instagram, LinkedIn and bilawal.ai
  links the author's channels, as the card does.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:00:10 -08:00
Manjunath PaparajuandSameh Khamis e342149a09 Turn the first-run launcher into a three-step welcome
Replace the single dense welcome card with three short steps: an
introduction to the modes, where to start (Space Missions, Environmental
or Explore manually, Explore selected by default), then quick tips (the
place tip points at the search bar) and links. Next and Back keep the
selection, and only Enter God mode runs a mission; double clicks, Enter
repeats and clicks during a step change cannot launch one. Skip and ESC
close the card for the session, as before.

Drop the Live Contacts tile and the old voice tip. Space Missions
switches on its layer, which opens its own panel, so no first-run choice
enters a Context mode or opens the Context panel any more, and that path
is gone. The last step links to the repository and
Halfpixel's channels, each opening in a new tab without opener or
referrer. Its GEV Stories card closes the welcome and opens the in-app
Stories Explore view; the Stories announcement stays hidden, and unseen,
until the card has closed and Stories has loaded. The dim layer behind
the card is a click-through tint with no blur.

Update the 13 catalogs, CURRENT-STATE, the first-run QA harness and its
mutations, and the scripts that dismissed the old card. Add a changelog
fragment.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-18 17:00:10 -08:00
Sameh Khamis 0421813e26 feat(firms): let an application stand in for the fire markers (#1828)
The fire layer takes a stand-in for its markers (setMarkerStandIn({ hitTest })): its glows, heatmap and ambient cards are hidden, and a click the stand-in answers selects and focuses the fire exactly as a marker click does.
2026-11-18 16:47:24 -08:00
Sameh KhamisandManjunath Paparaju 8675ead171 Stop roster hover and focus from moving the camera while Space Missions goes off
While Space Missions was going off (its Satellites restore still running,
the panel still shown), hovering or keyboard-focusing a roster row still
scheduled the roster preview, which flew the camera to that launch with
nothing left to end it. The preview is no longer scheduled once the layer
is going off, and one already pending is dropped. Selection, focus, replay
and stepping from the Data Layers row were already refused then.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 16:37:48 -08:00
Sameh KhamisandManjunath Paparaju 9ac937af82 Let every click subscriber hear a mission-label click
A click a painted overlay handled, such as a Space Missions label, returned
before any click subscriber ran, so the layers that close their cards or let
go of their selection on a click never heard it. Now only the picking the
label replaces is skipped: subscribers still hear the click, marked as an
overlay click whose hit is the label (no draw set, no id, nothing drilled),
and the geometry beneath it is not picked.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 16:36:00 -08:00
Sameh KhamisandManjunath Paparaju ee37511332 Keep the saved Satellites state when Satellites is still busy as Space Missions turns off
When Satellites had not settled within the 30 s limit, turning Space Missions
off cleared the saved Satellites state and put the parameters back before
failing, so Satellites stayed on as Space Missions had switched it with
nothing left to retry. Now a busy Satellites layer is left untouched and the
saved state is kept, so turning Space Missions off again finishes the
restore. A Satellites action the person took still gets its parameters back.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 16:35:52 -08:00
Sameh Khamis 46e831620e Merge pull request #1826 from bilawalsidhu/manjunath/space-missions-layer
Make Space Missions an ordinary layer with its own panel
2026-11-18 16:16:01 -08:00
Sameh KhamisandManjunath Paparaju 6f8ef5c4d1 Name the changelog entry for its pull request
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 16:03:51 -08:00
Sameh KhamisandManjunath Paparaju 67d675c5d9 Keep the Space Missions panel out of the Cockpit and its controls out of teardown
From review:
- Voice "open the Space Missions panel" under the Cockpit opened it and
  wrote its preference; it is refused there now, as the layer's own reveal
  is. On a phone the panel's Missions sheet shows too.
- A voice "context off" switches Space Missions off only when no Context
  mode is on, entering or starting (Contacts), and it also reaches Space
  Missions while the layer is still starting.
- While the layer is going off (its Satellites restore may still run) a
  roster click, focus or replay does nothing.
- Stepping missions from the Data Layers row opens the panel, as a globe
  pick does.
- SHARE-LINK-FORMAT lists panel 11, space-missions-panel (token n).

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 16:03:51 -08:00
Manjunath PaparajuandSameh Khamis 0a6fd5f43f Make Space Missions an ordinary layer with its own panel
Space Missions no longer runs as a Context mode. The launches layer owns
its Satellites dependency, including the rule that a Satellites off
asked for after Space Missions was switched on ends it (request order
decides), and a small controller connects the layer to its own panel and
store. Context no longer isolates, snapshots or restores Space Missions
or Satellites, so Contacts and Space Missions run together in either
order, and scene playback no longer exits an isolating mode. Settled by
the owner: Contacts leaves Satellites as it is, and only a person's or
voice Satellites off ends Space Missions; a scene, story, preset or
other programmatic off does not.

Turning the layer on by hand or by voice, choosing it at first run, or
picking a mission on the globe opens the Space Missions panel, and on a
phone its Missions sheet. Asking voice to open the panel while the layer
is off is refused with a reason, and voice never opens it while the
Cockpit owns the screen. With no Context mode on, a voice Context off
switches Space Missions off. A failed Satellites restore no longer cuts
the layer's teardown short. Mission labels on the globe select their
mission. The layer names a failed first index load itself, so the
Context toast no longer imports Space Missions code.

Also carries the satellites request ordering and
DataLayerManager.waitForLayerIdle, the share token for the panel, voice
panel ids, Cockpit folding the panel away and the phone tab ellipsis.
The panel shares the rail gutters and hover border of the other side
panels.

On top of the Omnibar: "open space missions panel" reaches the new
panel, and Open Context no longer answers to "missions".

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-18 16:03:51 -08:00