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]>
This commit is contained in:
Manjunath PaparajuandSameh Khamis authored and Sameh Khamis committed 2026-11-18 16:03:51 -08:00
1 parent 8b2ca602e5
commit 0a6fd5f43f
101 files changed
+2885 -1673

No files matched your search

+17 -1
View File
@@ -62,7 +62,8 @@ test('the complete Realtime tool payload pins the manifest-generated layer relea
// open_stories adds the Stories Explore entry action.
// The Cyber HUD layout leaves set_hud's layout enum (its sonar is a
// visual style; set_cyber_sonar is excluded above).
'97f78bc5e66d757da87333c515ebdbf5c2a6908156b3e676e9c2ca45e9b5e4f3',
// The Space Missions panel adds one panel target.
'09abe70ef3a1fc4320e25cff997dd3b04db7e78ff31b8530e17bbbbb8156b4c6',
);
});
@@ -195,6 +196,7 @@ test('all legacy action arguments are byte-identical after removing the delibera
'voice-preview',
'provider-settings',
'utilities-panel',
'space-missions-panel',
].includes(id),
);
for (const tool of legacy) {
@@ -342,3 +344,17 @@ test('tilt accepts an angle with no direction', () => {
validateArgs(schema, { motion: 'tilt', pitchDeg: 'steep' }).length > 0,
);
});
test('set_panel_open accepts the Space Missions panel', () => {
const schema = GEV_ACTION_SCHEMAS.find(
(tool) => tool.name === 'set_panel_open',
).parameters;
assert.deepEqual(
validateArgs(schema, { panelId: 'space-missions-panel', open: true }),
[],
);
assert.ok(
validateArgs(schema, { panelId: 'space-missions', open: true }).length > 0,
'the Context mode name is not a panel id',
);
});