Merge origin/main into the renderer seam

Brings in main up to f24abfc88: cockpit subject providers, the render
failure notice, aircraft drawn in their own mesh colours, airport ground
vehicles, and an aircraft with no ground track facing its true heading.

Under the seam:
- The render failure notice lives in the Cesium adapter
  (src/render/cesium/renderFailure.js) and is the application hook
  renderFailureNotice({allowReload, store}); its private Cesium fields
  (Event's raise queue, the widget's render loop flag) are read through
  internals.js. The inline panel's timer waits while the frame port reports
  the loop stopped, and goes on after a Retry.
- Ordinary aircraft models draw white with the 'highlight' colour blend
  through the draw port; tracked and emergency colours tint the mesh.
- Held trains and transit vehicles hide their route set and markers through
  the draw port; the fleet model test fakes answer loads through the fake
  draw port instead of Cesium's glTF loader.
- The Cockpit's subject view follows and places the camera through the
  camera port.
This commit is contained in:
Sameh Khamis committed 2026-11-14 09:59:55 -08:00
commit 866a9816f2
142 files changed
+9067 -308

No files matched your search

+29
View File
@@ -58,6 +58,35 @@ export interface ApplicationHooks {
viewerDrawsEntity?(entity: unknown): boolean;
/** Values QA scripts read from the page's debug handle. */
qaHandles?: Readonly<Record<string, unknown>>;
/**
* Show a recoverable notice when the renderer stops drawing (an error, a
* lost context), with Retry and, if `allowReload`, Reset, by publishing it
* to `store`. Returns its removal.
*/
renderFailureNotice?(options: {
allowReload: boolean;
store: RenderFailureStore;
}): () => void;
}
/** Where a renderer's failure notice is published for the application to show. */
export interface RenderFailureStore {
/** The notice shown now, or null. */
readonly renderFailure: RenderFailureNotice | null;
/** Show a notice, or none with null. */
publishRenderFailure(next: RenderFailureNotice | null): void;
}
/** A notice that the renderer stopped drawing. */
export interface RenderFailureNotice {
/** Why: an error in a frame, or a lost graphics context. */
reason: 'render-error' | 'context-lost';
/** The error's description, or empty. */
detail: string;
/** Draw again; after a lost context, reload the page. */
retry(): void;
/** Open the application's root address, or null where it must not. */
reset: (() => void) | null;
}
export interface CreateOptions {