You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ce7463a
Browse filesBrowse the repository at this point in the historyBrowse files
docs(openspec): align migrate-content-to-components with the delivered dashboard (#1319)
The change text asked for things the dashboard on main deliberately does
differently: one footer on the index page, link rows built from
MdNavigationItem, heading fixes in views that already sit on the level
scale, and removal of the settings-view and settings-save-bar class hooks.
Amend tasks 3.6, 4.3, 4.6, 6.11, 7.3 and 7.9, plus the design, proposal
and spec text that state the old rule, so they describe what main does.
No task is ticked.
Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
Copy file name to clipboardExpand all lines: openspec/changes/migrate-content-to-components/design.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,8 +86,8 @@ inset of 16 pixels, and a state layer from `md-state-layer`. `MdList` draws the
86
86
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,
87
87
and passes a boolean per row. The four copies of the test in `PrincipalsPanel` collapse into that one property.
88
88
89
-
Link rows use `MdNavigationItem` (a router link with the row geometry), so the link, the hover state and the current state are the same
90
-
everywhere. Redundant resets (`m-0`, `p-0`, `list-none` on an `ul` that `MdList` already resets) are removed.
89
+
Link rows use `MdListItem`with a stretched link, so the link, the hover state and the current state are the same
90
+
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.
91
91
92
92
`overflow-wrap: anywhere` (`[overflow-wrap:anywhere]`) is replaced by `break-words` on the text element, and only where a value can be
93
93
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
222
222
4. Forms and controls. Native controls, buttons, field variant, scaffolding, wizard parts, renderer helper, `FileUpload` and
223
223
`SettingsView` style blocks.
224
224
5. Breakpoints and leftovers. The theme change, the literal widths, the arbitrary values, the `!important` overrides, the opacity
225
-
fades, the font weights, `StatusLabel`, `StatTile`, `TimeSeriesChart`, the duplicated footer and the icon lookup in `IndexPage`,
225
+
fades, the font weights, `StatusLabel`, `StatTile`, `TimeSeriesChart`, the icon lookup in `IndexPage` (its two footers are kept by design),
226
226
then the gate baseline.
227
227
228
228
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
`VerifyStep`, `RepositoryOverview`, and fix the heading sizes in `SettingsHub`, `SupportView`, `SsoProvidersPanel`,
54
-
`SsoProviderDialog` and `AppearancePreview` to the level scale. `SettingsHub` is excluded if `add-administration-overview` has not merged.
53
+
`VerifyStep`, and fix the heading sizes in `SupportView` to the level scale. The hand-built `h1` to `h3` that already sit on the level
54
+
scale (`RepositoryOverview`, `SettingsHub`, `SsoProvidersPanel`, `SsoProviderDialog`, `AppearancePreview`) count as done and stay as they are. `SettingsHub` is excluded if `add-administration-overview` has not merged.
55
55
Fix `SectionRenderer` (3.3) and the level 4 heading of `RepositoryAccessCard`. Verify: 3.2 and 3.3 pass.
56
56
-[ ] 3.7 `docs(gitbook)`: not needed in wave 1 unless a registry name is added; if `md-section` or `md-card` is added to the registry,
57
57
run `npm run anchors:doc` and commit `docs/gitbook/reference/dashboard-anchors.md` in the same commit as the registry. Verify:
@@ -69,15 +69,15 @@ of each wave. No file under `reposilite-backend/` and no file under `openspec/`
69
69
-[ ] 4.2 `test(ui)`: in `src/components/access/PrincipalsPanel.test.js` and `TeamsPanel.test.js`, assert that exactly one row is selected
70
70
for the route, and that the selection is computed once (a spy on the selection function counts one call per render). Verify: it fails
71
71
on the four copies.
72
-
-[ ] 4.3 `test(ui)`: in `DetailedListEntry.test.js` and `EntryList.test.js`, assert that each link row is an `md-navigation-item` link
73
-
with the current state when its route is open. Verify: it fails.
72
+
-[ ] 4.3 `test(ui)`: in `DetailedListEntry.test.js` and `EntryList.test.js`, assert that each link row is an `MdListItem` drawn as a link
73
+
(stretched link) with `aria-current="page"` when its route is open. Verify: it fails.
74
74
-[x] 4.4 `fix(ui)`: set `aria-current` and the 56 and 48 pixel row heights on the catalogue's `MdListItem`, and draw the divider
75
75
of `MdList` with `divide-y`. Verify: 4.1 passes.
76
76
-[x] 4.5 `fix(ui)`: migrate selectable rows (TeamsPanel, PrincipalsPanel, EntryList, AddMemberDialog) to `MdList` and `MdListItem`,
77
77
and compute the selected key once per list. The `MdListDetail` panes of TeamsPanel, PrincipalsPanel and CollectionEditor are already
78
78
done by `fix-surface-hierarchy-and-page-header` (its task 4.10). Verify: 4.2 passes.
79
79
-[ ] 4.6 `fix(ui)`: migrate link rows (DetailedListEntry, FileList, SettingsAttention, the More panel of `IndexPage`) to
`MdListItem` with a stretched link (`MdNavigationItem` is the bar and rail item and has no row variant); migrate divided lists (NodeEditor, NodeInheritedSection, FileUpload, RunHistory, StorageUsagePanel,
81
81
RepositoryOverview's divider, TokenList, LegacyGrantsPanel, InstanceStatusPanel, GettingStartedCard, PublicRepositoriesDialog) to
82
82
`MdList`; remove the arbitrary `[&>li+li]:after` chain of `FileList`. Verify: 4.3 passes and `grep -rn "li+li" src` finds nothing.
@@ -167,7 +167,7 @@ of each wave. No file under `reposilite-backend/` and no file under `openspec/`
167
167
`MdColourFieldRenderer`, `OneOfRenderer`, `TagsFieldRenderer`). Verify: the renderer tests pass and `grep -rn "onInput" src/components/renderers`
168
168
finds the helper only.
169
169
-[ ] 6.11 `fix(ui)`: remove the `<style>` rules of `SettingsView.vue` (read-only inputs and clearance) and move them into the field
170
-
primitives and utilities; drop the `settings-view` and `settings-save-bar` class hooks. The`settings-view` anchor stays in the registry.
170
+
primitives and utilities; the `settings-view` and `settings-save-bar` class hooks stay, because `useTreeFits` and the tests read them, and the`settings-view` anchor stays in the registry.
171
171
Verify: 3.2 for SettingsView passes, the read-only input is still drawn in the Playwright screenshot.
172
172
-[x] 6.12 `fix(ui)`: remove the `<style>` rule of `FileUpload.vue` (line 302 of the inventory) after the `vue-upload-component` class is
173
173
confirmed in the rendered drop zone by a Playwright snapshot before and after. Verify: the drop zone looks the same in the snapshot.
@@ -183,9 +183,9 @@ of each wave. No file under `reposilite-backend/` and no file under `openspec/`
183
183
and that `--breakpoint-*: initial` is declared in `@theme`. Verify: it fails, because the reset is not there yet.
184
184
-[x] 7.2 `test(ui)`: in `src/components/md/typescale.test.js`, assert that the font sizes in `src/components/md/typescale.js` equal the
185
185
values of `src/styles/md3/typography.css`. Verify: it fails, because the module does not exist.
186
-
-[ ] 7.3 `test(ui)`: in `src/pages/IndexPage.test.js`, assert the two footers by design: the footer inside the sheet from 600 pixels
186
+
-[ ] 7.3 `test(ui)`: in `src/pages/IndexPage.test.js`, assert the two footers as main draws them: the footer inside the sheet from 600 pixels
187
187
(class `hidden medium:block`) and the footer below the page on narrow windows (class `medium:hidden`), so that exactly one of them is
188
-
shown at each width; and that the icon lookup returns a value for every entry of the index, with the settings icon as the fallback for
188
+
shown at each width. The two footers are kept by design and are not merged into one; and that the icon lookup returns a value for every entry of the index, with the settings icon as the fallback for
189
189
the entries of plugin pages. Verify: it fails on a lookup without the fallback.
190
190
-[x] 7.4 `test(ui)`: in `src/components/md/MdBadge.test.js` and `StatusLabel`'s test, assert that `StatusLabel` takes a status value of
191
191
the closed set and rejects a colour prop. Verify: it fails.
0 commit comments