Repository navigation
Labels
P3When convenient: wording, layout, testsWhen convenient: wording, layout, testsenhancementNew feature or requestNew feature or request
Description
Priority
low. The change is on the surface: templates and styles. No route, backend or stored data changes.
Components
- app/nullius (backend)
- app/web (routes)
- templates and static files
- docs and the site
- catalogue (benchmarks, agents, capabilities)
- the standard (ports, kits, relay, runs)
- CI, workflows and skills
Today
- Each page writes its title in its own way:
.page-titleand five variants,.bench-index-head,.bench-head,.std-head,.start-title,.st-head,.run-header, the builder's.nb-heading, and bare<h1>elements. - The h1 has five sizes at 1280 px: 20, 30, 32, 34 and 36 px. A trial's task name is the smallest title in the app.
- A benchmark's tags sit above its title. An agent's or a kit's title is inside its card, so it does not start where other titles start.
- Page buttons have different heights and sizes. They align with the title and its subtitle together, so a subtitle moves them.
- The builder's title has a sentence under it. The empty Runs page has a tagline.
- The space under a title changes from page to page (16 to 28 px). Small fixes such as
.page-title + .alert { margin-top: 1rem; }patch some pages. - At 390 px, the Harbor benchmark form scrolls sideways: its storage path does not wrap.
Wanted
- One macro writes every page title: the title flush left, at most one line under it, and the page's buttons flush right.
- The line under the title holds a count, an id, a badge or pills. It holds no sentence. A sentence that explains the page stays under the head as body text.
- Page buttons have the table controls' height (
--tool-h). They are centred on the title's first line, so a subtitle does not move them. - An optional mark before the title: a benchmark's logo, or an agent's.
- One h1 size on every page. Long titles wrap and are never cut.
- At 390 px, the buttons go to their own row under the line, flush left, with no sideways page scroll.
- One fixed gap under the head on every page. The old head classes and their patches go.
Acceptance
- Every page with a title uses the shared macro. Each has exactly one h1, first in the head, with nothing above it.
- The h1 has one font size on every page at a given width.
- A benchmark's tags are on the line under its title.
- Each page button is as tall as
--tool-h. At 1280 px its centre is within 1 px of the title's first line. - At 390 px the buttons are under the line, flush left, and no page scrolls sideways.
- The gap between the head and the next element is the same on every page.
- The builder's sentence and the empty Runs page's tagline are gone.
- No template or style uses the old head classes.
- A route test checks the head on every page with a title.
Dependencies and related
- feat(web): build each table from one column list, with search, sticky columns and aligned numbers #199, the table toolkit, and feat(web): build the catalogue cards from one field list, with search and filter pills or dropdowns #201, the card toolkit. The head follows their style.
- feat(compare): compare runs in columns, each a workspace and a run, under the table toolkit's controls #207, the Compare redesign (merged). It defines
--tool-hfor the table controls row, which the head's buttons share.
Metadata
Metadata
Assignees
Labels
P3When convenient: wording, layout, testsWhen convenient: wording, layout, testsenhancementNew feature or requestNew feature or request
Activity
feat(web): head every page with one shared page head (ThinkFlowLab#209)