diff --git a/openspec/changes/migrate-content-to-components/design.md b/openspec/changes/migrate-content-to-components/design.md index 3fb167f083..b5fcd80fd5 100644 --- a/openspec/changes/migrate-content-to-components/design.md +++ b/openspec/changes/migrate-content-to-components/design.md @@ -86,8 +86,8 @@ inset of 16 pixels, and a state layer from `md-state-layer`. `MdList` draws the Selection: the catalogue's selectable `MdListItem` takes `selected`, and this change makes it set `aria-current="true"`. A list computes its selected key once, in one computed property, and passes a boolean per row. The four copies of the test in `PrincipalsPanel` collapse into that one property. -Link rows use `MdNavigationItem` (a router link with the row geometry), so the link, the hover state and the current state are the same -everywhere. Redundant resets (`m-0`, `p-0`, `list-none` on an `ul` that `MdList` already resets) are removed. +Link rows use `MdListItem` with a stretched link, so the link, the hover state and the current state are the same +everywhere. `MdNavigationItem` is the item of the navigation bar and rail and has no row variant, so no row is built from it. Redundant resets (`m-0`, `p-0`, `list-none` on an `ul` that `MdList` already resets) are removed. `overflow-wrap: anywhere` (`[overflow-wrap:anywhere]`) is replaced by `break-words` on the text element, and only where a value can be longer than its column. Long identifiers (repository names, token ids) use `break-all` on the identifier element, not on the row. @@ -222,7 +222,7 @@ replaces a stable name. `docs/gitbook/reference/dashboard-anchors.md` is regener 4. Forms and controls. Native controls, buttons, field variant, scaffolding, wizard parts, renderer helper, `FileUpload` and `SettingsView` style blocks. 5. Breakpoints and leftovers. The theme change, the literal widths, the arbitrary values, the `!important` overrides, the opacity - fades, the font weights, `StatusLabel`, `StatTile`, `TimeSeriesChart`, the duplicated footer and the icon lookup in `IndexPage`, + fades, the font weights, `StatusLabel`, `StatTile`, `TimeSeriesChart`, the icon lookup in `IndexPage` (its two footers are kept by design), then the gate baseline. Each wave is one pull request (resolved 2026-11-18, question 1), merged before the next starts, so that every wave is reviewed against the same main diff --git a/openspec/changes/migrate-content-to-components/proposal.md b/openspec/changes/migrate-content-to-components/proposal.md index aaaa3b39b8..f3e9486605 100644 --- a/openspec/changes/migrate-content-to-components/proposal.md +++ b/openspec/changes/migrate-content-to-components/proposal.md @@ -83,7 +83,7 @@ No `data-ingot-component` and no `data-ingot-part` is removed or moved off its s into one, both names stay: the outer element keeps the name of the wrapper, and the inner element keeps the name of the component it replaces. New names are added to `src/anchors/registry.json` only, and `npm run anchors:doc` regenerates `docs/gitbook/reference/dashboard-anchors.md` in the same commit. The stable name `settings-view` keeps its registry entry -(it has no element of its own) and loses only the class hook `settings-view` that the style block used. +(it has no element of its own) and keeps the class hook `settings-view`, which `useTreeFits` and the tests read. ### Not BREAKING diff --git a/openspec/changes/migrate-content-to-components/specs/dashboard-content-components/spec.md b/openspec/changes/migrate-content-to-components/specs/dashboard-content-components/spec.md index d84feb8205..3a2fac610e 100644 --- a/openspec/changes/migrate-content-to-components/specs/dashboard-content-components/spec.md +++ b/openspec/changes/migrate-content-to-components/specs/dashboard-content-components/spec.md @@ -93,15 +93,15 @@ of its rows. No other row SHALL carry the attribute. - **WHEN** the Principals list renders its rows - **THEN** the selected key is computed once for the list, not once per row -### Requirement: Link rows use the navigation item +### Requirement: Link rows use the list item -A row that links to another page SHALL be drawn by `MdNavigationItem`, so its hover, focus and current states are the same in every +A row that links to another page SHALL be drawn by `MdListItem` with a stretched link, so its hover, focus and current states are the same in every list of the dashboard. #### Scenario: Current link row - **WHEN** the page of a link row is open -- **THEN** the link row is drawn by `MdNavigationItem` and carries `aria-current="page"` +- **THEN** the link row is drawn by `MdListItem` as a link and carries `aria-current="page"` ### Requirement: Key and value pairs and status labels use one component each @@ -246,7 +246,7 @@ opacity utility in place of a token. Font weight and size SHALL come from the ty #### Scenario: Settings page without custom rules - **WHEN** the settings view is rendered with a read-only input -- **THEN** the read-only look is drawn by a shared field rule, and no rule in the view targets `.settings-view` +- **THEN** the read-only look is drawn by a shared field rule, and no `