Commit Graph
4994 Commits
Author SHA1 Message Date
Sameh KhamisandManjunath Paparaju 35fb3684ba Vue kit: Draw's and Import's buttons and glyphs are kit controls
UTILITIES ▸ Draw and Import no longer hand-write a button or a Material
Symbols span. Clear and Import are ghost UiButtons (Draw already was), and
the Draw and Import glyphs are UiIcons that keep pp-icon, with
:size="null" so controls.css still sizes them. Draw's five colour swatches
(in the toolbar and in a drawn shape's row) are ghost UiButtons that keep
role="radio", aria-checked and their own active class; they are not
pressed toggles. A drawn shape's row (its swatch, show/hide, the
application's row actions and fly to) is on the kit too, beside the remove
UiCloseButton it already had; its glyphs are UiIcons with :size="null".
Show/hide keeps naming itself Show … / Hide … rather than becoming a
pressed toggle.

Template refs that now hold a component reach the button through $el:
the swatches' arrow-key focus and Import's focus fallback when the last
imported file goes.

The Street Level panel's controls were already kit controls (its ⤢ ⤡ and
⚠ are text characters), so its template is unchanged; the new guard test
pins it with Draw and Import.

src/ui/kit/drawControls.test.mjs pins it: no hand-written button, select,
checkbox, range or Material span in DrawControls, DrawSwatches,
DrawMarkList, GeoImport or StreetLevelPanel; the kit counts per file;
Draw a pressed toggle with active; the swatches radios rather than
pressed; :size="null" on every glyph; and the $el refs.
docs/VUE-MIGRATION.md describes the surface.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 12:24:55 -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
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
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
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
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
Sameh Khamis 7faf14c6a1 Merge branch 'main' into samehkhamis/kit-sweep-layer-finder 2026-11-19 04:49:01 -08:00
German Khokhlov 12d208bae1 Merge pull request #1598 from bilawalsidhu/fix/shortcuts-modifier-keys
fix(ui): F collapses the Data Layers panel like its button and keeps focus
2026-11-19 16:47:54 +04:00
German Khokhlov 379afa03db Merge branch 'main' into fix/shortcuts-modifier-keys 2026-11-19 16:34:45 +04:00
Sameh KhamisandManjunath Paparaju e2ff789a29 Add the changelog entry for #1851
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 04:32:21 -08:00
Sameh Khamis 7ba6d86485 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-layer-finder
# Conflicts:
#	docs/VUE-MIGRATION.md
#	scripts/format-scope.json
2026-11-19 04:32:21 -08:00
Sameh Khamis 0293e74846 Merge pull request #1850 from bilawalsidhu/samehkhamis/kit-sweep-entity-card
Vue kit: the entity card's buttons and glyphs are kit controls
2026-11-19 04:32:05 -08:00
German Khokhlov 39f8068f31 Merge branch 'main' into fix/shortcuts-modifier-keys 2026-11-19 16:22:00 +04:00
Sameh KhamisandManjunath Paparaju b31da304d3 Add the changelog entry for #1850
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 04:13:10 -08:00
Sameh Khamis 66446a7cae Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-entity-card
# Conflicts:
#	docs/VUE-MIGRATION.md
#	scripts/format-scope.json
2026-11-19 04:13:10 -08:00
Sameh Khamis 6cecc973a1 Merge pull request #1849 from bilawalsidhu/samehkhamis/kit-sweep-display
Vue kit: the Visual panel's buttons and glyphs are kit controls
2026-11-19 04:12:51 -08:00
German Khokhlov b3724c7bac Merge branch 'main' into fix/shortcuts-modifier-keys 2026-11-19 16:11:04 +04:00
Sameh KhamisandManjunath Paparaju 2c7a1b8014 Vue kit: the Stories views' buttons are UiButtons and Explore's filters UiCheckboxes
Every button in the Stories entry, its popup and toast, Explore and the
Story screen (header, rail, timeline and context panel) is a ghost
UiButton that keeps its id, classes and listeners. Explore's topic chips
and map pins, the Context button and Expand map are pressed toggles in
place of hand-written aria-pressed. The Filter, Minimise, Expand card and
Back buttons are reached through the UiButton's root where code focuses
them or checks what a click landed on. Explore's filter options are
UiCheckboxes that keep their fopt label. The views' glyphs stay inline
SVG, since no Material symbol the page loads draws them the same; the
search fields keep their own markup and their SVG clear buttons are ghost
UiButtons. A guard test pins it, and the migration notes say so.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 03:54:40 -08:00
Sameh KhamisandManjunath Paparaju b383259752 Add the changelog entry for #1849
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 03:54:11 -08:00
Sameh Khamis e9261d4586 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-display
# Conflicts:
#	docs/VUE-MIGRATION.md
#	scripts/format-scope.json
2026-11-19 03:54:07 -08:00
Sameh Khamis 3703165373 Merge pull request #1848 from bilawalsidhu/samehkhamis/kit-sweep-welcome
Vue kit: the welcome card's buttons and glyphs are kit controls
2026-11-19 03:51:41 -08:00
Sameh KhamisandManjunath Paparaju fd32997d88 Add the changelog entry for #1848
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 03:32:10 -08:00
Sameh Khamis af6520b9ee Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-welcome
# Conflicts:
#	docs/VUE-MIGRATION.md
#	scripts/format-scope.json
2026-11-19 03:32:10 -08:00
Sameh Khamis d7d11b068b Merge pull request #1847 from bilawalsidhu/samehkhamis/kit-sweep-omnibar
Vue kit: the Omnibar's mic, strip chips and glyphs are kit controls
2026-11-19 03:31:46 -08:00
Sameh KhamisandManjunath Paparaju ca504fa8f6 Vue kit: the Layer Finder's buttons are UiButtons and its glyphs UiIcons
Search, Filter, the filter menu's Status and Category options and the
bar's two clear chips are ghost UiButtons. Search and the options are
pressed toggles in place of hand-written aria-pressed; the options take
active as their pressed class, while Search keeps its own active binding,
which also stays on while a query is typed. Escape in the menu still gives
focus back to the Filter button, now through the UiButton's root. Every
Material glyph in it is a UiIcon sized by layer-finder.css. A guard test
pins it, and the migration notes say so.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 03:21:08 -08:00
Sameh KhamisandManjunath Paparaju 93e775a038 Add the changelog entry for #1847
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 03:14:29 -08:00
Sameh Khamis 1ef0aaa5cd Merge remote-tracking branch 'origin/main' into samehkhamis/kit-sweep-omnibar 2026-11-19 03:14:23 -08:00
Sameh Khamis ba89f273dc Merge pull request #1846 from bilawalsidhu/samehkhamis/sfc-omnibar-guide
Vue: the Omnibar's guided walk is a single-file component
2026-11-19 03:14:15 -08:00
Sameh KhamisandManjunath Paparaju bd944ecd04 Vue kit: the entity card's buttons are UiButtons and its glyphs UiIcons
The four preview buttons (Photos, Route, 3D, Cockpit view) are pressed
toggles with the active class, and Follow is one with its own on class,
in place of hand-written aria-pressed. The cockpit entry, Fly to, Ask GEV,
the camera preview's bigger-view and More info buttons and the nearby
lists' rows are ghost UiButtons. Every Material glyph on the card, in the
camera preview and in the nearby lists is a UiIcon sized by the card's own
rules. Ask GEV's chat bubble stays inline SVG, since no Material symbol the
page loads draws it. A guard test pins it, and the migration notes say so.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 03:05:09 -08:00
German Khokhlov c7df3c6798 Hand focus to a rail entry when a panel folds it away
- When F or a panel's collapse button folds a panel that holds the focus,
  the focus moves to that panel's visible rail entry. The same happens when
  opening Data Layers folds a peer panel that held it, and in Cockpit the
  focus moves to Contact's expand button when that card folds.
- The `shownBy: 'active'` rail gate is gone: nothing removes `.active` from
  Data Layers any more, so a rail entry now follows `panel.hidden`.
- CURRENT-STATE says what F does, and the panel catalog comment no longer
  says F toggles `.active`.
2026-11-19 15:00:17 +04:00
Sameh KhamisandManjunath Paparaju 1393a025b4 Vue kit: the Visual panel's buttons are UiButtons and its glyphs UiIcons
HUD, Clean UI, Bloom, Sharpen and Reset to default are ghost UiButtons;
HUD, Bloom and Sharpen are pressed toggles with the active class, as
Sonar, 3D and Celestial already were. The Scope, Celestial, sky,
application-row and Reset glyphs are UiIcons sized by the panel's own
rules. The toggles' text glyphs stay plain spans, since they are
characters rather than Material symbols. A guard test pins it, and the
initial-markup test allows the kit classes beside the toggle's own. The
migration notes no longer claim every pressed toggle is a UiButton.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:58:41 -08:00
Sameh KhamisandManjunath Paparaju b5ce363df0 Add the changelog entry for #1846
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:54:56 -08:00
Sameh Khamis c99c87d1f2 Merge remote-tracking branch 'origin/main' into samehkhamis/sfc-omnibar-guide
# Conflicts:
#	docs/VUE-MIGRATION.md
2026-11-19 02:54:56 -08:00
Sameh Khamis 05976ecd06 Merge pull request #1845 from bilawalsidhu/samehkhamis/sfc-quebec-cctv
Vue: the Quebec CCTV overlay is a single-file component
2026-11-19 02:54:13 -08:00
Sameh KhamisandManjunath Paparaju 5301a0af8d Vue kit: the welcome card's buttons are UiButtons and its glyphs UiIcons
SKIP, the three start tiles, BROWSE STORIES, BACK and the main NEXT /
ENTER GOD MODE action are ghost UiButtons; the start tiles are pressed
toggles, and the others keep aria-disabled so they stay focusable while
the card is busy. The tile, tip, Stories and arrow glyphs are UiIcons
sized by first-run.css. God mode's preview globe and callouts stay inline
SVG drawings. A guard test pins it, the dismiss markup pin allows the kit
classes, and the first-run mutation anchors follow the new tile markup.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:45:21 -08:00
Sameh KhamisandManjunath Paparaju 828af74587 Add the changelog entry for #1845
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:34:23 -08:00
Sameh Khamis 1985a22180 Merge remote-tracking branch 'origin/main' into samehkhamis/sfc-quebec-cctv
# Conflicts:
#	docs/VUE-MIGRATION.md
2026-11-19 02:34:23 -08:00
Sameh Khamis 2004cad9d0 Merge pull request #1844 from bilawalsidhu/samehkhamis/sfc-credits
Vue: the credits line and its Data attribution list are a single-file component
2026-11-19 02:33:50 -08:00
Sameh KhamisandManjunath Paparaju 7dd27d4ff7 The Omnibar guard test pins its glyphs' own sizing
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:33:39 -08:00
Sameh KhamisandManjunath Paparaju be9d772b4d Vue kit: the Omnibar's mic and strip chips are UiButtons and its glyphs UiIcons
The mic is a ghost UiButton pressed with the active class, and the
suggestion strip's chips are ghost UiButtons that keep their option role
and aria-current. The search, row and chip glyphs are UiIcons sized by
the Omnibar's own rules. The mic and chat row glyphs stay inline SVG,
since no loaded Material symbol draws them. A guard test pins it.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:29:52 -08:00
Sameh KhamisandManjunath Paparaju 4a6f185d07 The guided walk finds its elements in the rendered tree
Template refs are filled after a render returns, and later still when the
walk starts inside one of Vue's own post-render updates, where the walk
would have failed with its listeners already in place.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:16:38 -08:00
Sameh KhamisandManjunath Paparaju b5fcc39bc0 Add the changelog entry for #1844
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:14:22 -08:00
Sameh Khamis d6439ce3f0 Merge remote-tracking branch 'origin/main' into samehkhamis/sfc-credits
# Conflicts:
#	docs/VUE-MIGRATION.md
2026-11-19 02:14:22 -08:00
Sameh Khamis c851825119 Merge pull request #1843 from bilawalsidhu/samehkhamis/kit-dialog
Vue kit: UiDialog for the Data Library and scene sharing dialogs
2026-11-19 02:13:56 -08:00
Sameh KhamisandManjunath Paparaju 10a26e15ce Vue: the Omnibar's guided walk is a single-file component
OmnibarGuide renders the walk's spotlight ring and callout, teleported to the
end of the body as before, with the kit's UiCloseButton for its close and
UiButtons for Not now, the offer and Next. startGuide() keeps its signature
and every decision and word: it renders the view synchronously from what it
computes for each step and keeps the parts the template never binds: the
guide's visible class and the callout's entrance replay (in the same order,
so the first step still fades in), the callout's place and side and the
rings' boxes each frame, focus and its return, Escape and the checks for a
screen another surface owns.

The ids, roles, aria attributes, hidden attributes, tabindex, text and focus
order are unchanged. The buttons gain the kit's classes, which carry no
rules, so they look as before. The close drops the aria-hidden span around
its glyph: its name is still its aria-label, "End guide", and its tip the
same words. Progress segments are new elements each step, as before, so a
segment's colour does not animate across steps, and the status line changes
once per step.

New tests: the walk is the last of the body, takes focus and gives it back,
announces each step once and draws new progress each step, and a new walk
ends the one in progress.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:10:49 -08:00