Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

Merge current main into shared sliders

Mazeyar Moeini Feizabadibf0e1d7c7937
diff --cc docs/CURRENT-STATE.md
index 0b9b3de0d,224c9a02a..b3930264c
--- a/docs/CURRENT-STATE.md
+++ b/docs/CURRENT-STATE.md
@@@ -1187,15 -1224,23 +1224,32 @@@ The application supplies actions and re
rendering. Native keyboard editing, model modes and current defaults are preserved.
Destroying the UI removes these listeners before asynchronous teardown.
+Ordinary sliders share the native range component in `ui/slider.js` and the
+`gev-quantitative-slider` surface in `ui/styles/slider.css`. Display, shader
+parameters, volume, replay speed, weather settings/history, imagery opacity and
+Street View's date filter use the same rail, thumb, value styling, keyboard focus and disabled state.
+Generated controls use `createSlider`; static templates apply the same class.
+Feature owners retain bounds, steps, formatted values, input/change timing and
+listener cleanup. The radio tuning dial, imagery comparison divider and event
+comparison/progression controls keep their specialized presentation and behavior.
+
+ ## Segmented selectors
+
+ Segmented selectors use the controlled DOM adapter in `ui/segmentedControl.js`
+ and the shared `gev-segmented` / `gev-segment` surface. Model coverage, label
+ allocation, drawing shape, Street View fit/panorama filters and imagery mode keep
+ their feature-owned values, actions and persistence. Painting a restored value
+ does not emit a change or move focus. Existing keyboard policies remain explicit:
+ Street View uses arrows/Home/End with one tab stop, imagery mode uses arrows from
+ its controlled selection, and Display keeps its existing native button behavior.
+ Pure value navigation is separate from DOM rendering for reuse by a future view.
+ Segments keep their word minimum width: compact inline groups such as FIT/FILL
+ and ALL/360°/FLAT must not break short labels mid-word. Collapsed Weather follows
+ the same exclusive-rail hiding rule as the other readouts.
+ The imagery mode row reserves 26px for the 24px buttons and group borders so
+ the complete button and inset keyboard-focus outline remain visible.
+ Browser acceptance: `QA_BASE_URL=http://127.0.0.1:4173 node scripts/qa-segmented-controls.mjs`.
+
## Application shortcuts and shader parameter controls
`ui/input` supplies the bubbling application shortcut listener and generated
diff --cc src/ui/recentImagery.js
index 3c305a3da,0706ad17d..2531ecb9a
--- a/src/ui/recentImagery.js
+++ b/src/ui/recentImagery.js
@@@ -12,7 -12,7 +12,8 @@@ import { formatNumber, msg, t, tn, tran
import { createRailCardBlocks } from './railCardBlocks.js';
import { createRailCards } from './railCards.js';
import { createImagerySplit } from './imagerySplit.js';
+import { createSlider } from './slider.js';
+ import { createSegmentedControl } from './segmentedControl.js';
import {
PRODUCTS,
hhmm,