feat(cockpit): list orbit's sites and satellites in Live Signals

The orbital Context card is gone and the Contact card stays hidden in orbit
again. Live Signals page 1 had nothing in orbit but TRACK ACQUIRED, because
orbit feeds no Contacts snapshot; it now lists what is around the
satellite, built the way the aircraft rows are, five rows with stable keys
rebuilt once a second. Rows already shown keep their places while they
still qualify, so a site passing under a low orbit is not pulled from under
the pointer.

Site rows come from the Mapped Installations layer (getNearby, asked only
as far as the reach extends) and focus their site, or release it on the
focused site's row, which reads as the subject does. A site the layer drops
during its frequent reloads stays listed for 10 s, since sites do not move.
With the layer off nothing is listed and a SITES STANDBY row says why.
Satellite rows come from the satellites layer's bounded nearest query,
measured from the satellite itself, and ride the satellite; RETURN goes
back to the one before, skipping one that has left the catalogue. While
the camera hops to a new satellite only TRACK ACQUIRED and RETURN show, so
nothing is measured from the old position. An arrow pressed while a focus
eases back takes the arrows' own clock. Site and satellite rows name their
own actions.
This commit is contained in:
Denis Groshev committed 2026-11-09 01:56:30 +01:00
1 parent fad62a4ba8
commit dd02068ce9
32 files changed
+1562 -1056

No files matched your search

-18
View File
@@ -132,22 +132,6 @@ export const useCockpitStore = defineStore('gev-cockpit', () => {
orbital.value = next && markRaw(next);
}
/**
* The mapped points the orbital view shows or can be turned to: null
* outside orbit. Shape: `{ count, focusKey|null, entries: [{ key, label,
* layerName, source, latitude, longitude, offNadirDeg, reachable,
* focused, osm, details: [{ key, value }] }] }`, nearest to nadir first
* and at most 12 (`count` is all of them); `reachable` is false for a
* point in the frame but beyond the off-nadir reach, `osm` marks details
* that are OpenStreetMap tags (src/ui/cockpitOrbitalFocus.js).
*/
const orbitalReach = shallowRef(null);
/** @param {?object} next A fresh list of the mapped points in reach. */
function publishOrbitalReach(next) {
orbitalReach.value = next && markRaw(next);
}
/**
* The utility strip's measured layout: its top and height limits as CSS
* lengths (null leaves the stylesheet's), whether only the expanded control
@@ -187,8 +171,6 @@ export const useCockpitStore = defineStore('gev-cockpit', () => {
publishRadar,
orbital,
publishOrbital,
orbitalReach,
publishOrbitalReach,
utilityLayout,
publishUtilityLayout,
};