Commit Graph
274 Commits
Author SHA1 Message Date
Sameh Khamis 9f0159343e docs: describe infrastructure disable and rebuild lifecycle 2026-09-13 16:26:08 -07:00
Sameh Khamis 3aaa2afd48 Merge remote-tracking branch 'origin/main' into fix/geojson-release-intake 2026-09-13 16:26:08 -07:00
Sameh Khamis 3ca81fb4fb Merge pull request #432 from bilawalsidhu/refactor/camera-layer-components
refactor(cctv): separate camera source and scene components
2026-09-13 15:28:21 -07:00
Bilawal Sidhu 499e1168a7 fix(layers): release bundled GeoJSON entities on toggle-off instead of hiding them
Toggling datacenters, dams, or submarine cables off only set `show = false`
on their data sources. Cesium's DataSourceDisplay still walks every
visualizer of a hidden source each frame, and the ~11.5k hidden entities
(hundreds of MB) stayed resident, so the whole scene rendered ~2x slower
for the rest of the session after a single on/off round trip (owner field
test 2026-09-13).

disable() now removes the data sources from the viewer and drops the built
records; the parsed dataset (NDJSON features / TeleGeography JSON) is cached
so enable() rebuilds without a refetch or re-parse. A disable that lands
while a load is in flight releases the finished build instead of parking it
hidden. destroy() clears the cache.

Measured with a headful Chrome harness (flights+military+satellites on,
camera rotating, 250-frame windows), before -> after:
- entities resident after OFF: 11,537 -> 0
- DataSourceDisplay.update per frame after OFF: 1.09 ms -> 0.02 ms
- scene.render per frame after OFF: 13.9 ms (control 6.6 ms) -> 5.2 ms
  (fresh baseline 5.0 ms in the same run)
- JS heap 30 s after OFF: 1.6 GB and climbing -> 342 MB after GC

Tests: the GeoJSON lifecycle and cables suites assert disable leaves zero
sources/contexts and re-enable rebuilds with fetch called once.
2026-09-13 17:08:23 -05:00
Sameh Khamis 519bc6c362 refactor(cctv): separate camera source and scene components 2026-09-13 15:02:32 -07:00
Sameh Khamis ca5f5fff93 Merge pull request #429 from bilawalsidhu/feat/frame-rate-shortcut
feat(ui): add a backtick FPS toggle beneath the logo
2026-09-13 15:01:19 -07:00
Sameh Khamis bf6c401e27 feat(ui): toggle rendered frame rate with backtick 2026-09-13 14:51:24 -07:00
Sameh Khamis 53dc685c8d Merge pull request #428 from bilawalsidhu/fix/traffic-city-navigation
fix(traffic): recover loading after city navigation
2026-09-13 14:50:55 -07:00
Sameh Khamis 0732f8f95c fix(traffic): recover road loading after city navigation 2026-09-13 14:47:26 -07:00
Sameh Khamis ee03bfb8a8 Merge pull request #427 from bilawalsidhu/refactor/traffic-bikeshare-components
refactor: separate traffic and bikeshare components
2026-09-13 14:13:57 -07:00
Sameh Khamis 903fe6ba37 refactor: separate traffic and bikeshare components 2026-09-13 14:10:38 -07:00
Sameh Khamis 3143d00c90 Merge pull request #426 from bilawalsidhu/refactor/installation-context-components
refactor: separate installation and proximity context components
2026-09-13 13:39:49 -07:00
Sameh Khamis 3b77277883 refactor: separate installation and proximity context components 2026-09-13 13:36:32 -07:00
Sameh Khamis 287493dfb7 Merge pull request #424 from bilawalsidhu/refactor/orbit-layer-components
refactor(space): separate satellite and mission layer components
2026-09-13 13:16:17 -07:00
Sameh Khamis ce0568983a refactor(space): separate satellite and mission layer components 2026-09-13 13:12:34 -07:00
Sameh Khamis 61db945b21 Merge pull request #422 from bilawalsidhu/refactor/fire-layer-components
refactor(fires): separate source, rendering and interaction components
2026-09-13 12:52:06 -07:00
Sameh Khamis 6a9f13eab8 refactor(fires): separate source, rendering and interaction components 2026-09-13 12:48:26 -07:00
Sameh Khamis e99cc8cf68 Merge pull request #421 from bilawalsidhu/refactor/earthquake-layer-components
refactor: separate earthquake sources and display ownership
2026-09-13 12:18:10 -07:00
Sameh Khamis d1d938babe refactor: separate earthquake source and display ownership 2026-09-13 12:14:44 -07:00
Sameh Khamis 965a44860f Merge pull request #418 from bilawalsidhu/refactor/vessel-components
Extract vessel components and preserve source lifecycle
2026-09-13 11:01:48 -07:00
Sameh Khamis 13e3c29d9c Keep camera ownership assertions on formatted vessel components 2026-09-13 10:55:14 -07:00
Sameh Khamis a0b2d9f6aa Format extracted vessel components 2026-09-13 10:54:35 -07:00
Sameh Khamis 2f4839e8f2 Extract vessel components and preserve source lifecycle 2026-09-13 10:54:32 -07:00
Sameh Khamis 8b3fad0672 Merge pull request #417 from bilawalsidhu/refactor/military-flight-components
Extract military-flight components and shared aircraft helpers
2026-09-13 10:44:52 -07:00
Sameh Khamis 22138212b9 Preserve positionless aircraft identities for classification 2026-09-13 10:28:10 -07:00
Sameh Khamis 1edebcb6f8 Format military-flight and classification components 2026-09-13 10:23:17 -07:00
Sameh Khamis cb790ddea1 Extract military-flight components and shared aircraft mechanics 2026-09-13 10:23:13 -07:00
Sameh Khamis b5e546daf1 Merge pull request #416 from bilawalsidhu/refactor/civil-flight-components
Extract civil-flight components with explicit scene services
2026-09-13 10:07:05 -07:00
Sameh Khamis 6bbfeae9f2 Use a launch catalog fixture in Cockpit lifecycle QA 2026-09-13 10:04:01 -07:00
Sameh Khamis f177b213f2 Keep structural and terrain regression pins on component owners 2026-09-13 09:54:55 -07:00
Sameh Khamis e18aeb8565 Format civil-flight components 2026-09-13 09:50:16 -07:00
Sameh Khamis 7c7e83c9e3 Extract instance-owned civil-flight components 2026-09-13 09:50:14 -07:00
Sameh Khamis cf149ecfc0 Merge pull request #413 from bilawalsidhu/refactor/live-source-contracts
Separate live sources from aircraft and vessel layers
2026-09-13 09:17:21 -07:00
Sameh Khamis ebebf69564 Reject out-of-range observation epochs before display 2026-09-13 09:14:06 -07:00
Sameh Khamis 0007ace064 Capture vessel cards after first-run chrome and camera settling 2026-09-13 09:13:29 -07:00
Sameh Khamis 73135a7ae4 Preserve source identity and history references through layer state 2026-09-13 09:06:13 -07:00
Sameh Khamis 80c5a09f15 Format live source modules and adopt their formatting checks 2026-09-13 08:58:59 -07:00
Sameh Khamis e968053d2c Separate live observation sources from aircraft and vessel layers 2026-09-13 08:58:56 -07:00
Sameh Khamis b2090a5320 Merge pull request #411 from bilawalsidhu/refactor/product-state-outcomes
refactor: use product state for share, location and scenes
2026-09-13 05:52:42 -07:00
Sameh Khamis ed172009e6 build: declare scene policy ownership in the director export 2026-09-13 05:45:20 -07:00
Sameh Khamis 3164405108 fix: retain completed scene status in current snapshots 2026-09-13 05:43:41 -07:00
Sameh Khamis e0652b19f2 style: format state subscriptions and their adopted controls 2026-09-13 05:43:05 -07:00
Sameh Khamis 45d97376d0 refactor: drive share, location and scene controls through product state 2026-09-13 05:42:49 -07:00
Sameh Khamis 21a0d0c74e Merge pull request #410 from bilawalsidhu/refactor/ui-shell-composition
refactor: compose UI shell and organize component styles
2026-09-13 05:11:06 -07:00
Sameh Khamis d11b612dca test: send the loading fixture event to its feedback owner 2026-09-13 04:52:24 -07:00
Sameh Khamis 841da87ca4 test: follow formatted shell owners and make playback keyboard focus explicit 2026-09-13 04:49:02 -07:00
Sameh Khamis 945a809994 fix: retain shell feedback bindings and stop disposed panel work 2026-09-13 04:49:02 -07:00
Sameh Khamis 03ad8142e6 style: format the UI shell and component styles 2026-09-13 04:26:11 -07:00
Sameh Khamis f5ef9091f0 refactor: compose UI shell with explicit application operations and component owners 2026-09-13 04:26:09 -07:00
Sameh Khamis 8a226a2fe3 Merge pull request #407 from bilawalsidhu/refactor/scene-controls
refactor: separate Scene controls from project and playback operations
2026-09-13 04:09:04 -07:00