Commit Graph
5306 Commits
Author SHA1 Message Date
Sameh KhamisandManjunath Paparaju 8359a23e9d Vue kit: the chat panel's and voice control's buttons and glyphs are kit controls
Every hand-written button in the AI chat panel (Settings, the quick
prompts, an attachment's remove, Attach layer, Attach a file, Expand
conversation, the command suggestions, Expand chat, Add attachment and
Send / Stop reply) and in the voice control (Open AI chat, Back to chat,
Back to voice, the Preview and Settings tabs and the error tray's
DISMISS) is a ghost UiButton keeping its id, classes, aria and data
attributes, title and listeners. The Settings and tab Material glyphs are
UiIcons with :size="null", so voice-cost.css and voice-card.css still
size them. The tabs keep role="tab" and aria-selected; DISMISS is a text
button, so it stays a UiButton rather than a UiCloseButton. The inline
SVG glyphs, the message box, the file picker and the minutes field stay
as they are.

src/ui/kit/chatVoiceControls.test.mjs pins it: no hand-written button or
Material span in the chat, voice, voice card, panel layout and visualizer
templates, kit counts per file, the pressed toggles through :pressed, the
icons' :size="null", the native fields left, and no button built in script
by the voice modules. docs/VUE-MIGRATION.md describes the surface.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 12:19:06 -08:00
Sameh Khamis bcc25be07a Merge pull request #1859 from bilawalsidhu/samehkhamis/changelog-pr-numbers
Fill in the pull request numbers of two changelog entries
2026-11-19 12:17:52 -08:00
Sameh Khamis 648c5136a3 Fill in the pull request numbers of two changelog entries 2026-11-19 12:04:19 -08:00
Sameh Khamis 4770ae2535 Merge pull request #1858 from bilawalsidhu/samehkhamis/kit-sweep-cockpit
Vue kit: the Cockpit's buttons and glyphs are kit controls
2026-11-19 12:02:24 -08:00
Sameh KhamisandManjunath Paparaju 350135b8ad Add the changelog entry for #1858
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 11:20:24 -08:00
Said Turksever f5f5f04b5d Merge branch 'main' into codex/fix-cctv-session-admission 2026-11-19 19:19:38 +00:00
Said Turksever 64c04feb3b Merge branch 'main' into codex/cctv-shared-batch-20261019 2026-11-19 19:19:36 +00:00
Said Turksever 0fd9a7ed57 docs(changelog): zoom freeze under icons (#1857) 2026-11-19 19:19:03 +00:00
Said Turksever 8b122dc259 fix(render): wheel zoom no longer stalls with an icon under the canvas centre
Below 150 km Cesium sizes a zoom step from the depth it picks at the canvas
centre. Since #1835 an icon drawn over depth wrote a depth just past the near
plane, which that pick took for a surface a near plane's distance from the
camera: zooming in returned early and zooming out moved by centimetres.

Over-depth rows now write a depth of exactly 0 in the fragment shader. It is
never discarded (the flicker #1835 fixed stays fixed) and the depth pick
reads it as nothing drawn, keeping the ground under the icon.

Adds scripts/qa-zoom-under-icon.mjs (real browser) and a source-level unit
test.
2026-11-19 19:18:31 +00:00
Sameh Khamis ecb01eff2d Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-cockpit
# Conflicts:
#	scripts/format-scope.json
2026-11-19 11:14:22 -08:00
Sameh Khamis 00901b8c9c Merge pull request #1856 from bilawalsidhu/samehkhamis/kit-sweep-small-surfaces
Vue kit: the small surfaces' buttons and glyphs are kit controls
2026-11-19 11:08:38 -08:00
Said Turksever 0b84226e4a Merge branch 'main' into codex/cctv-shared-batch-20261019 2026-11-19 19:01:52 +00:00
Sameh KhamisandManjunath Paparaju 765869bcb2 Add the changelog entry for #1856
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 10:52:21 -08:00
Sameh KhamisandManjunath Paparaju b875b5f469 Vue kit: the Cockpit's buttons and glyphs are kit controls
Every hand-written button in the Cockpit HUD (CockpitView, the utility
strip, the briefing and Contact cards, the signal rows, the orbital view
and the bridge radar) is a ghost UiButton that keeps its id, classes,
data and aria attributes, title and listeners, so the Cockpit controller
and the cockpit stylesheets still find it. Radio's Enable, the briefing's
Auto and the Contact card's Weather are pressed toggles written as
:pressed="Boolean(...)". Every Material Symbols span (the rim pointers,
reticle, heading caret, vision and card chevrons, panel glyphs, the
contact and route arrows, the rail and view switcher glyphs) is a UiIcon
with :size="null", so the cockpit rules still size it.

The orbital view's focus hand-off reads each UiButton ref's $el. The
heading caret's rule now reads `.cockpit-compass .cockpit-heading-caret`
so it still outranks kit.css's `.ui-icon` display and line height, which
load after cockpit.css. The Cockpit markup test reads the Reset and Exit
buttons' attributes in any order.

src/ui/kit/cockpitControls.test.mjs pins it: no hand-written button,
Material span, select, checkbox or range in the Cockpit views, the kit
counts per file, the pressed toggles and the caret rule.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 10:46:39 -08:00
Sameh Khamis a739584b64 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-small-surfaces
# Conflicts:
#	scripts/format-scope.json
2026-11-19 10:44:16 -08:00
Sameh KhamisandManjunath Paparaju 40cbe52782 Vue kit: the small surfaces' buttons and glyphs are kit controls
Every hand-written <button> in the locale picker, phone tab bar, globe
actions (Clear, Share, Reset) and compass, imagery divider handle, scene
sharing dialog, layer group index, title logo, Exit clean view, the HUD's
cockpit entry, News card face, rail card header, layer row toggle, credits
line's Data attribution and the camera calibration chips is a ghost
UiButton keeping its id, classes, data-*, aria-* and listeners. Their
Material Symbols spans (tab icons, globe actions, compass needle, cockpit
entry, celestial ring sun and moon) are UiIcons with :size="null".

The Omnibar guide's extra rings, one per further target of a step, are now
drawn by OmnibarGuide.vue from view.subRings instead of being built in
script; startGuide() still reads them from the rendered tree and sets
their boxes each frame.

A UiButton's slot renders inside the button, so under an owner that
patches synchronously (News cards, rail cards, the credits line, the
Omnibar guide's Skip, Offer and Next) a change the button's attributes do
not carry would land a tick late. Those slots are given under a named
condition that is always true (v-if="redrawWithView"), which Vue redraws
with the view.

src/ui/kit/smallSurfacesControls.test.mjs pins it; docs/VUE-MIGRATION.md
describes the surface and the conditional slot.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 10:44:16 -08:00
Sameh Khamis 2796c2547b Merge pull request #1855 from bilawalsidhu/samehkhamis/kit-sweep-command-dock
Vue kit: the command dock's and Context's buttons and glyphs are kit controls
2026-11-19 10:43:30 -08:00
Sameh KhamisandManjunath Paparaju 4b57d22244 Add the changelog entry for #1855
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 10:28:03 -08:00
Sameh KhamisandManjunath Paparaju f9ca76df98 Vue kit: the command dock's and Context's buttons and glyphs are kit controls
The command dock's six style buttons, its two tray toggles, Location's
collapse and the search toggle are ghost UiButtons. The style buttons are
pressed toggles with `active` as their pressed class (Normal is pressed
until a style is published), so they now carry aria-pressed.

The Context panel's two tabs, Contacts, the cockpit entry and SEARCH
NEARBY SITES are ghost UiButtons; the tabs and Contacts stay role="tab"
controls with aria-selected and their own active class. The view context
it shows while nothing is picked (an off layer's worldwide tile, an
item's row, the place and layer chips and Ask GEV) is on the kit too; the
worldwide tile is a div or a UiButton rather than a dynamic component.
Every Material glyph in the three templates is a UiIcon with
:size="null", so the site rules still size them; an item's motion glyph
keeps role="img" and its name, with the kit's aria-hidden taken off.

src/ui/kit/commandDockControls.test.mjs pins it; the markup tests that
matched the old button source or class text read the kit's markup, and
docs/VUE-MIGRATION.md describes the surface.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 10:08:57 -08:00
Said Turksever 1e3f8053e1 Merge remote-tracking branch 'origin/main' into pr1266 2026-11-19 18:06:58 +00:00
Said Turksever 75f1a3c181 Frame the port-drawn gizmo in the CCTV QA drag fixture and share the catalog-pair reader
The drag-fixture framing looked the gizmo up in viewer.entities, which main no
longer populates, so it did nothing and five drag checks stayed inconclusive.
It now reads the arrow from the layer's drawn state and records the framed
shaft length as a check.

Tarktee and Lithuania read their two catalogs through one helper,
readCatalogsTogether, so both get the shared deadline, sibling abort and the
release of a response that arrives after the other feed failed.

An Ontario error response has its body released, and tests pin the refused
redirect and system-code log labels.
2026-11-19 18:06:58 +00:00
Said Turksever 4be74a40e4 Merge remote-tracking branch 'origin/main' into codex/fix-cctv-session-admission 2026-11-19 17:45:15 +00:00
Said Turksever 4e1f004a83 fix(cctv): keep a camera's health when an HLS viewer is refused for capacity
A full lease or session budget fell into the general catch and marked the
camera degraded, although its upstream was fine and other viewers were
watching it. Capacity refusals now throw HlsCapacityError and still answer
503 with Retry-After, without touching health.

Tests: fill all 16 lease slots from one shared address and pin the refusal
of a ninth viewer and a third session, keep a second lease alive so the
released-lease 404 is the lease check, and share recordingResponse between
the two middleware test files.
2026-11-19 17:45:15 +00:00
Sameh Khamis e705fdea82 Merge pull request #1854 from bilawalsidhu/samehkhamis/kit-doc-claims
Vue kit: the docs' every-control claims hold, and a scan of every view pins them
2026-11-19 09:41:04 -08:00
Denis Groshev dad59fabbf Orbital label clicks, the Sun's "Underneath", zh-Hant 天後側
- The Cockpit's orbital view counts a site's own label as its own, not
  another layer's card, so clicking it focuses the site again; the test
  now sets the overlay hit test the way the world overlay does.
- The ISS Sun position under the station is "Underneath", with its own
  translations; "Below" stays the ground under a satellite.
- OpenCC turns 问天后侧 into 問天后側 ("empress"); a correction makes it 後.
- The changelog says a label takes the click from a vehicle drawn under it.
2026-11-19 17:07:49 +01:00
Denis Groshev 0620d01140 Merge main into denis/iss-live-telemetry
Conflicts: the locale catalogs, package boundaries and format scope are
three-way merges (entries main removed, such as displayPanelScroll.js,
stay removed); applicationShell.js and ContextView.vue keep main's Space
Missions panel and the STATION and LIVE wiring, moved back into
_initGlobalContextPanel; installations take main's feedback module, and
their label box joins main's card-on-top click rule; ports.test.mjs lists
modelParts and modelNodes; CURRENT-STATE.md keeps both edits.

zh-Hant is regenerated from zh-CN, as main now requires. "Below" keeps
main's translations.
2026-11-19 17:07:48 +01:00
Sameh KhamisandManjunath Paparaju 8547bcda08 Add the changelog entry for #1854
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 08:06:32 -08:00
German Khokhlov 95aa7ae29e Merge main (5dbd73b4e) into the annotation height-culling branch (#1277)
Main moved the screen annotation renderer onto the renderer ports, so the
height culling now goes through them too: the frustum test uses
frustumPlanes/sphereOutside from src/geo/frustum.js on the camera pose,
the horizon tests use the query port's isOccluded, and the file imports no
Cesium. The sampling tests run on main's scene doubles with their
assertions unchanged; the outside-frustum step turns the test camera
instead of stubbing the culling volume.
2026-11-19 19:59:33 +04:00
German Khokhlov 0699876e4e fix(cctv): keep main's HLS leases and test them through the middleware
Drop the per-peer lease budget and the lease-to-address binding. Main's
keyless same-site gate already refuses cross-site media requests, while
the budget capped a shared address (Docker gateway, reverse proxy, NAT)
at 8 leases across both sessions and still let one address hold both.
A lease now keeps working when its viewer reconnects from a new address.

Add a middleware test that drives the HLS playlist, segment and DELETE
for viewers on one shared address, on distinct addresses and after an
address change, and fold the media cases (segment read, DELETE, no
catalog request) into the cross-site table test. Remove the redundant
puppeteer flag, the CURRENT-STATE paragraph and the changelog fragment,
which no longer describe a change.
2026-11-19 19:59:01 +04:00
Sameh KhamisandManjunath Paparaju 1e70e15ceb Vue kit: the docs' every-control claims hold, and a scan of every view pins them
docs/VUE-MIGRATION.md says every select is a UiSelect, every close button
a UiCloseButton and (nearly) every pressed toggle a UiButton. Make those
true in code, correct the sentences that were not, and pin them.

Selects: Story Explore's sort, the chat's layer picker and a layer row's
range ends are UiSelects. The range ends take `hold`, since the layer
panel repaints the row on a later frame.

Close buttons: the space mission replay's Cancel is a bare UiCloseButton.
An imported file's row actions (show or hide, fly to, remove) are icon
UiButtons drawing the icon the file import names, so Remove stays one of
them; the presenter's `pressed` is now a boolean.

Pressed toggles: the tilt-map button, the scene action buttons, the chat
and voice panels' dock (and its minimize), the Context header's search
and expand, Recent Imagery's day chips, SWAP and ZOOM IN, the rail row
lists and the rail cards' action chips are UiButtons with `pressed` (and
`pressed-class="active"` where their active class came from the same
state). Their Material glyphs, and the rail chips' icons, are UiIcons
with `:size="null"`. Bhote Koshi's cinematic button keeps the attributes
its layer writes, and Explore's story cards stay role="button" elements.

Docs: the kit list gains UiPanelToggle and UiPanelEdge; the pressed-toggle,
chips, Stories search fields, role="dialog", close button, range and
source-reading-tests sentences now say what the code does.

Tests: src/ui/kit/viewControls.test.mjs walks every .vue outside the kit
and fails on a raw select, a hand-written aria-pressed on a button,
UiButton or role="button" element (outside the two documented
exceptions), or a hand-written close glyph button. closeButtons.test.mjs
also catches a × inside a span.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 07:56:34 -08:00
German Khokhlov 01368b95bf Merge remote-tracking branch 'origin/main' into fix/cctv-streetview-fallback-catalog
# Conflicts:
#	SECURITY.md
2026-11-19 19:12:56 +04:00
German Khokhlov 40daecadbe fix(annotations): keep an arrow whose unsampled far end is past the 0 m horizon (#1277)
An endpoint outside the frustum is not sampled and projects at its 0 m
stand-in height. The horizon test then judged that stand-in, so an arrow
whose far end lies beyond the sea-level horizon but above it at its real
height disappeared with its label. Such an endpoint now skips the point
horizon test; the height-range test still drops endpoints that are
provably hidden, and settled or in-frustum anchors keep the point test.

Adds a regression with a real frustum and occluder (camera 100 m up, far
end 56 km away on 100 m terrain). CURRENT-STATE and the changelog now say
the 32-sample budget applies per projection pass, and the redundant helper
comment in the test is gone.
2026-11-19 19:09:56 +04:00
German Khokhlov 11e1c9d26d CCTV Street View fallback: the browser's pose at the catalog position
The fallback keeps the catalog position but takes heading, field of view
and pitch from the request again, as before, clamped as before. A catalog
camera with no pose (every world-cameras row on main) otherwise asked
Google for heading 0, pitch 0, FOV 80 while the browser draws it at the
id-hash heading, pitch -17 and FOV 74, and a calibrated camera lost its
calibration. Cost and the per-IP budget are unchanged.

- The Street View budget is built per proxy, so tests no longer depend on
  GEV_RATELIMIT_GOOGLE_PER_MIN in the shell; the fixture pins it.
- New tests: a pose-less catalog camera, and the per-IP budget (no call
  without a key, the cap, a separate budget per address).
- The client no longer sends lat/lon on /frame.
- CURRENT-STATE, the changelog fragment and SECURITY.md say the fallback
  has its own per-client limit, and that unlisted (seed) cameras get the
  placeholder.
2026-11-19 19:06:53 +04:00
German Khokhlov bdd92663d6 Cancel the Tarktee sibling on a body failure and settle review notes
Each Tarktee DATEX feed now reads its body as soon as its headers arrive, so a
failed or oversized body aborts the other request at once instead of waiting
for its headers up to the shared 30 s deadline. Status and redirect errors
name the feed again.

Ontario failures log the error class and system code, never the key-bearing
URL or upstream text. DATA_SOURCES.md and the camera licence field use the
Open Government Licence – Ontario statement the credit shows, and a test pins
that credit.

The focus-release rendering test now uses main's icon renderer and its
isVideoFeedCamera contract. The Tarktee cancellation tests disable the 30 s
deadline and time out after 2 s, so a regression fails fast instead of passing
late or hanging; a duplicated older test and an unused import are gone.

This PR's notes move into changelog.d/1266-cctv-shared-fix-batch.md: the 1133
fragment described main's tracking probe and terrain check, not this branch.
2026-11-19 18:59:04 +04:00
German Khokhlov 0c828095ad Merge remote-tracking branch 'origin/main' into fix/cockpit-utility-phone-row
# Conflicts:
#	src/ui/styles/cyber.css
2026-11-19 18:57:10 +04:00
German Khokhlov 4b8a407ba2 fix(cockpit): keep the phone Display/Radio row clear of the DEST cue
Above the compass block the centred row covered the DEST route-direction
label and chevron at 320-390 px, and its fixed +182px offset pushed it off
the top of short landscape screens. Place it between the roll scale and the
reticle from a viewport-aware visor inset instead, keep it on screen below
the vision controls on short landscape phones, and centre Cyber's expanded
panel on the Reset/Exit axis.

The unit test now asserts the pointer-events contract and Cyber centring;
the browser QA adds the DEST cue to the clearance check, hit-tests each
launcher glyph and covers 740x360 and 667x240.
2026-11-19 18:54:59 +04:00
German Khokhlov 2e2f9ba095 fix(dams): store Acaray as a polygon so the layer shows it
Acaray was stored as a LineString, which the Dams layer skips: it got no
marker, label, card or analyst record. Store the closed way as a polygon
(counter-clockwise ring from the same nine nodes) and add a layer test for
both Paraguay dams.

Also tidy the dataset README (drop the landing-order notes and the analyst
record count, note why the Yacyretá marker sits over the reservoir), keep one
credited changelog bullet, credit the OpenStreetMap API next to Open
Infrastructure Map, and drop "other" from the Three Gorges mission.
2026-11-19 18:30:22 +04:00
German Khokhlov 19542baf61 Merge remote-tracking branch 'origin/main' into fix/places-no-store-on-errors 2026-11-19 18:29:27 +04:00
German Khokhlov 31b6b25d8b fix(places): make no-store the default and refuse an unreadable Places 200
Every Google route now sets no-store right after the same-site gate and
switches to private, max-age=300 only on a confirmed answer, so the
proxy's own 400, 405, 429 and 502 replies are no longer left without a
header. Both Places routes answer an unreadable 200 body with 502 instead
of caching an empty result, as the geocode routes already did. The test
pins the allowlist with OVER_DAILY_LIMIT and UNKNOWN_ERROR and covers the
unreadable and empty Places bodies; the changelog fragment is shorter.
2026-11-19 18:29:24 +04:00
German Khokhlov 68958bf34b Merge branch 'main' into feat/blender-camera-interchange-submit 2026-11-19 18:28:04 +04:00
German Khokhlov 235938e19b fix(blender-camera): accept southern origins and bound the scene read
- Join a space-separated negative latitude to --origin before parseArgs,
  so `--origin -33.86,151.21,0` works as the usage and docs show.
- Read the input through one descriptor, regular files only, at most one
  byte past the 5 MiB scene limit.
- Use geodetic ENU axes at the origin (ellipsoid normal at its lat/lon,
  raised to its height) instead of Cesium's frame at the raised point.
- Reuse the shots already resolved, serialize the sampled shot table
  directly, and drop the typeof-only export test.
- Docs: timing matches Director seeking, with the playback differences;
  add a manual OpenUSD/Blender check; shorten the overview and test list.
2026-11-19 18:24:55 +04:00
German Khokhlov 4eacbe67c7 Merge remote-tracking branch 'origin/main' into feat/alpr-model-specs 2026-11-19 18:24:38 +04:00
German Khokhlov 77fe8299d7 fix(alpr): tighten model spec matching and card text
- Name the G3 record "AutoVu SharpV G3" and the SharpX record "XGA", so a
  bare SharpV or SharpX tag shows no specs without a separate wrapper.
- Reuse the CCTV layer's Bosch MIC-7522-Z30 record instead of a copy.
- Drop the brand from the SPEC line when the equipment line already names
  it, so long lines fit the card; pass the summary to entity properties.
- Fall back to the OSM `brand` tag when `manufacturer` is missing.
- Reject non-string or overlong model/manufacturer values before matching.
- Remove the unused `brandAliases` parameter; shorten JSDoc and comments.
- Cover the tile `model` path and the megapixel summary in tests; fold
  duplicate tests into existing ones.
- Docs and changelog: the default hourly extract has no `model`; any
  source that supplies it shows the SPEC line.
2026-11-19 18:24:10 +04:00
German Khokhlov 90e464eb5a Merge main into codex/fix-cctv-session-admission
Resolve the conflicts by keeping main's keyless CCTV gate, which already
refuses cross-site requests on every /api/cctv route and keeps the routes
reachable behind a reverse proxy, instead of the strict gate on /media/.
Keep the per-request client id the lease calls use, and both sides of the
CURRENT-STATE paragraphs and the media tests.
2026-11-19 17:58:14 +04:00
German Khokhlov d7db1090fd Merge main and resolve the CCTV batch conflicts
Main released #1228 and #1233 and deleted their changelog fragments, so they
stay deleted here. Main also rewrote the tracking arrival probe in
scripts/track-regression.mjs, which supersedes this branch's version; main's
file is kept unchanged.
2026-11-19 17:56:23 +04:00
German Khokhlov f6982dc934 fix(cctv): a count click yields to what is on top and keeps its group in frame
- A count click stands aside when an overlay label or another layer's card
  already took the click, and CCTV now claims a count click in the shared
  pick registry, so the flights layer no longer reads it as an empty-map
  click and keeps tracking its aircraft.
- The flight to a group halves the distance only while the group stays in
  frame; otherwise it flies to the nearest ground cell of the group, so a
  tilted click no longer ends with no camera on screen.
- Counts hidden under the HUD no longer push the active icon aside, and a
  lone camera that would move a merged count under the HUD leaves the
  original count and its icon as they were.
- Cameras on one mount are spread before counts merge, so a spread icon no
  longer slides under a neighbouring count.
- The ground module comment says how a camera without a batch height takes
  the drawn terrain.
2026-11-19 17:52:50 +04:00
Sameh Khamis 5dbd73b4e9 Merge pull request #1852 from bilawalsidhu/samehkhamis/kit-sweep-stories
Vue kit: the Stories views' buttons are UiButtons and Explore's filters UiCheckboxes
2026-11-19 05:24:33 -08:00
Sameh KhamisandManjunath Paparaju f821c31a36 Add the changelog entry for #1852
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 05:04:48 -08:00
Sameh Khamis e9f69d90a2 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-stories
# Conflicts:
#	docs/VUE-MIGRATION.md
2026-11-19 05:04:48 -08:00
Sameh Khamis 42559db10b Merge pull request #1851 from bilawalsidhu/samehkhamis/kit-sweep-layer-finder
Vue kit: the layer finder's buttons and glyphs are kit controls
2026-11-19 05:04:24 -08:00