Skip to content

HUD plugins: a band travels or fades with its section, and a modal page is left toward its tabs - #1200

Merged
GLinnik21 merged 6 commits into
mainfrom
hud/transitions
Nov 2, 2026
Merged

GLinnik21 merged 6 commits into
mainfrom
hud/transitions

Conversation

@GLinnik21

@GLinnik21 GLinnik21 commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

A HUD can place its tabs above an open section. Previously those tabs cut to their new height, returning transport controls appeared whole beneath a closing section, and keyboard travel assumed the tabs were below the page. This change moves or fades transport bands with their sections and derives modal entry/exit directions from the compiled tab/page order.

The renderer owns the motion, with no new package key. A shared page spring remains raised through modal switches; bands present at both ends travel, while conditional bands fade. Inline layouts retain their existing lift and now also fade bands conditioned on an individual section when a second section opens or closes. Hit rectangles and focus stops stay at their logical rest positions. Settled Classic census hashes and existing panel goldens remain unchanged.

The rising-tabs example is published with lint HUD-E1501, which rejects modal tabs overlapping the page's focus stops. Its chapter cards are 284×160 to remain within the existing texture ceiling; no ceiling is raised. Transition frames themselves remain outside the static cost ceiling and have not been measured on the television.

Classic's title, bar and row now fade during section transitions. This changes accepted motion. The owner authorized landing after the simulator preview. Simulator previews cover Classic before/after, Rising Tabs, and the inline Reference HUD; device performance and final television validation remain outstanding because the shared TV is held by another lane.

No issue tracks the HUD-plugin work; none was opened for this PR.

Validation:

  • Renderer fix c853d8189: test result: ok. 870 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.13s.
  • On that committed renderer tree: make check-nodef, make lint, dependency, shipped-face and module-layer checks passed. Independent combined-diff review and documentation audit findings are addressed.
  • The prior combined head 71bc5993a also passed the screens suite (1958), application hostsim suite (1302), and media hostsim suite (2200 passed, 84 ignored).
  • Final head 23c847d89 adds only the missing diagnostic-cap classification. ci/check-list-caps.py passes on that committed, clean tree; CI reruns on the pushed head.

GLinnik21 and others added 6 commits November 2, 2026 00:19
… its section

The fixture the renderer's page transition is drawn and filmed on: a modal package whose tabs stand above the chapters strip and the Info card, so a section opening raises them. It lints clean in all eleven languages, cost ceilings included (its strip cards are 284x160: at 288x162 the chapters state was 21952 texture bytes over the one-section ceiling, the per-card current-chapter glyph being the difference).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…he lint knows (HUD-E1501)

A modal package may lay its tabs above its page (rising-tabs). The way into the
page and the way out of it were hard-coded to Up/Down, so with the tabs above,
Down closed the section, Up did nothing and no key entered the page.

travel::Order::toward_tabs / toward_page name the direction from where the tabs
are compiled (Up when GROUP_TABS sits above the page group, else Down, and Down
with no tabs); links(), the page group's edge rules and answer_edge read it.
Classic's travel is unchanged and every existing pin passes untouched.

HUD-E1501 (tab-page-overlap): in a modal package, in every state with a page that
has stops, the tabs' extent must not overlap the page's. lint_travel reads the
same spans the travel order reads (tabs_span, page_span), and runs in lint_fit and
single_pipeline, so --hud-lint, admit and the driver all see it. One invalid case
in the lint table; rising-tabs joins the site examples.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…rim's top edge follows

A new HudMotion::page spring (target 1 while any section is wanted, held one
frame only when a section opens from nothing, cut with the sections) is the
clock of the transport on the journey into a section:

- a transport band present in one end only (compact, or the open states)
  fades on the page, one present in only some open states on that section's
  own appear; the alpha multiplies the scrub's chrome alpha;
- a band in both ends travels in a modal package, y = C + page * (M - C)
  with M the appear-weighted mean of its open-state ys, through the existing
  Layers lift path; an inline package keeps lift() and gains the fade;
- the scrim's top edge follows the same clock (inline: lift's), the bottom
  edge stays, a fixed scrim stands still;
- draw order: compact bands fading out, the logical state, then each leaving
  section with the transport bands only it holds; nothing moving draws the
  op stream it always drew (the frozen classic census passes untouched), and
  a moving frame neither withholds the compact transport nor resets the title.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… frames are unpriced

A modal package's transport and stand-in come back at the dismissal frame as stops and hit rects; their pixels come back on the page spring. Transition frames draw two states' worth of ops, which no ceiling prices and which are not yet measured on the television.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@GLinnik21
GLinnik21 marked this pull request as ready for review November 2, 2026 01:57
@GLinnik21
GLinnik21 merged commit fe533ca into main Nov 2, 2026
20 checks passed
@GLinnik21
GLinnik21 deleted the hud/transitions branch November 2, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant