Commit Graph
4619 Commits
Author SHA1 Message Date
Sameh Khamis 1f9d88ca1a Merge remote-tracking branch 'origin/main' into models/three-km-true-size 2026-11-17 16:06:36 -08:00
Sameh Khamis dbe632b51f Merge pull request #1790 from bilawalsidhu/fix/vessels-toggle-without-feed
Vessels turn on and off again when their feed fails
2026-11-17 15:58:12 -08:00
Sameh Khamis ca0aec4d66 Add the changelog entry for the vessel toggle fix 2026-11-17 15:46:06 -08:00
Sameh Khamis 14aa85e638 fix(vessels): the layer turns on even when its feed fails
Turning vessels on returned what the first live poll answered, so a
failing feed (such as a missing AIS key) made enable() resolve false and
the layer reported it could not be turned on. loadLivePositions again
resolves with nothing once the poll is done; going back to live reads the
poll's answer through its own path.
2026-11-17 15:45:49 -08:00
Sameh Khamis acca6a1dcf Merge pull request #1789 from bilawalsidhu/models/multi-part-v4
Multi-part fleet models: rotors, propellers, gear and doors as named parts
2026-11-17 15:37:16 -08:00
Sameh Khamis b9cbc42f20 Merge remote-tracking branch 'origin/main' into models/three-km-true-size
# Conflicts:
#	docs/CURRENT-STATE.md
2026-11-17 15:29:39 -08:00
Sameh Khamis 3c3893d18a Merge remote-tracking branch 'origin/main' into models/multi-part-v4 2026-11-17 15:27:35 -08:00
Sameh Khamis 798d0631e0 Merge pull request #1788 from bilawalsidhu/sprites/kinds-history-live
Sprites for helicopters, ground vehicles, stations and vessel types; history to live without an empty map; model parts in Cesium
2026-11-17 15:26:06 -08:00
Sameh Khamis 08ababc4fc Add the changelog entry for the multi-part fleet models 2026-11-17 15:17:42 -08:00
Sameh Khamis 0b751c2118 Multi-part fleet models: named parts (rotors, propellers, gear, doors) on every aircraft, helicopter, vessel, vehicle and transit model; rocket type rules 2026-11-17 15:17:34 -08:00
Sameh Khamis a1bcce0f63 Merge remote-tracking branch 'origin/main' into sprites/kinds-history-live 2026-11-17 15:12:06 -08:00
Sameh Khamis 49eb5b53c8 Credit the changelog entry to the author's handle 2026-11-17 15:10:12 -08:00
Sameh Khamis c0b31e7edc Add the changelog entry for sprites by kind and the history-to-live handover 2026-11-17 15:10:06 -08:00
Sameh Khamis 7186f720df Sprites for helicopters, ground vehicles, stations and vessel types; history to live without an empty map; model parts in Cesium
Aircraft icons are one size; helicopters turn a three-frame rotor while
airborne or moving; ADS-B ground vehicles share one amber sprite and
stations/obstacles one mast; vessels get hull sprites by type and one buoy.
Going live keeps contacts until the first live answer and replaces them by
id; fast playback holds before the loaded positions end and prefetches
ahead. Cesium models move their parts from the optional model part state.
2026-11-17 15:09:54 -08:00
German Khokhlov c08bd1103d Merge pull request #1699 from bilawalsidhu/german/zh-hant-generated
i18n: generate zh-Hant from zh-CN
2026-11-18 01:14:16 +04:00
German Khokhlov f6aeb91063 Merge remote-tracking branch 'origin/main' into german/zh-hant-generated 2026-11-18 00:44:56 +04:00
German Khokhlov 7dcdca19d0 Merge pull request #1700 from bilawalsidhu/german/i18n-plurals-context
i18n: plural forms and contexts the catalogs could only work around
2026-11-18 00:32:47 +04:00
Sameh Khamis 28baddb923 Name the changelog entry for its pull request number 2026-11-17 11:56:59 -08:00
Sameh Khamis 463946abfa Bring the tracking harness's cameras within 3 km of the planes it models
The tracked-model checks zoom the follow camera to within 2 km of the plane,
and the grounded-model check parks the camera 2 km above the planes instead
of 8 km, since models now draw only within 3 km.
2026-11-17 11:52:34 -08:00
Sameh Khamis 1048a71d73 Add the changelog entry for 3D models within 3 km 2026-11-17 11:27:34 -08:00
Sameh Khamis b041fea7a6 Deselecting a plane drawn as a model no longer flashes its icon
A selected plane is drawn by its own model, and its fleet model was let go once
that model drew. Deselecting showed the icon at once, and the icon stayed for
about a second while a new fleet model loaded.

The fleet model now stays loaded but hidden while the plane is selected, kept
where the plane is. Deselecting hands the plane back to it in the same frame,
and the icon shows only when there is no loaded fleet model. Military aircraft
share this code. Vessels never swap models on selection, so they had no flash.
2026-11-17 11:27:21 -08:00
Sameh Khamis 36624cd329 3D models only within 3 km of the camera, at true size
An aircraft, vessel, transit or rail vehicle now draws as its 3D model only
when it is within 3 km of the camera, and as its icon farther away. A model
already drawn is kept out to 3.6 km, so a vehicle on the edge does not flicker.
Proximity and All use the same distance and still differ by how many models
they allow (150 and 350). Models are drawn at their true size: the minimum
pixel size that inflated distant models is gone.

The camera altitude above which no model is considered is now the highest
aircraft the layers draw (30 km) plus the 3.6 km, so a camera high above the
ground still models an aircraft close to it. Cockpit's aircraft silhouettes
keep their own 150/185 km and 400/450 km bands, since they are icons.
2026-11-17 11:21:08 -08:00
German Khokhlov dde8b52f42 i18n: regenerate zh-Hant after merging main
Main added zh-Hant entries by hand, in Taiwan wording (搜尋, 資料, 即時,
儲存, 「」). `npm run i18n -- --zh-hant` rewrites the 91 that are not
zh-CN converted; the 3818 keys and their order stay.
2026-11-17 19:45:17 +04:00
German Khokhlov 0f5869fadd Merge remote-tracking branch 'origin/main' into german/zh-hant-generated 2026-11-17 19:44:56 +04:00
German Khokhlov b63205f69c i18n: tighten the zh-Hant check and test its command line
- Without opencc-js the zh-Hant check says to run npm ci, and the other
  checks still run.
- --prune handles zh-CN before zh-Hant: shippedLocales() sorts, since
  git lists untracked catalogs first.
- A key missing from zh-Hant is reported once, with "run npm run i18n --
  --zh-hant" when zh-CN has it; a zh-Hant entry still in English points
  to zh-CN and same-as-english.json.
- 並道 -> 併道 applies only to entries whose English key says merge, so
  并 (and) before 道路 or 道謝 stays 並.
- Two more corrections for strings main has added: 箇中 -> 個中 after a
  count (全部 {n} 個中), and 宣佈 -> 宣布 like 發佈 and 公佈.
- zh-hant-cli.test.mjs runs the command in a throwaway repository, with
  opencc-js linked as a junction, so Windows needs no symlink privilege.

zh-Hant.json does not change.
2026-11-17 19:44:49 +04:00
German Khokhlov 64b9cef14b Merge main into german/i18n-plurals-context 2026-11-17 19:29:53 +04:00
Sameh Khamis 624c229bc2 Merge pull request #1778 from bilawalsidhu/fix/clock-sources-on-destroy
Launches and satellites leave the world clock when destroyed
2026-11-16 21:30:58 -08:00
Sameh Khamis 9db71ad443 Add the changelog entry for the world clock fix 2026-11-16 21:19:09 -08:00
Sameh Khamis ee306a46fc Launches and satellites leave the world clock when destroyed
Both layers registered their time coverage with the page's world clock when
created and never unregistered it, so an application destroyed and started
again kept each old layer, and its scene and tiles, reachable through the clock.
They now unregister on destroy and register again on init, as earthquakes do.
2026-11-16 21:18:58 -08:00
Sameh Khamis 9239d3efff Merge pull request #1775 from bilawalsidhu/basemap/contract
Base map through the globe port
2026-11-16 17:21:42 -08:00
Sameh Khamis 30705b5785 Add the changelog entry for the base map through the globe port 2026-11-16 17:06:35 -08:00
Sameh Khamis 8ff9a1fa29 Base map through the globe port
Cesium switches the map stacks through its globe port, as any renderer
does, rather than through a map engine of its own. Every route keeps its
behaviour:

- Google 3D turned off is kept hidden, and shown again without loading it
  anew; the key route's tiles take clamped marks, as the token routes' do.
- Esri goes to its deepest level (23); its "Map data not yet available"
  picture is a missing tile, so the parent's imagery stays.
- Cesium ion's world imagery is Bing over HTTPS on any page, with ion's
  credits; a token ion refuses refuses the switch, as before.
- Keyless terrain that does not answer is the flat ellipsoid, tried again
  behind it; world terrain asks ion first, as before.
- window.__godsEyeView.tileset is the Cesium photoreal tileset.
2026-11-16 17:06:35 -08:00
Sameh Khamis 65480f2604 Merge pull request #1776 from bilawalsidhu/stories/open-stories-option
Voice: an app can supply what open_stories does
2026-11-16 16:54:12 -08:00
Sameh Khamis 23adcf1112 Voice: tools accept voice: null again when reading openStories 2026-11-16 16:38:44 -08:00
Sameh Khamis b1b2ac91c0 Voice: an app can supply what open_stories does
createApplicationTools took the Stories page as the open_stories action
even when the app's voice options gave its own. voice.openStories now
takes precedence, spoken or typed, with the Stories page as the default.
2026-11-16 16:33:46 -08:00
Sameh Khamis fa6d954702 Merge pull request #1774 from bilawalsidhu/manjunath/card-previews
Preview a flight's photo, route, model and cockpit view in its Context card
2026-11-16 16:26:20 -08:00
Sameh KhamisandManjunath Paparaju efffe3005c Fix the card previews' review findings
- A route globe that cannot draw tells the card, which shows another view.
- A card opened before the model set has loaded waits for that load.
- The model turns at the same rate on any display, and holds still under
  reduced motion.
- A hidden cockpit view stops drawing.
- The route plane keeps the craft's latest position through the fly-in.
- Metric altitude graphs keep main's 0.5% change threshold.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:57:40 -08:00
Sameh KhamisandManjunath Paparaju 7b53427a28 Add the changelog entry for the card previews
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:45:13 -08:00
Sameh KhamisandManjunath Paparaju e6fb6be4d9 Translate the card previews
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:44:35 -08:00
Sameh KhamisandManjunath Paparaju 3a0842c103 Draw the card previews through the renderer, and show vessel photos too
- The route globe, turning model and cockpit view are the renderer's: the
  Cesium plugin hands them over as its `cardPreviews` application hook
  (src/render/cesium/cardPreviews.js), and the card's tiles keep only the
  words, figures and HUD laid over them. Nothing in the UI reaches Cesium,
  and a renderer without the hook leaves the card its photo and figures.
- The turning model is the fleet model the globe draws for the aircraft's
  type, from the set loaded at startup, so opening a card fetches nothing.
  The flights layer's record now carries the type code and emitter category
  that pick it.
- The photo comes from the item's own layer: the flights layer's
  Planespotters photo for the plane it tracks, and the vessels layer's Open
  Vessel Photos photo for the vessel selected, with its credit. It no longer
  waits for Contacts to follow the same aircraft.
- The satellite models are left out: the card shows a satellite's ground
  view and graphs its altitude and speed.
- The route globe's airport codes are drawn into its own small scene, the
  compass reads its course in the active language, the callouts no longer
  speak to screen readers every six seconds, and figures use the app's
  number format. Esri's tile address and credit live in one place.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:44:35 -08:00
Manjunath PaparajuandSameh Khamis c6bdd38b61 Show a flight's photo, route, model and cockpit view in its Context card
The card's hero tile now previews what was picked. A flight shows its
photo when Contacts has one, its route on a small globe from origin to
destination with the plane on it, its 3D model turning with callouts of
what can be worked out about the flight (phase, flight level, Mach, squawk,
signal age), and the view ahead from its cockpit with speed and altitude
tapes. The model and the cockpit view take turns, the route hands over to
the cockpit view after twenty seconds, and a switch picks one and holds it.
Under reduced motion nothing swaps by itself.

A satellite shows the ground beneath it and graphs its altitude and speed.
Each preview draws in a small scene of its own and frees its graphics
context as it closes, so flicking through cards never pushes out the
globe's.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-16 15:44:35 -08:00
Sameh Khamis 8c1fd235c0 Merge pull request #1773 from bilawalsidhu/manjunath/context-panel
Context panel: one card for what is picked, the view when nothing is
2026-11-16 15:38:56 -08:00
Sameh KhamisandManjunath Paparaju 2209810cdd Carry Context's package and same-as-English entries onto the latest main
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 15:02:31 -08:00
Sameh KhamisandManjunath Paparaju 57f9c03eaa Keep Context's follow, clicks, Radio, Cockpit entry and credits right
- Following comes only from the camera's own follow, never claimed ahead
  of it; vessels, which the camera does not follow, are flown to.
- A drag or a long press never selects, and only a clean click on open map
  closes the card; a card painted on the overlay is not open map.
- Closing the card lets go through its own layer only, as the person's
  action, leaving other layers' selections alone.
- Radio's panel, with its local SDR tuner, shows whether or not the Radio
  layer is on; Contacts' Cockpit entry hides only while the card offers its
  own.
- Expanded Context keeps the credits beside it right to left and with the
  minimal HUD.
- Context counts as closed until its panel says it is open; closed, the
  card's refresh and the view reading pause, and opening reads the view.
- The five-minute re-read fetches again past the caches, keeps what is
  shown meanwhile, and an empty brief is not kept.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 547687fecf Add the changelog entry for the Context panel
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 13e1f19f85 Keep the renderer's credits line clear of expanded Context too
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 46851db515 Read Context's camera and clicks through the renderer's ports
Context no longer reaches into Cesium or the viewer: the view it describes
comes from the camera port (pose, view rectangle, moveEnd and changed), a
fly-to goes through flyToBounds, and clicks come from the input dispatcher,
which picks each click once for every layer and skips it while a tool holds
the pointer. The card says Following while the camera follows its own item,
as the follow's key names it (src/data/followed.js), whoever started the
follow.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 7552763ea1 Describe the Context panel in the current state
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Sameh KhamisandManjunath Paparaju 4a2c989859 Make Context do its work only while open and keep its actions honest
- Closed, the panel mounts neither the card nor the view summary, so it
  reads no layer records and fetches nothing.
- The weather and news brief goes through the app's regional service
  (endpoint overrides, lifetime signal), and a failed read is not kept.
- A spot that stays put reads its brief and hazards again every five
  minutes; turning FIRMS on or off updates the hazards at once.
- Enter Cockpit is offered only for layers the tracking action can follow
  (not local ADS-B), and a failed attempt leaves the card as it is; a
  satellite ride gives up when the card changes or Context goes away.
- Closing the card lets go of the camera when it follows the card's item.
- Map picks leave Context alone while Cockpit runs.
- Expanded Context sits on the left edge in right-to-left languages, lets
  go on the phone layout or in Cockpit, and a remount starts collapsed
  without leftover tab classes.
- The Inspector and Properties tabs have tab ids, panels and arrow keys.
- Town lookups run again after zooming back in, the camera preview shows
  facts only for its own camera, route places wait for the same route, and
  acres and heights use the app's number format.
- The omnibar gets no runner from a voice session already disposed.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-16 14:59:18 -08:00
Manjunath PaparajuandSameh Khamis b6ab4f5bd1 Show the Labels and 3D aircraft settings in Context's Properties tab
While a layer they act on is on, the Visual panel's detection overlay and
3D aircraft controls move into their tab in Context, beside what they
affect; Cockpit still takes them first, and they go back to Visual when the
layer goes off.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-16 14:59:18 -08:00