Commit Graph
4967 Commits
Author SHA1 Message Date
German Khokhlov b3724c7bac Merge branch 'main' into fix/shortcuts-modifier-keys 2026-11-19 16:11:04 +04: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 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
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 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
Sameh KhamisandManjunath Paparaju 121d11d3ff Vue: the Quebec CCTV overlay is a single-file component
QuebecCctvOverlay renders the Québec 511 player window and its map preview,
teleported to the end of the body as before, with the kit's UiCloseButton
and UiButtons. createQuebecCctvOverlay() keeps its API and every decision:
it renders the view synchronously from the state it computes on each change,
and keeps the parts the template never binds (each video's source, playback
and refresh timer, the window's drag, and the marker's per-frame visibility
and place). The markup is unchanged apart from the kit's button classes.

The overlay test renders in the registered document, which Vue binds when
it loads, and adds Escape closing the window until the camera is picked
again.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 02:02:26 -08:00
Sameh KhamisandManjunath Paparaju 0b06bc6645 Vue: the credits line and its Data attribution list are a single-file component
mountCreditsView() keeps its signature and stays the owner: it computes the
credits shown once each, keeps the list's open state and its focus, takes the
expand and close clicks and Escape, and renders CreditsView synchronously
(as the weather readout is rendered), so focus moves as soon as a change
returns. The view teleports the line and the list to the end of the body, as
the script appended them, so the page's rules that select them as children
of the body still apply; CreditItem draws one credit (its logo or its text,
only its linked words linked, links and logos kept only for a safe scheme).

The ids, classes, roles, aria attributes and text are unchanged. The list's
close button is a UiCloseButton with bare, keeping the browser's padding, so
it only gains the kit's classes, which carry no rules. The expand button
stays a plain button: its words are its content, which a UiButton slot would
not word again when the owner renders a new locale. The list's items are
keyed by credit, so a link that keeps its place keeps focus through a
redraw; one that goes still hands focus to the close button.

New tests: the line and list follow the locale, and they are the last of the
body with the kit's close button.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 01:58:47 -08:00
Sameh KhamisandManjunath Paparaju 7c858d96ee Add the changelog entry for #1843
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 01:54:17 -08:00
Sameh Khamis 7c925f610d Merge remote-tracking branch 'origin/main' into samehkhamis/kit-dialog 2026-11-19 01:54:17 -08:00
Sameh Khamis c17eda4118 Merge pull request #1842 from bilawalsidhu/samehkhamis/kit-checkbox
Vue kit: UiCheckbox for the Visual, voice, Data Library and welcome checkboxes
2026-11-19 01:48:03 -08:00
Sameh KhamisandManjunath Paparaju d55f696514 Add the changelog entry for #1842
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 01:32:05 -08:00
Sameh Khamis 29e38b6198 Merge remote-tracking branch 'origin/main' into samehkhamis/kit-checkbox 2026-11-19 01:31:58 -08:00
Sameh Khamis fc9d59f258 Merge pull request #1841 from bilawalsidhu/samehkhamis/kit-search-field
Vue kit: UiSearchField for the Context and Layer Finder searches
2026-11-19 01:31:48 -08:00
Sameh KhamisandManjunath Paparaju 1f34210f71 Vue kit: a late close event no longer shuts a reopened dialog; a scene sharing dialog the browser closes closes through its owner; the opened timing test can fail
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 01:21:10 -08:00
Sameh KhamisandManjunath Paparaju ec4a5b6afe Vue kit: UiDialog for the Data Library and scene sharing dialogs
UiDialog is a native <dialog> its owner opens and closes with open: true
opens it with showModal() (on mount, for one mounted open), false closes
it, and unmounting closes it. Each change is applied once the content has
rendered and then emitted as opened or closed, so the Data Library still
focuses its search field on open and returns focus to Browse on close.
Escape's cancel is prevented and emitted as dismiss; backdropDismiss makes
a click on the dialog itself a dismiss too, as the Data Library's was. When
the browser closes the dialog on its own while open is still true,
browserClose tells the owner, as the Data Library's close listener did;
closing on unmount reports nothing. A DOM without showModal() leaves it
closed. Attributes, classes, styles and listeners go to the dialog, and
element is exposed.

The two dialogs share no declarations, so there are no kit rules.
dialogs.test.mjs fails if a view writes a <dialog> by hand; the panels drawn
as role="dialog" are other controls.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 01:16:46 -08:00
Sameh Khamis 31ed97043a Merge remote-tracking branch 'origin/main' into samehkhamis/kit-search-field
# Conflicts:
#	docs/VUE-MIGRATION.md
2026-11-19 01:10:34 -08:00
Sameh KhamisandManjunath Paparaju 2d7b7be890 Vue kit: UiCheckbox for the Visual, voice, Data Library and welcome checkboxes
UiCheckbox is a label wrapping a native checkbox and its words; trailing
puts the box after them, as the Visual panel's rows have it. v-model shows
the value and emits the checked state, and change is emitted with its event;
without a modelValue the box is the browser's own, as the welcome card's
"Don't show this again" is. restore puts the box back to modelValue once a
change has rendered without the owner taking it, which is what the voice
panel's v-checked directive did for a refused preference. Attributes go to
the label; inputId and inputAttrs to the box.

checkbox.css holds the centred flex row, moved out of the two labels that
hold only a checkbox (first-run.css, library.css) and loaded before them.
Each box keeps its skin's size, margin and accent colour. checkboxes.test.mjs
fails if a view writes a checkbox by hand; Story Explore's filters are not
converted yet.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 01:05:12 -08:00
Sameh Khamis fb49418851 Merge pull request #1840 from bilawalsidhu/samehkhamis/kit-close-button
Vue kit: UiCloseButton for every close button in the views
2026-11-19 00:57:23 -08:00
Sameh KhamisandManjunath Paparaju b3e6c265e8 Add the changelog entry for #1841
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 00:48:57 -08:00
Sameh Khamis f09e9ce6eb Merge branch 'main' into samehkhamis/kit-close-button 2026-11-19 00:43:52 -08:00
Sameh KhamisandManjunath Paparaju 52dd576769 Vue kit: UiSearchField for the Context and Layer Finder searches
UiSearchField is the search glyph, a search input with v-model and, with
clearLabel, a UiCloseButton shown while text is typed that clears and
refocuses. tag is div or label; attributes go to the frame, and inputId,
inputClass, autocomplete and spellcheck to the input. Escape stops at the
input and is emitted with its event; focus() focuses the input.

search-field.css holds the declarations both skins had in common (the
frame's flex row, the input's min-width, border and background), moved out
of context-dock.css and layer-finder.css and loaded before them. The
browser's cancel button stays each skin's own.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 00:42:51 -08:00
Sameh Khamis 3235e404da Merge pull request #1839 from bilawalsidhu/samehkhamis/kit-styles
Vue kit: the kit's classes carry Core's standard looks
2026-11-19 00:29:03 -08:00
Sameh KhamisandManjunath Paparaju 2418e43545 Vue kit: bare is for skins that set their own padding; pin the CCTV and Inspector close load order; changelog for #1840
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 00:26:29 -08:00
Sameh KhamisandManjunath Paparaju 1711b4b456 Vue kit: UiCloseButton for every close button in the views
UiCloseButton is a UiButton with a fixed glyph (× or the Material close
symbol through UiIcon), a required accessible label and no tip unless the
site passes a title. Attributes and classes pass through, so each site keeps
its id, feature class, data and aria attributes, and its look.

Its kit class, ui-close-button (close-button.css, loaded before the feature
stylesheets), is Core's common look: a bare glyph with no padding, border
or background of its own, and a pointer. The guide's close button shares
the rule, and the copies of those declarations leave the feature rules.
`bare` leaves the look off for Street Level's and the space mission's close
buttons, whose skins keep the browser's padding. UiIcon takes size null to
leave the glyph's size to the stylesheet.

The sixteen hand-written close, dismiss and clear buttons in the SFCs are
now UiCloseButtons; closeButtons.test.mjs pins that none remain.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-19 00:19:33 -08:00
Sameh Khamis c58f9fbdc6 Merge branch 'main' into samehkhamis/kit-styles 2026-11-19 00:17:02 -08:00
Sameh KhamisandManjunath Paparaju 0d3c3325d4 Vue kit: compact styles the action variant only, tone is accent or danger, a disabled icon button dims; pin the inherited type
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 23:51:16 -08:00
Sameh Khamis 5f71ee0273 Merge pull request #1837 from bilawalsidhu/samehkhamis/rail-and-hud-cleanup
Keep the panel rails clear of an obstacle across the middle of a short window
2026-11-18 23:48:06 -08:00
Sameh KhamisandManjunath Paparaju 4114ea1a05 Add the changelog entry for #1839
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 23:45:02 -08:00
Sameh KhamisandManjunath Paparaju 9f8a4cb39d Vue kit: the kit's classes wear Core's standard looks
UiButton gains styled variants beside the unstyled default ghost:
action (the gev-action-button surface, tone="danger" and size="compact"),
primary (that surface with the scene panel's main-action accent) and icon
(the panel collapse toggle's square glyph button). A pressed styled button
looks as a hovered one does. UiChip wears the read-only chip (now chip.css,
shared with the news chips), UiEmpty the one-line empty state (now
empty-state.css, shared with the news readout), and UiBadge and UiSegmented
carry their skins through the kit's own classes too.

Every kit selector shares one selector list with the Core skin it comes
from, in skins loaded before the feature stylesheets, so no rule is copied
and feature classes still win. The app renders as before: the voice card
chip and the Recent Imagery and Authoring empty states keep their own type
by inheriting it, and the dock pin buttons drop variant="icon", which they
never wore. kitStyles.test.mjs pins the shared rules.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 23:42:55 -08:00
Sameh Khamis 6502028fbe Merge branch 'main' into samehkhamis/rail-and-hud-cleanup 2026-11-18 23:33:51 -08:00
Sameh KhamisandManjunath Paparaju c1e58b72b9 fix(ui): any positive room counts when a midpoint band asks for no minimum
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 23:26:22 -08:00
Sameh KhamisandManjunath Paparaju fd64a78aca test(ui): pin the midpoint band's exact minimum, and correct a test comment
Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 23:26:10 -08:00