* 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.
- On GEV's phone layout, where neither the style readout nor the account
avatar shows, the Stories button goes icon-only under the corner-actions
column instead of covering the top row of icon buttons.
- Explore frames its start view and a picked story in the middle of the
map it leaves visible (beside the feed, above the phone sheet), with one
short correction if that area moved during the flight.
- The share icon stays visible in icon-only header buttons.
- A world clock nothing moved while Stories was open (no jump, same mode
and rate) is left alone on Close.
- Card images use the globe's own Esri tile URL; the credit list keeps the
application's full-screen placement on phones.
- Tests cover the live and playing clock restores, the clock coming back
after the share state, the tile-settling hold being released (settled,
10 s, Close), the visible-map aim, and the near-end Play fix in the
director's real order. One changelog fragment covers the PR.
A Stories button (top right) opens Explore: a feed of GEV scenes over
GEV's own Cesium globe, with a pin per story. Explore opens at country
level over the first story and, while idle, flies on from story to story
for a minute. A picked story is framed in the middle of the view; a pin
plays its story on a second click. The Story page plays the scene through
SceneDirector with a timeline, chapters, key moments, sources and
background, then Close (or Back) puts the person's camera, clock, layers,
style and AUTHORING selection back. Open in GEV hands the scene to the
Scenes panel at its current shot.
Stories lists the scenes GEV ships with a camera path (while they are in
the project), the scenes saved with SAVE TO STORIES in AUTHORING, and the
person's other scenes as drafts. The person's own stories live in the
project on this device, so they have no Share; a link to a story that is
not here opens Explore and says so. Each shipped story's
context comes from what GEV knows: what it shows, the place each shot goes,
and each layer's data sources as DATA_SOURCES.md lists them; the Nepal
story carries the event pack's facts and CC BY-NC sources. Card images are
a captured THUMBNAIL or drawn from the keyless Esri World Imagery.
AUTHORING has no scene picker: it starts with no scene, NEW SCENE (or
CAPTURE SHOT) makes one, and Stories' Open in GEV selects one. Before SAVE
TO STORIES it offers topic tags and THUMBNAIL. A scene's stories flag,
storyThumb and storyTags are saved with the project and kept through
export and import.
Only the closed state loads with the page; the screens, styles, story data
and controller load on first open. Stories keeps its place in the query
(one history entry per screen) and holds the share link's hash writes
while open. Keyboard input and voice tools stay with Stories while it is
open. Explore's pins move on every drawn frame without asking for frames;
the idle tour and tile settling are bounded.
All strings are translated in the 13 locales.