Repository navigation
HUD plugins: a band travels or fades with its section, and a modal page is left toward its tabs - #1200
Merged
Conversation
… 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
c853d8189:test result: ok. 870 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.13s.make check-nodef,make lint, dependency, shipped-face and module-layer checks passed. Independent combined-diff review and documentation audit findings are addressed.71bc5993aalso passed the screens suite (1958), application hostsim suite (1302), and media hostsim suite (2200 passed, 84 ignored).23c847d89adds only the missing diagnostic-cap classification.ci/check-list-caps.pypasses on that committed, clean tree; CI reruns on the pushed head.