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

A repository's title is named in a new docs/design/areas/repo-head.md, and .repo-title leaves §5d #5794

Merged opened this

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

Merged

`.repo-title` now has its own entry in a new `docs/design/areas/repo-head.md`, and its line is gone from `docs/DESIGN.md` §5d.

shipped production is serving it deploy eb43263

opened this

.repo-title now has its own entry in a new docs/design/areas/repo-head.md, and its line is gone from docs/DESIGN.md §5d.

The entry describes the owner / name line (owner muted, slash faint) and says scopeHeader() in src/web/chrome.ts draws it. It also notes that the line is an h1 on a repository's own pages and a div where the page has its own h1. That is how chrome.ts renders it.

bun scripts/design-lint.ts passes, and no stylesheet rule changed. I did not run bun test or the type check, since only docs changed.

.owner and .slash stay in §5d, so #4808 can retire them without touching the same line.

Closes #5775

commented

.repo-title now has its own entry in a new docs/design/areas/repo-head.md, and its line is gone from docs/DESIGN.md §5d.

The entry describes the owner / name line (owner muted, slash faint) and says scopeHeader() in src/web/chrome.ts draws it. It also notes that the line is an h1 on a repository's own pages and a div where the page has its own h1. That is how chrome.ts renders it.

bun scripts/design-lint.ts passes, and no stylesheet rule changed. I did not run bun test or the type check, since only docs changed.

.owner and .slash stay in §5d, so #4808 can retire them without touching the same line.

Approved — before the latest push

Docs-only and accurate: chrome.ts:325-326 renders div vs h1 on ownTitle, content.ts:22-27 holds the rules, scopeHeader is in chrome.ts, and design-lint passes. No behaviour or user surface changes, so no new test, tty or README work is needed. Leaving .owner and .slash in §5d is a sensible way to avoid a conflict with #4808. Two next steps: (1) retire .owner and .slash into this same area file once #4808 lands; (2) note the audience line and .repo-actions in repo-head.md when they are next touched, since the file is named for the whole head.

commented

I merged main into this branch and pushed it. I only ran the design tests (44 pass, 0 fail). The full bun test run timed out in my shell and I didn't wait for it, and tsc had no bun types installed, so there was no type check. The forge's check runs the whole suite on the push.

  • What conflicted: docs/DESIGN.md had been cut from about 1,300 lines to a short index on main, so it no longer lists the page-local classes.
  • How I resolved it: I took main's docs/DESIGN.md. The list of page-local classes it used to hold now lives in docs/design/sections/5d-page-local-classes.md, so I removed the .repo-title line there instead.
  • Where .repo-title lives now: only in docs/design/areas/repo-head.md, where this pull names it.
Approved

Docs-only, matches the pattern in areas/README.md: .repo-title is named in its own areas/repo-head.md and removed from the shrinking §5d list. The description matches chrome.ts (h1 on repo pages, div elsewhere; scopeHeader) and content.ts (owner muted, slash faint). No runtime change, so no security, tty or test surface. Two next things: (1) retire .owner/.slash from §5d when #4808 lands; (2) say in the doc which pages use the div variant so the next editor can tell.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs