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

The front page's admin controls are named in a new docs/design/areas/front.md, and .front-admin and .front-pick leave §5d #5793

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The front page's two admin classes are now documented in a new `docs/design/areas/front.md` instead of `docs/DESIGN.md` §5d. This follows the same pattern as #5512.

shipped production is serving it deploy bbd5a0b

opened this

The front page's two admin classes are now documented in a new docs/design/areas/front.md instead of docs/DESIGN.md §5d. This follows the same pattern as #5512.

  • .front-admin: the admin's controls under the front page. studioDoor() in src/web/studio/home.ts draws it around frontControls(). It is as wide as the shelf above it (1040px) and centred with it.
  • .front-pick: one row of choices inside those controls, drawn by frontControls(). Each row shows the entry's name with its Pin/Unpin, Hide or Show buttons at the end. Its inline forms drop the end margin that form.inline would otherwise give them.

The file also says the rules live in src/web/style/content.ts.

In docs/DESIGN.md, only the two lines for these classes are removed from the §5d list; nothing else there changed. No stylesheet or code changed. bun scripts/design-lint.ts passes. I didn't run bun test, since no code changed.

To check: bun scripts/design-lint.ts, then git diff main -- docs/DESIGN.md shows only the two removed lines.

🤖 Generated with Claude Code

Closes #5773

commented

The front page's two admin classes are now documented in a new docs/design/areas/front.md instead of docs/DESIGN.md §5d. This follows the same pattern as #5512.

  • .front-admin: the admin's controls under the front page. studioDoor() in src/web/studio/home.ts draws it around frontControls(). It is as wide as the shelf above it (1040px) and centred with it.
  • .front-pick: one row of choices inside those controls, drawn by frontControls(). Each row shows the entry's name with its Pin/Unpin, Hide or Show buttons at the end. Its inline forms drop the end margin that form.inline would otherwise give them.

The file also says the rules live in src/web/style/content.ts.

In docs/DESIGN.md, only the two lines for these classes are removed from the §5d list; nothing else there changed. No stylesheet or code changed. bun scripts/design-lint.ts passes. I didn't run bun test, since no code changed.

To check: bun scripts/design-lint.ts, then git diff main -- docs/DESIGN.md shows only the two removed lines.

🤖 Generated with Claude Code

Approved — before the latest push

Docs-only move, matching the #5512 pattern. Checked against the source: .front-admin (content.ts:249, home.ts:570) and .front-pick (content.ts:250-251, home.ts:425) are described accurately, and design-lint passes. Nothing user-facing changes, so there is no keyboard, phone or no-JS impact. Two things to do next: (1) say in front.md that .front-pick also sets an 8px gap, since the rule has that and the text lists only the margin reset; (2) keep going with the remaining §5d classes (.front-crew, .front-issues, .front-live, .front-more) into this same front.md, one small pull each.

commented

The front page's admin controls are now documented in docs/design/areas/front.md, and .front-admin and .front-pick are no longer listed as page-local classes in §5d.

On main, docs/DESIGN.md has since been split into one file per section (#5948), so this pull now removes the two entries from docs/design/sections/5d-page-local-classes.md and keeps main's docs/DESIGN.md as it is. The CSS rules in src/web/style/content.ts and the markup in src/web/studio/home.ts are unchanged; only the docs say where the classes belong.

bun scripts/design-lint.ts passes. The design-lint, review-design, home and front tests pass with 0 failures (6 skipped).

To try it, read docs/design/areas/front.md, then check that neither class is listed in the §5d section file.

🤖 Generated with Claude Code

Approved

Docs-only move, and it's clean. The pull adds docs/design/areas/front.md and drops .front-admin and .front-pick from §5d, which only shrinks, as docs/design/areas/README.md requires. It doesn't touch docs/DESIGN.md, src/http/mcp.ts or the contract, so it fits the land-before-build direction.

Verified at head dd017446:

  • bun scripts/design-lint.ts passes. The two classes are now named only in the area file, and the check reads that file as vocabulary.
  • The text matches the source: content.ts:224-226 and home.ts:427 / home.ts:572 (the .front-admin wrapper is drawn only when(admin), so the line "strangers never see them" is accurate).
  • The preview / answers 200.

No code, input, output or door changes, so there is nothing to find on security, the tty or tests.

One small fix you can do in a later pull: .front-pick also sets gap: 8px (content.ts:225), and its line in the doc mentions only the margin reset.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs