Public: anyone can read this; the crew can change it.

Wherever markup says class="steps" it draws §5's stack, and .steps leaves the stylesheet #4638

opened this

Merged 44d 20h ago, live in production

This change removes the .steps class from the stylesheet and from the DESIGN.md §5d register. I ran bun scripts/design-lint.ts and the design-lint, first-login and steps-lists tests, and all pass. I did not run the full suite.

Notes

opened this

This change removes the .steps class from the stylesheet and from the DESIGN.md §5d register. I ran bun scripts/design-lint.ts and the design-lint, first-login and steps-lists tests, and all pass. I did not run the full suite.

  • Markup: nothing in the repo emits class="steps" any more. src/web/studio/home.ts and src/web/pages/next-steps.ts already draw the steps through the shared card, and src/crew/plan.ts emits no markup. So no markup needed changing.
  • Stylesheet: the two .steps rules are gone from src/web/style/content.ts, and .steps is struck from the §5d register in docs/DESIGN.md.
  • Test: the "after the claim" test in test/first-login.test.ts now asserts the studio home contains no class="…steps…". Without the claim in a spawned forge the home never draws the steps card, so that is the page to check. test/steps-lists.test.ts already makes the same check for the settings and origins pages.
  • Baseline: docs/design/baseline.json has no entries for .steps, so I left it alone.

To try it, run bun scripts/design-lint.ts and bun test test/first-login.test.ts test/steps-lists.test.ts.

Closes #4607

7 earlier comments
commented

This change removes the .steps class from the stylesheet and from the DESIGN.md §5d register. I ran bun scripts/design-lint.ts and the design-lint, first-login and steps-lists tests, and all pass. I did not run the full suite.

  • Markup: nothing in the repo emits class="steps" any more. src/web/studio/home.ts and src/web/pages/next-steps.ts already draw the steps through the shared card, and src/crew/plan.ts emits no markup. So no markup needed changing.
  • Stylesheet: the two .steps rules are gone from src/web/style/content.ts, and .steps is struck from the §5d register in docs/DESIGN.md.
  • Test: the "after the claim" test in test/first-login.test.ts now asserts the studio home contains no class="…steps…". Without the claim in a spawned forge the home never draws the steps card, so that is the page to check. test/steps-lists.test.ts already makes the same check for the settings and origins pages.
  • Baseline: docs/design/baseline.json has no entries for .steps, so I left it alone.

To try it, run bun scripts/design-lint.ts and bun test test/first-login.test.ts test/steps-lists.test.ts.

commented

I merged main into the branch and pushed it. The only conflict was one long line in docs/DESIGN.md. I kept main's version of that line and took .steps out of it again. The design lint and the design-lint, first-login and steps-lists tests pass after the merge. I didn't run the full suite.

The pull still changes the same three things:

  • Stylesheet: the two .steps rules are removed from src/web/style/content.ts.
  • Docs: .steps is struck from the §5d register in docs/DESIGN.md.
  • Test: test/first-login.test.ts now checks that the studio home has no class="…steps…".

To try it, run bun scripts/design-lint.ts and bun test test/first-login.test.ts test/steps-lists.test.ts.

commented

I merged main into the branch again and pushed it. The only conflict was the same long line in docs/DESIGN.md. I kept main's version and struck .steps from it once more. The design lint and the design-lint, first-login and steps-lists tests pass after the merge. I didn't run the full suite.

The pull still does three things:

  • Stylesheet: it removes the .steps rules from src/web/style/content.ts.
  • Docs: it strikes .steps from the §5d register in docs/DESIGN.md.
  • Test: test/first-login.test.ts asserts the studio home has no class="…steps…".

To try it, run bun scripts/design-lint.ts and bun test test/first-login.test.ts test/steps-lists.test.ts.

commented

I merged main into the branch and pushed it. The only conflict was the "page furniture" class list in docs/DESIGN.md.

  • The conflict: my side had dropped .steps from that list. main had dropped .app-shelf, .front-pin-any and .front-weights. I kept main's list and removed .steps, so all four are now gone from it. src/ still uses .steps only as a JS property in src/checks/queue.ts, not as a CSS class.
  • Checks run: the design-audit, design-lint and design-map tests pass (23 tests), and bun scripts/design-lint.ts is clean. A full bun test run took more than 15 minutes and never reported a result, so I stopped waiting. The forge's check on this push will run the whole suite.
commented

I merged main into the branch again and pushed it. The only conflict was the "page furniture" class list in docs/DESIGN.md.

  • The conflict: main had removed the four .backups-* classes from that list (.backups-drill, .backups-error, .backups-now, .backups-restore). My side had removed .steps. I kept main's list and dropped .steps from it.
  • Checks run: the design-audit, design-lint and design-map tests pass (23 tests), and bun scripts/design-lint.ts is clean. I did not run the full bun test, because the last attempt ran over 15 minutes without finishing. The forge's check on this push runs the whole suite.
commented

I merged main into the branch a third time and pushed it. The only conflict was again the "page furniture" class list in docs/DESIGN.md.

  • The conflict: main had removed four classes from that list (.merge-box, .merge-form, .merge-headline and .merge-sub). My side had removed .steps. I kept main's list and dropped .steps from it.
  • Checks run: the design-audit, design-lint and design-map tests pass (23 tests), and bun scripts/design-lint.ts is clean. I did not run the full bun test, because an earlier attempt ran over 15 minutes without finishing. The forge's check on this push runs the whole suite.
commented

I merged main into the branch a fourth time and pushed it. The only conflict was again the "page furniture" class list in docs/DESIGN.md.

  • The conflict: main had removed .wall-cells from that list. My side had removed .steps. I kept main's list and dropped .steps from it.
  • Checks run: the design-audit, design-lint and design-map tests pass (23 tests), and bun scripts/design-lint.ts is clean. I did not run the full bun test, because an earlier attempt ran over 15 minutes without finishing. The forge's check on this push runs the whole suite.
commented

I merged main into this branch and pushed it. The forge's check will now run on the new head. Locally I only ran bun scripts/design-lint.ts and two test files, not the full bun test or a type check.

  • Conflict: the only one was the "page furniture" component list in docs/DESIGN.md §5d. I kept this branch's side, which no longer lists .steps, so main's line, which still has it, was dropped.
  • Extra edit: the design lint then reported .stage-detail and .stage-dot as no longer defined by any stylesheet, so I removed them from that list too. With that, the lint passes.
  • Tests: test/design-lint.test.ts and test/review-design.test.ts pass (17 tests). A full bun test run in the background never reported back, so I stopped waiting on it.
  • Type check: tsc --noEmit couldn't run because the bun type definitions aren't installed in this clone. I didn't run bun install.
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs