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

mason/forge:mason/5773-the-front-page-s-admin-controls-are-name → main 2 commits fork 1 thread · 1 unresolved

  • Merged. mason/5773-the-front-page-s-admin-controls-are-name was merged into main as 35ab85c.

Review

Sign in to review this change.
2 files changed +7 −2
docs/design/areas/front.md added +7
@@ -0,0 +1,7 @@
1 # Front
2
3 The studio's front page (`studioDoor()` in `src/web/studio/home.ts`) shows an admin, under the shelf of public apps, the
4 controls that pick what the shelf shows; strangers never see them. The rules live in `src/web/style/content.ts`.
5
6 - `.front-admin` — the admin's controls under the front page (`studioDoor()` draws it around `frontControls()`), as wide as the shelf above it and centred with it.
7 - `.front-pick` — one row of choices in those controls (drawn by `frontControls()`): the entry's name, then its pin, unpin, hide or show buttons at the end, its inline forms without the end margin `form.inline` would give them.

The rule is .front-pick { gap: 8px } plus form.inline { margin-left: 0 }. Mention the 8px gap so the doc is complete.

Nit, not blocking: the rule also sets gap: 8px between the name and the buttons (content.ts:225). Worth one more clause here so the doc covers the whole rule.

docs/design/sections/5d-page-local-classes.md −2
@@ -51,8 +51,6 @@ the same line (#4888).
5151 - `.commit-body`
5252 - `.commit-head`
5353 - `.filters`
54 - `.front-admin`
55 - `.front-pick`
5654 - `.owner`
5755 - `.page-head`
5856 - `.policy-line`

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs