refactor: own application request operations and surface caches

This commit is contained in:
Sameh Khamis committed 2026-09-14 14:49:04 -07:00
1 parent 310809e8f1
commit ac977bd8bc
53 files changed
+4388 -3317

No files matched your search

+5 -2
View File
@@ -148,7 +148,7 @@ export class StyleManager {
*/
constructor(
viewer,
{ mapStackController = null, placeSearch, services } = {},
{ mapStackController = null, placeSearch, services, requestServices } = {},
) {
const {
IntelHUD,
@@ -293,7 +293,10 @@ export class StyleManager {
this._orbitIndicator = null;
// Intel HUD
this.hud = new IntelHUD(viewer, { placeSearch });
this.hud = new IntelHUD(viewer, {
placeSearch,
summaryService: requestServices?.summary,
});
this._recording.hud = this.hud;
this._cockpitVisionMode = 'optical';
this._cockpitVisionRestore = null;
-14
View File
@@ -41,14 +41,6 @@ import {
setDetectionTuning,
} from '../data/detection.js';
import { isTr3b, toggleTr3b } from '../data/tr3bRegistry.js';
import {
cachedGroundFloor,
cachedMeshFloor,
GROUND_FLOOR_LIFT_M,
meshFloorPreferred,
warmGroundFloor,
} from '../data/groundFloor.js';
import { sampleMeshFloorCells } from '../data/meshFloorSampler.js';
import {
holdContinuousRender,
releaseContinuousRender,
@@ -105,12 +97,6 @@ export class StyleManager extends ApplicationShell {
setDetectionTuning,
isTr3b,
toggleTr3b,
cachedGroundFloor,
cachedMeshFloor,
GROUND_FLOOR_LIFT_M,
meshFloorPreferred,
warmGroundFloor,
sampleMeshFloorCells,
holdContinuousRender,
releaseContinuousRender,
governorRequestRender,