Commit Graph
7 Commits
Author SHA1 Message Date
Sameh Khamis 1f105a68af Page state is kept in classes on the page root; the HUD rests while not displayed (#1911)
* Page state is kept in classes on the page root; the HUD rests while not displayed

Rules that selected on `body:has(...)` now select on classes on <html>
that the components owning that state hold, as
`body:is(.flag *, <old condition>)`, which keeps each rule's specificity
and so its place in the cascade. Chrome checks a `:has()` on body again
after every node added or removed anywhere, and restyles the whole page
when it does; a class changes only when its state does.

The Intel HUD does no readout work and writes nothing while #intel-hud is
not displayed, and shows current readouts as soon as it is displayed
again. Its changing readouts update their text nodes in place.

* The HUD runs no timers while not displayed; the loading screen is followed wherever it comes and goes

While #intel-hud is not displayed the Intel HUD stops its timers and any
reply typing out, drops a summary it was working out (asked again when it
is back) and publishes only its own active, variant and colors, which
stylesheets and layout elsewhere read. The vessel and language readouts
wait too. Displayed again, it starts its timers and shows current readouts,
and the whole reply, at once. A view that is unmounted leaves the HUD at
rest until a mounted view reports it displayed.

The loading-screen class now follows #loading-screen being added, removed,
renamed or shown anywhere in body, as body:has() did, not only its class.

* Changelog fragment for #1911

* The first-run launcher's page class follows the element, and is named launcher-shown

A page that clears the first-run dialog by removing every element whose class
contains first-run removed <html> itself once it carried has-first-run-launcher.
The class is now launcher-shown, and it follows #first-run-launcher wherever
it comes and goes, so a launcher removed by anything clears it, as
body:has(#first-run-launcher) did.
2026-11-23 08:06:48 -08:00
Sameh Khamis ff7b8e68c5 Centre the phone Omnibar when no language picker sits beside it
On a phone the field kept 60px on its right for the language picker even
where the application shows none, so it sat left of centre. It now keeps
16px either side, and leaves the picker its room only while it is there.
2026-11-19 16:56:10 -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 dc31774109 Read "everything except", "from the map", a doubled verb and a grid reference after "near"
"hide everything except flights" (or "all but", "other than") switches off
every layer that is on but the ones named, or says no other layers are on.
"remove flights from the map" is "remove flights", "hide hide everything"
reads the verb once, and "flights near 14R PU 2090 4906" flies to the grid
reference. A keyword that begins a name ("Fire Island", "Radio City Music
Hall") no longer offers a plan to the rest of the name. The arrow keys drop
a check for a list that opens upward, which it never does.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 17:12:39 -08:00
Sameh KhamisandManjunath Paparaju d7f10e4d2a Fix the search bar's stale errors, hidden-field shortcuts and repeated Enter
From review:
- An error goes when a chip is chosen, and a search's error shows only
  under the line it was for: a lookup that fails after the line was edited
  says nothing under the new text.
- With voice on the field is hidden: "/" and Cmd/Ctrl+K no longer focus
  it, and nothing is looked up for it.
- Without the action runner a refused or cancelled search keeps the line,
  as the plan path does (only true is success).
- Text an input method is still composing is read when it is committed.
- A held or repeated Enter does not restart the same line over its flight.
- A city chip for the city whose landmarks are open flies there instead
  of folding the landmarks.
- "villages around here" is looked up again for the current view.
- Data Layers takes the full lane only where the desktop dock is laid out,
  by the condition omnibar-dock.css uses.
- On short phones the HUD readout moves under the field it shared a row
  with.
- CURRENT-STATE says the phone gains a field and which places are kept.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 15:00:07 -08:00
Sameh KhamisandManjunath Paparaju 24731951a0 Fly a looked-up place by its coordinates alone, and adopt the bar's files
A place row sent its name with its coordinates, and a name that matches a
city preset wins over them: "Paris, Texas" flew to Paris, France. Only the
coordinates go now. The bar's styles and dock tests join the format scope
and the bar its package.

Co-authored-by: Manjunath Paparaju <[email protected]>
2026-11-18 15:00:07 -08:00
Manjunath PaparajuandSameh Khamis a3f4af91f8 Add the Omnibar: one field above the footer for places, layers and commands
On desktop the dock becomes one search bar (Omnibar.vue) that shows the
rows the line-reading pipeline makes: places with nearby suggestions,
coordinates, map items, layers, commands, plans such as "go to Austin and
show flights", guided walks through the real controls, and Ask GEV for
questions. Enter runs only what the line asks for outright. The map
credits move below the bar onto the Power Up row, the voice waveform
shows in the bar while voice is on, and the dock's Location and Visual
trays are hidden in this layout. The phone layout is unchanged. Long
place names are kept out of automatic Ask GEV.

Co-authored-by: Sameh Khamis <[email protected]>
2026-11-18 15:00:06 -08:00