Files
gods-eye-view/changelog.d
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
..
2026-10-29 15:22:15 +04:00
2026-10-29 17:06:00 +04:00
2026-10-29 17:55:31 +04:00
2026-10-29 19:01:00 +04:00
2026-10-29 19:48:33 +04:00
2026-10-29 20:05:56 +04:00
2026-11-09 14:41:36 -06:00
2026-11-08 13:47:03 +01:00
2026-11-19 18:59:36 -08:00
2026-11-19 19:45:30 -08:00

Changelog fragments

One file per entry. A pull request adds a file here instead of editing CHANGELOG.md, and a release concatenates them into it.

changelog.d/<pull request number>-<slug>.md

723-atc-decision-layer.md, for example. The slug is lowercase, words separated by -. Two pull requests never pick the same filename, because the pull request number is already unique — which is the point: new CHANGELOG.md entries go at the top of the file, so two pull requests in flight write into the same few lines and git has nothing to merge on.

Write the file exactly as the entry should read in CHANGELOG.md: a - bullet, wrapped the way the surrounding entries are, crediting yourself and the pull request.

- Report which upstream declined a Street Traffic road load. The layer row now
  reads `Overpass rate-limited` instead of a general "Road data temporarily
  unavailable" (yourname, #665).

The text is spliced in unchanged apart from trailing whitespace, so what you write here is what ships. Fragments are deliberately outside scripts/format-scope.json, so npm run format never reflows one.

At release time:

npm run changelog:check   # list what would move, change nothing
npm run changelog         # move every fragment into CHANGELOG.md

The assembler refuses a batch rather than guessing: a filename that is not <pull request>-<slug>.md, or two fragments claiming one pull request number, stops the run before anything is written and names the files.

If npm run changelog fails part-way (a full disk, a killed process), run it again. The batch is staged in changelog.d/.assembling/ and only lands when the assembled file replaces CHANGELOG.md in a single rename, so the rerun either finishes that batch or puts its fragments back first. It never adds an entry twice or drops one. npm run changelog:check names a staged batch, if one is left over, instead of reporting past it.

A documentation claim that needs a regression test — the way src/annotations/drawTool.test.mjs asserts against CHANGELOG.md — should assert against docs/CURRENT-STATE.md or README.md instead. A pull request still edits those directly, so the text is in the file while the change is under review; a fragment does not reach CHANGELOG.md until release.