Commit Graph
2425 Commits
Author SHA1 Message Date
German Khokhlov 1a57469fd1 Merge branch 'main' into german/recent-imagery-auto-successor 2026-11-20 17:10:30 +04:00
German Khokhlov 4262829e27 Merge branch 'main' into german/recent-imagery-auto-successor 2026-11-20 17:03:24 +04:00
German Khokhlov 5b1c1ede29 Merge branch 'main' into feat/blender-camera-interchange-submit 2026-11-20 16:53:45 +04:00
Denis Groshev 050e0a3a7a Merge main into denis/iss-live-telemetry 2026-11-20 13:12:36 +01:00
Denis Groshev dac8738b80 Installations: a label takes a click only where nothing else is drawn
An interactive overlay entry is a card that takes every click from what is
drawn under it, so a base's label kept an aircraft or vessel under it from
being selected. The labels are no longer interactive entries. The layer
claims a click on a label box through the pick registry's click claim, as
CCTV counts do, only where nothing another layer draws is under it; over
the map or the layer's own dots and fills the label takes it, and another
layer's card painted over the label keeps its click. The label box is read
from the box the overlay painted for it (overlayHost.paintRect).
2026-11-20 13:12:21 +01:00
Denis Groshev 7b7eb2318a LIVE: a YouTube API that does not load offers Try again
A blocked or slow (over 5 s) IFrame API load reads as offline, reason
`api`, so both LIVE views show "Stream is offline" with Try again, which
loads the API afresh: the loader keeps no failed load. Embedding refused
by the video's owner (errors 101 and 150) stays unavailable. Tests cover
the loader's reuse and its retry after an error or a timeout.
2026-11-20 13:12:14 +01:00
German Khokhlov a5d6963d41 Merge branch 'main' into codex/cctv-shared-batch-20261019 2026-11-20 14:20:48 +04:00
German Khokhlov 812cff85df Merge branch 'main' into codex/cctv-shared-batch-20261019 2026-11-20 14:07:54 +04:00
German Khokhlov c2a4ad44cc Merge branch 'main' into fix/places-no-store-on-errors 2026-11-20 14:06:05 +04:00
German Khokhlov 4e03e82987 Merge main 2026-11-20 13:51:17 +04:00
Denis Groshev edbf3a234d Merge main into denis/iss-live-telemetry
Conflicts: the locale catalogs and package boundaries are three-way merges
(no message changed differently on both sides); zh-Hant is regenerated
from zh-CN. bhoteKoshiEmbeddedMedia.js keeps main's card counter and the
branch's shared YouTube loader (youtubeApi.js), so the media file builds
one script element fewer. The Cockpit briefing's LIVE tab and the orbital
NADIR/RESET button are main's UiButton.
2026-11-20 10:50:16 +01:00
German Khokhlov b2f746cdb2 Merge remote-tracking branch 'origin/main' into fix/places-no-store-on-errors 2026-11-20 13:48:55 +04:00
German Khokhlov e9c6071cb8 Merge remote-tracking branch 'origin/main' into german/cctv-nearest-same-camera 2026-11-20 13:48:51 +04:00
German Khokhlov a08cf7a2cd Merge main 2026-11-20 13:35:15 +04:00
German Khokhlov a12cf91070 Merge remote-tracking branch 'origin/main' into fix/cctv-streetview-fallback-catalog 2026-11-20 13:30:58 +04:00
German Khokhlov f10ea2e6b4 Merge main and keep both sets of CCTV rendering tests 2026-11-20 13:24:48 +04:00
German Khokhlov 2017ce27ee Merge remote-tracking branch 'origin/main' into fix/places-no-store-on-errors 2026-11-20 13:17:50 +04:00
German Khokhlov ab33ac5332 Merge remote-tracking branch 'origin/main' into german/cctv-nearest-same-camera
# Conflicts:
#	src/layers/cctv/selection.test.mjs
2026-11-20 13:17:49 +04:00
German Khokhlov 081c0b561d Merge remote-tracking branch 'origin/main' into fix/cctv-streetview-fallback-catalog 2026-11-20 13:17:05 +04:00
German Khokhlov 1b78f86b17 Merge remote-tracking branch 'origin/main' into fix/cockpit-utility-phone-row 2026-11-20 13:14:11 +04:00
German Khokhlov 09588b98bf Commit the shown CCTV camera with FOCUS, not a hidden picker option
The picker no longer keeps a hidden, disabled copy of the opening camera.
That copy could be re-picked with ArrowDown on a closed list, could show
twice in the iOS picker, and left Firefox without an accessible value.
The list now selects the camera's own option, as before. A native list
sends no change for the option it already shows, so FOCUS (or NEAREST,
when that camera is the nearest) keeps the shown camera. Closing the list
without a choice keeps automatic selection.
2026-11-20 12:55:52 +04:00
German Khokhlov 06dccdb00f Recent Imagery: hand a deferred slot over when the pick gives way to an empty card
While a user pick kept first claim on the slot of an empty automatic
day, a click or an arrow key onto a card already confirmed empty dropped
that pick but left the hand-over waiting for the next probe result. Until
then the map stayed blank and the Esri lease stayed held, where main
showed the next ranked day.

focus() and preview() now hand the slot over at once when no pick is
left. An arrow key onto an empty card no longer follows that day, as a
click already did, so focus stays on the card the user chose.
2026-11-20 12:35:22 +04:00
German Khokhlov 11175cc867 Merge branch 'main' into fix/places-no-store-on-errors 2026-11-20 12:26:59 +04:00
German Khokhlov 17cec5a8bb Merge branch 'main' into feat/paraguay-acaray-yacyreta 2026-11-20 12:19:38 +04:00
German Khokhlov 8eac8bd545 Recent Imagery: defer the hand-over to a waiting pick instead of skipping it
The previous change skipped the hand-over for good while a user pick was
pending. When that pick then probed empty, failed with a terminal error,
or lost its source, nothing previewed and the slot stayed blank, where
main would have draped the next ranked day. During the arrow-key
debounce the empty slot also handed the Esri lease back and took it
again 250 ms later.

The hand-over is now deferred: the pick keeps first claim on the slot
while its probe can still settle, and the next ranked day takes over as
soon as the pick turns out empty, errors or loses its source. Turning a
source off also drops a followed pick of that source. The layer keeps
the current basemap while a deferred pick waits, and Escape releases it.
Six tests cover both answer orders, the source toggle, a terminal error,
the debounce and the lease.
2026-11-20 11:57:55 +04:00
German Khokhlov 49785e423d fix(cockpit): scope the centred phone row and keep Stories unread in Cockpit
The centred Display/Radio row now applies only inside the phone shell
(720 px and below) on flight and bridge views; satellite and provider
cockpits, narrow short windows (under 390x450) and very short windows
(under 240 px) keep main's right-anchored place, so the row no longer
lands on the desktop rail, orbital zoom, LOOK AHEAD, Reset or the Stories
button. The row sizes to its launchers instead of spanning the width.

The first-visit Stories announcement stays hidden and unread while
Cockpit is open: a Stories tap that Cockpit refuses no longer marks it
seen, so it shows again after Exit.

The unit tests and the Cockpit QA cover the phone boundary, glyph and
side taps, the destination cue, short and narrow windows and the
announcement's return.
2026-11-20 11:39:45 +04:00
German Khokhlov 01d4a3f454 CCTV Street View budget: key the client before the camera wait, share the default
- The /frame handler reads the client's network key (IPv6 /64) before it
  awaits the camera, so a client that drops the connection is still
  charged to its own window instead of the shared fallback key.
- The budget is charged only after the Google key and finite catalog
  coordinates are confirmed, and the key is read once.
- Places and the CCTV window share one default (GOOGLE_DEFAULT_PER_MIN).
- Tests: the catalog-only test checks heading/fov/pitch from the query at
  the catalog location; the budget test covers unknown ids, forwarded
  requests and /64 grouping; a real-socket test covers a dropped
  connection. The duplicate pose test is removed.
- .env.example, SECURITY.md, CURRENT-STATE and the changelog fragment
  describe the separate per-IP window, the catalog position and the
  placeholder for seed cameras.
2026-11-20 11:31:14 +04:00
German Khokhlov 881473cdd2 Merge remote-tracking branch 'origin/main' into german/recent-imagery-auto-successor 2026-11-20 11:15:13 +04:00
Sameh Khamis 893bc5b5f3 The search dock sits above the World Timeline on desktop
The bar takes the dock's floor and the dock, with the search field, rises by
the bar's height while it shows, as the dock does outside the search layout.
The bar no longer hides while search results or the chat and voice panels
open, since they open upward from the dock and no longer cover it.
2026-11-19 20:15:49 -08:00
Sameh Khamis 17bfc203c5 Merge branch 'main' into samehkhamis/find-it 2026-11-19 16:56:33 -08:00
Sameh Khamis eb7d92db66 Merge remote-tracking branch 'origin/main' into samehkhamis/street-level-photo-followups 2026-11-19 16:32:27 -08:00
Sameh Khamis 250a78c0f9 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:54:31 -08:00
Sameh KhamisandManjunath Paparaju 33ac0545ef Street Level photo viewer: settle opens, a gapless picker, a stated contract
Follow-ups to the photo viewer's move to a Vue view (#1868):

- A panorama's open waits for a draw of the canvas counted from before it
  is shown, so a view that draws at once inside its listener no longer
  leaves the open pending; and when the last view unsubscribes, an open
  waiting on a draw goes on instead of hanging.
- photoViewers.js supersedes the mounts not drawn on a microtask, after
  the winning presentation has reached every subscriber: a second
  subscriber sees the earlier mount, then the later one, never null
  between.
- A presentation without a mountKey counts as the latest mount (among
  several without, the one that began presenting last), and one without
  actions or supersede is passed over without throwing. Both fields are
  documented on ViewerAdapter.subscribeView in registry.js and in the
  store's comment.
- The guard test also refuses .width, .height, .ariaLabel, .id and .value
  writes in photoViewer.js, and .src writes outside loadImage, where only
  the off-page Image it creates may take one.
- The test fakes draw every viewer through one shared view behind
  photoViewers.js's picker, as the application does, so provider and
  layer tests see supersede.

Nothing changes in the running app.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 15:48:50 -08:00
Sameh Khamis 22e9c58d84 Find a selected vessel or aircraft again from its card
While a selected vessel, aircraft or military aircraft is off screen, behind
the globe or out of its layer's feed, its Context card shows Find it. One
still in its feed is flown to (an aircraft followed). One out of its feed is
looked up on its own track at the layer's time (the world clock's while the
layer follows it), the card moves to that reading and says how old it is, and
the camera flies there; once the feed has it again its layer selects it again.
With no reading at or before the time the card says so and the camera stays.

A vessel its layer announces is named by its own id, as a click names it,
not by the context store's.
2026-11-19 15:40:31 -08:00
Sameh Khamis 5258f1b2a4 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:39:50 -08:00
German Khokhlov 7db4bb35f7 fix(blender-camera): match Director timing and harden the export CLI
Sample frames with Director's normalized shots and runtime timing, count
frames with a tolerance bounded by float rounding, coerce legacy numeric
text, open the input without blocking, strip a BOM, remove a partial
output on failure, and escape control characters in errors.
2026-11-20 03:38:04 +04:00
German Khokhlov 5d45c2c20b Merge remote-tracking branch 'origin/main' into fix/places-no-store-on-errors 2026-11-20 03:36:50 +04:00
German Khokhlov 67bead9eb9 test(places): pin no-store on every refusal path and reuse the catch
Tests now check Cache-Control on the proxy's own 400, 405, 429 and
transport 502, a geocode 503 with ZERO_RESULTS on both geocode routes,
and an upstream 429 with an HTML body on both Places routes; the geocode
status cases move to the geocode suite and cover reverse-geocode too.
An unreadable Places 200 now throws into the existing catch instead of
repeating its 502 reply. Comments and the CURRENT-STATE rule are shorter
and match the code.
2026-11-20 03:36:48 +04:00
German Khokhlov fa4b4adeae test(dams): run the Acaray and Yacyretá layer check on main's test doubles
The separate layer test built a fake viewer with the old Cesium interface,
which fails on current main. Move it into src/data/infrastructure.test.mjs on
the fake ground renderer and input port, with one table and one parse of
dams.geojsonl for both checks. Compare source_url exactly and check
retrieved_at, and cover the dams attribution and both new records in the
find_infrastructure tests.

Also trim the dataset README section (keep both dams as polygons), drop the
outdated "does not refresh or relicense" sentence, keep provenance out of the
License cell, rename the changelog fragment after the change, and restore the
accent in the test name.
2026-11-20 03:36:30 +04:00
Sameh Khamis 19369349b0 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-final-scan 2026-11-19 15:31:56 -08:00
Sameh KhamisandManjunath Paparaju 559a7cec71 Vue kit: the view scan reads SFC scripts, string markup and bound types
Following review, the scan now also:
- reads every SFC's script blocks, not only modules;
- matches a createElement call Prettier wraps over lines, and any case of
  the tag name;
- fails on a button, select, input or textarea written as markup in a
  string, comments aside, apart from the globe panel's standalone page
  (plain HTML a host serves, with no Vue or kit), which the test names and
  requires to still be the reason;
- catches a Material class built in a template string;
- reads an input's type when bound to a quoted literal or named in a
  v-bind object, in any case, and unquoted before `/>`;
- catches a Material class named in a v-bind object.
Each new path was confirmed to fail when its violation is put back.

docs/VUE-MIGRATION.md now names the globe panel page as the exception,
lists the two text areas among the native fields left, and notes that the
scene dialog's field takes text-like types from its callers only.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 15:31:47 -08:00
German Khokhlov aa5ab7d387 Merge branch 'main' into feat/alpr-model-specs 2026-11-20 03:17:38 +04:00
Sameh Khamis 54b6ba827e Merge branch 'main' into samehkhamis/start-layers 2026-11-19 15:12:01 -08:00
Sameh KhamisandManjunath Paparaju 591650d786 Vue kit: the view scan forbids any hand-written button, glyph, checkbox or range
viewControls.test.mjs now reads every SFC outside the kit for a raw
<button>, a tag whose class (static or bound) names a Material Symbols
style, a native checkbox, and a native range other than the radio tuner's
and the world timeline's. It also reads every module under src outside the
kit, tests and test support for a button, select, input or textarea built
with createElement, or a Material Symbols class written in script. Every
check passes on main as it stands; each was confirmed to fail when its
violation is put back (a button, a glyph span, a checkbox, a range, a
script-built button and a script-written glyph class).

docs/VUE-MIGRATION.md says that no view hand-writes a control the kit has,
names the native fields left and points at the scan.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 14:59:16 -08:00
Sameh Khamis cc73059f2b Merge branch 'main' into samehkhamis/kit-sweep-photo-globe 2026-11-19 14:45:25 -08:00
Sameh Khamis be1a0ae837 Merge branch 'main' into samehkhamis/start-layers 2026-11-19 14:32:26 -08:00
German Khokhlov 374efbedc1 Merge branch 'main' into german/cctv-camera-counts 2026-11-20 02:29:12 +04:00
Sameh Khamis 848d528316 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-photo-globe
# Conflicts:
#	docs/VUE-MIGRATION.md
#	scripts/format-scope.json
2026-11-19 14:25:42 -08:00
Sameh Khamis ca98ed1919 feat(app): a host names the layers a bare address starts with
createApplicationControls takes startLayers, the layer ids that turn on when
the address carries no link (none by default). They restore through the
passive start-up path, so they are never written as the user's own choice, and
a link's own layers always win.
2026-11-19 14:19:45 -08:00
Sameh Khamis 36ef856ca2 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-bhote-koshi
# Conflicts:
#	scripts/format-scope.json
2026-11-19 14:07:36 -08:00