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

Every issue and pull row shows its #N; titles and comment times link to themselves (#16418) #16419

Merged opened this

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

Merged

The owner found the issue list on his phone showing only text. Not a breakpoint: the issues and pulls lists, the Now page, Closes-with and land-as-is rows never drew the number at any width. row({num}) now leads the meta line with #N; the #N beside a title is a self-link; a comment's time links to its #c- anchor.

Notes

shipped production is serving it deploy 3fede26

opened this

The owner found the issue list on his phone showing only text. Not a breakpoint: the issues and pulls lists, the Now page, Closes-with and land-as-is rows never drew the number at any width. row({num}) now leads the meta line with #N; the #N beside a title is a self-link; a comment's time links to its #c-<id> anchor. test/row-numbers.test.ts fails on any issue or pull row without its number or a style hiding it.

🤖 Generated with Claude Code

commented

<!-- look-pages cbe49e70c6a0 --> Look pages for cbe49e7, from the gate:

  • look pages (named): this pull changes src/web/comments.ts, src/web/pages/thread.ts, src/web/studio/change.ts; a commit names /preview-admin/sample/pulls/3
commented

<!-- look-pages f9369a268cc8 --> Look pages for f9369a2, from the gate:

  • look pages (named): this pull changes src/web/comments.ts, src/web/pages/thread.ts, src/web/studio/change.ts; a commit names /preview-admin/sample/pulls/3
Approved

Every issue and pull row now leads its meta line with #N at every width, the page's own #N links to itself, and a comment's time links to its anchor. The preview answers 200, no row hides the number at any width, and the tests (source scan, style scan, rendered lists) would fail without the change. The terminal already shows #N in its lists. The how-to is a design area note, and README is untouched.

Two things I would do next:

  1. a.num.self in the h1 has no style of its own, so it takes the default link treatment next to a large title. Give it color: inherit (muted) with the accent on hover and focus only, so the heading keeps one accent. Make sure the 12px tap padding in .permalink is not what makes the heading jump.
  2. .row-num has no rule, so it inherits the meta style. That is fine today, but add a font-variant-numeric: tabular-nums rule so #9 and #10 line up down a list.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs