mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-22 03:02:20 +00:00
Remove always-true layer availability and leftover viewer paths
Every layer draws on both engines, so the per-engine availability machinery always answered yes. The renderer manifest is now the id to display map plus the wind flow backend; the catalog filter, the voice and QA-probe refusals and the engine-kind checks go with it. The Navara notice lists the same layers in the same words. Paths that read the Cesium viewer behind an engine that is always there are gone: the Recent Imagery viewer fallbacks, the shell's imagery-host service (one shared host module remains), the engineless map controller, viewer gates in voice actions, world packets and camera verbs, the orientation controls' tracked-entity fallback, and the Bhote Koshi and FIRMS Cesium-shaped paths. setCameraInputs, which nothing called, leaves the contract; suspensions remain. Smaller duplicates go too: one tracker-release helper for navigation and location, the no-op frame latch, missing-engine guards, one name for the injected display, flat bikeshare and installations displays, one overlay host and binder, one name per world-overlay method, and stub-viewer guards in the Cesium engine. Layers that still read the viewer keep the shared init(viewer, context) entry. Behaviour is unchanged on both engines. Viewer lines fall from 849 to 750 and engine-name literals from 32 to 27.
This commit is contained in:
1 parent
371d848eec
commit
7f478e3815
279 files changed
+1570
-3104
No files matched your search
@@ -1259,7 +1259,7 @@ test('real Radio Select cannot enable or play after a same-response Disable comp
|
||||
ui,
|
||||
dataManager,
|
||||
radioLayer,
|
||||
runner: (_name, args, options) => controlRadio({}, dataManager, args, options),
|
||||
runner: (_name, args, options) => controlRadio(dataManager, args, options),
|
||||
});
|
||||
controller.debugLog = () => {};
|
||||
controller.sendVisualContextIfUseful = async () => false;
|
||||
@@ -1386,7 +1386,7 @@ test('generic same-response Radio visibility disable supersedes delayed Select',
|
||||
radioLayer,
|
||||
runner: (name, args, options) => (
|
||||
name === 'control_radio'
|
||||
? controlRadio({}, dataManager, args, options)
|
||||
? controlRadio(dataManager, args, options)
|
||||
: genericRunner(name, args, options)
|
||||
),
|
||||
});
|
||||
@@ -1501,7 +1501,7 @@ test('same-response Pause aborts a real manager enable already in flight', async
|
||||
ui,
|
||||
dataManager,
|
||||
radioLayer,
|
||||
runner: (_name, args, options) => controlRadio({}, dataManager, args, options),
|
||||
runner: (_name, args, options) => controlRadio(dataManager, args, options),
|
||||
});
|
||||
controller.debugLog = () => {};
|
||||
controller.sendVisualContextIfUseful = async () => false;
|
||||
@@ -1629,7 +1629,7 @@ test('Pause and Stop preserve independent dedicated and generic Radio ON across
|
||||
radioLayer,
|
||||
runner: (name, args, options) => (
|
||||
name === 'control_radio'
|
||||
? controlRadio({}, dataManager, args, options)
|
||||
? controlRadio(dataManager, args, options)
|
||||
: genericRunner(name, args, options)
|
||||
),
|
||||
});
|
||||
@@ -1755,7 +1755,7 @@ test('successful same- or newer-response Stop aborts Select across real manager
|
||||
const controller = new GevRealtimeController({
|
||||
ui,
|
||||
radioLayer,
|
||||
runner: (_name, args, options) => controlRadio({}, dataManager, args, options),
|
||||
runner: (_name, args, options) => controlRadio(dataManager, args, options),
|
||||
});
|
||||
controller.debugLog = () => {};
|
||||
controller.sendVisualContextIfUseful = async () => false;
|
||||
@@ -2017,7 +2017,7 @@ test('failed same-response stop does not suppress a successful playback request'
|
||||
const controller = new GevRealtimeController({
|
||||
ui,
|
||||
runner: async (_name, args) => {
|
||||
const result = await controlRadio({}, dataManager, args);
|
||||
const result = await controlRadio(dataManager, args);
|
||||
if (args.action === 'play') await playGate;
|
||||
return result;
|
||||
},
|
||||
@@ -2121,7 +2121,7 @@ test('failed same-response Stop preserves Select auto-enable held inside real ma
|
||||
ui,
|
||||
dataManager,
|
||||
radioLayer,
|
||||
runner: (_name, args, options) => controlRadio({}, dataManager, args, options),
|
||||
runner: (_name, args, options) => controlRadio(dataManager, args, options),
|
||||
});
|
||||
controller.debugLog = () => {};
|
||||
controller.sendVisualContextIfUseful = async () => false;
|
||||
@@ -2205,7 +2205,7 @@ test('failed same-response Pause and Disable do not suppress valid older playbac
|
||||
dataManager,
|
||||
radioLayer: dataManager.layers.get('radio').module,
|
||||
runner: async (_name, args) => {
|
||||
const result = await controlRadio({}, dataManager, args);
|
||||
const result = await controlRadio(dataManager, args);
|
||||
if (args.action === 'play') await playGate;
|
||||
return result;
|
||||
},
|
||||
@@ -2351,7 +2351,7 @@ test('direct user Radio OFF aborts an in-flight voice enable before settled publ
|
||||
ui,
|
||||
dataManager,
|
||||
radioLayer,
|
||||
runner: (_name, args, options) => controlRadio({}, dataManager, args, options),
|
||||
runner: (_name, args, options) => controlRadio(dataManager, args, options),
|
||||
});
|
||||
controller.debugLog = () => {};
|
||||
controller.sendVisualContextIfUseful = async () => false;
|
||||
@@ -3673,7 +3673,7 @@ test('a claimed Space hold barges in on the assistant; a short tap never does',
|
||||
|
||||
const testPlaceSearch = () => createStandalonePlaceSearch({ resolveApiKey: () => globalThis.window?.__GOOGLE_MAPS_API_KEY__ });
|
||||
function createGevActionRunner(options) { return createActionRunner({ placeSearch: testPlaceSearch(), ...options }); }
|
||||
function controlRadio(viewer, manager, args, options) { return runControlRadio(viewer, manager, args, { placeSearch: testPlaceSearch(), ...options }); }
|
||||
function controlRadio(manager, args, options) { return runControlRadio(manager, args, { placeSearch: testPlaceSearch(), ...options }); }
|
||||
|
||||
test('voice runs app actions itself and other tools through the catalog', async () => {
|
||||
const actions = [];
|
||||
|
||||
Reference in new issue
Block a user