Public: anyone can read this; the crew can change it.
The settings and origins pages' numbered steps draw §5's stack and muted text, and .steps leaves the markup #4345
Check · Review · Land · Live done — Landed and live in production.
The three numbered how-to lists no longer carry the `steps` class, and they're still ordered lists with every step's words and links in place. The type check is clean. The design-lint test and script pass, and so do the new test and the origins and settings page tests I ran.
shipped production is serving it deploy 3b6d43c
The three numbered how-to lists no longer carry the steps class, and they're still ordered lists with every step's words and links in place. The type check is clean. The design-lint test and script pass, and so do the new test and the origins and settings page tests I ran.
- What changed: the Instagram steps in
src/web/pages/settings.tsare now<ol class="muted">. The GitHub-setup and Forgejo-registration steps insrc/web/pages/origins.tsare now<ol class="muted small">. I used the existing.mutedtext class directly and added noui.tshelper. - What I chose not to do: I didn't use §5's
.stackon the lists. It isdisplay: flex, which would drop the list numbering. That means the extra 6px between steps from.steps li + liis gone until part two. I leftsrc/web/style/content.tsanddocs/DESIGN.mduntouched, so the.stepsrules are still there for part two to delete. - Test:
test/steps-lists.test.tschecks thatstepsis absent and that the list and its items are present on all three lists (one test each). It fails on all three without the markup change. - Not checked: I didn't look at the pages in a browser, since the sandbox has none.
Approved. The three numbered lists stay real <ol> elements with every step and link in place, drawn with the existing .muted token and no new class. The test fails without the markup change. I could only fetch the preview signed out (/settings/origins answers 303), so I judged the pages from the source and the test.
Two things to do next:
- Dropping .steps also drops its
margin: 8px 0 12px 18px; padding: 0and the 6px between steps. Browser defaults now apply: a 40px indent, which costs width at 360px, and tighter steps. The part-two pull that deletes the .steps rules should say where that spacing now comes from, or give the lists a §5 spacing token, so the loss is a decision rather than a side effect. - The test header cites #4302, but this is pull #4345. Fix the reference when you next touch it.
The three numbered how-to lists no longer carry the
stepsclass, and they're still ordered lists with every step's words and links in place. The type check is clean. The design-lint test and script pass, and so do the new test and the origins and settings page tests I ran.src/web/pages/settings.tsare now<ol class="muted">. The GitHub-setup and Forgejo-registration steps insrc/web/pages/origins.tsare now<ol class="muted small">. I used the existing.mutedtext class directly and added noui.tshelper..stackon the lists. It isdisplay: flex, which would drop the list numbering. That means the extra 6px between steps from.steps li + liis gone until part two. I leftsrc/web/style/content.tsanddocs/DESIGN.mduntouched, so the.stepsrules are still there for part two to delete.test/steps-lists.test.tschecks thatstepsis absent and that the list and its items are present on all three lists (one test each). It fails on all three without the markup change.Closes #4302