Commit Graph
558 Commits
Author SHA1 Message Date
Sameh Khamis 06c73bca98 fix(maps): defer 3D attachment until the selection is current 2026-09-13 18:59:29 -07:00
Sameh Khamis e59282dc9c refactor(maps): separate source factories and scene coordination 2026-09-13 18:59:29 -07:00
Ashfaq 5c2382dd37 Merge branch 'main' into fix/antimeridian-traffic-bounds 2026-09-14 07:07:43 +05:30
Sameh Khamis 3ce5d2e454 refactor(geography): separate cable sources and bundled lookup modules 2026-09-13 18:36:33 -07:00
Sameh Khamis 0feaab0a72 refactor(alpr): accept normalized camera snapshots and source attribution 2026-09-13 17:33:48 -07:00
Sameh Khamis 3b1e75171a refactor(radio): expose shared country normalization 2026-09-13 17:28:35 -07:00
Sameh Khamis 41b3cc1705 refactor(radio): separate directory and playback components 2026-09-13 17:28:35 -07:00
Tom-NeverwinterandBilawal Sidhu 4374c0fa60 feat: add mapped ALPR cameras with bounded source loading
Adapt the ALPR camera contribution to reusable layer components, retaining source attribution, bounded queries, selection and voice controls.

Co-authored-by: Bilawal Sidhu <[email protected]>
2026-09-13 17:21:42 -07:00
Sameh Khamis 3aaa2afd48 Merge remote-tracking branch 'origin/main' into fix/geojson-release-intake 2026-09-13 16:26:08 -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 bf6c401e27 feat(ui): toggle rendered frame rate with backtick 2026-09-13 14:51:24 -07:00
Sameh Khamis 0732f8f95c fix(traffic): recover road loading after city navigation 2026-09-13 14:47:26 -07:00
Sameh Khamis 903fe6ba37 refactor: separate traffic and bikeshare components 2026-09-13 14:10:38 -07:00
Sameh Khamis 3b77277883 refactor: separate installation and proximity context components 2026-09-13 13:36:32 -07:00
Sameh Khamis ce0568983a refactor(space): separate satellite and mission layer components 2026-09-13 13:12:34 -07:00
Sameh Khamis 6a9f13eab8 refactor(fires): separate source, rendering and interaction components 2026-09-13 12:48:26 -07:00
Sameh Khamis d1d938babe refactor: separate earthquake source and display ownership 2026-09-13 12:14:44 -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 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 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 ebebf69564 Reject out-of-range observation epochs before display 2026-09-13 09:14:06 -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 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 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 1f76f81484 fix: preserve Scene shot labels for double-click rename 2026-09-13 03:56:23 -07:00
Sameh Khamis 9b6d34cb8a refactor: keep Scene prompts with their controls 2026-09-13 03:35:22 -07:00
Sameh Khamis d42036d74f style: format Scene controls and browser acceptance 2026-09-13 03:30:05 -07:00
Sameh Khamis cd72feb4fe refactor: separate Scene controls from playback and project operations 2026-09-13 03:29:46 -07:00
Sameh Khamis 393c31d86e fix: prevent stopped Cockpit briefings from restarting 2026-09-13 03:08:42 -07:00
Sameh Khamis 152d3e2352 fix: stop Cockpit work before asynchronous UI teardown 2026-09-13 02:46:57 -07:00
Sameh Khamis 947fc79182 test: exercise Cockpit identity publication through its actual owner 2026-09-13 02:46:57 -07:00
Sameh Khamis 7e2c38d8a4 test: retain Cockpit invariants across formatted components 2026-09-13 02:37:44 -07:00
Sameh Khamis e04aefe863 style: format Cockpit components and pure policies 2026-09-13 02:37:44 -07:00
Sameh Khamis 8075c70e6e refactor: separate Cockpit controller and presentation components 2026-09-13 02:33:38 -07:00
Sameh Khamis b1e67a6a50 test: retain Context invariants across formatted module boundaries 2026-09-13 01:43:18 -07:00