Skip to content

Head every list's groups one way, and say an empty list one way - #4733

Merged
max-sixty merged 8 commits into
mainfrom
list-ui-fixes
Oct 30, 2026
Merged

max-sixty merged 8 commits into
mainfrom
list-ui-fixes

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Leaf's lists headed their groups four ways and said they were empty three ways. This gives each one shared part, beside the row layout #4684 landed in controls.css, and brings three drifted copies of the label voice back to it.

Group headings (.lf-rows-head)

Before, the panel and the command reference set group names in small capitals, the Page Map in bold ink, a recording's Moments muted at the rows' weight, and a side tab list in small capitals of its own. On me's and On Claude's counts also stood short of the rows' ends.

  • Voice. A heading is now the sans at 600 in the muted ink, at the smallest rung, so it reads as a label over its rows rather than another row. It keeps its author's capitals, because a group is often named by a page heading or a goal: small capitals turned the Page Map's "iOS reconnect stall" into "IOS RECONNECT STALL".
  • Placement. In a list, a heading stands as a line. Its name starts where the rows' marks do, and its count ends at the rows' end. It isn't a row of the list's columns: a count there would size the column the rows' ends share, and On me's lines, whose ends sit inside the names' column, would all step back.
  • Folding heading. Threads' Resolved heading stays a row press wearing the voice, with its arrow in the rows' lead.
  • Room. Groups are parted by the room above each heading: 10px above and 1px below, so a heading belongs to the group under it. The Page Map's rules between groups and the rule before Resolved are gone. A rule still parts On me's runs of unheaded cards.
  • Lone card. A card alone in its group names the group in the same voice, so a group's name reads one way whether one card or several stand in it.

Empty lists (.lf-rows-empty)

The Page Map and the command reference centred "no match" in their dialogs. The panel inset its own lines, and Moments padded its own. Each now says it in one muted line where the first row would stand, starting on the rows' edge, and every such line ends as a sentence. A file tree, whose box has a fixed height, still centres its message.

The label voice

The label voice (base.css, .lf-label) now names regions only; groups take the heading above. Two region names had drifted from it: a live sample's note, at weight 400 and 0.08em, and a stacked tab's name, at 400 and 0.05em. Both now state the voice exactly, since a generated label can't wear the class.

Sentence case over small capitals

Small capitals set a heading apart from rows that are muted too, as a side tab list's are, but they mangle authored names, and at the smallest rung sentence case already reads as a heading there. Switching would change one rule. The review page shows both.

Checks

  • Tests: the browser tests covering the changed lists pass (50), as do the runtime's Node tests (697) and pnpm run check:browser. test_trace_moment_lands_its_saved_element_over_the_trees_reading[reduce] fails here with the trace widget at main too, so this change doesn't cause it.
  • Captures: before and after, in both schemes, for Threads, On me, On Claude, the Page Map, the command reference, Moments and a side tab list, plus leaf-dev stills for the samples and the side tab list.
  • Review: a fresh look at the captures found the first headings as large as the rows and floating between groups. It also found a lone card naming its group in another voice and empty lines punctuated two ways; all are fixed. A Codex review of the diff found no cascade or consumer problems; its one finding, a file tree's centred empty message, stays, since that box has a fixed height. test_a_page_comment_sent_before_the_first_reading_stands_in_the_panel errors at teardown on an unchanged hidden write to .lf-fp-quick, on main's tree as well.

This was written by Claude Code on behalf of max-sixty

Lists drew their group headings four ways: small capitals in the panel and the
command reference, bold in the ink in the Page Map, muted at the rows' weight over
a recording's moments, and a side tab list's labels in small capitals of their own.
On me's and On Claude's counts stood short of the rows' ends. They now share one
heading (controls.css, `.lf-rows-head`): the compact heading a table's and a board's
column headings wear, the sans at 600 in the muted ink, keeping its author's
capitals, since a group is often named by a page heading or a goal. It stands as a
line of its list, its name where the rows' marks start and its count where their
ends stop, and groups part by the room above each heading, so the Page Map's rules
between groups and the rule before Resolved go. A rule still parts On me's runs of
unheaded cards.

Empty lists said so three ways, centred in the dialogs and inset in the panel; they
now share one muted line in the first row's place (`.lf-rows-empty`).

The label voice now names regions only. A live sample's note, an option's fact
names and a stacked tab's name drifted from it (serif, 400 weight, 0.05-0.08em);
they now state it exactly.

Tests follow the parts' new classes.
… below

A fresh look at the captures found the headings as large as the rows, so where
the rows are muted too, as a side tab list's and On Claude's are, a heading read
as one more row; and the room was even above and below, so a heading floated
between groups. Headings now stand at the smallest rung, with 10px more above
than the 1px below. A card alone in its group names the group in the same voice
a heading does, so a group's name reads one way whether one card or several
stand in it. Empty lines end as sentences.
# Conflicts:
#	dist/kernel/kernel.json
A fact's name labels a value, not a region, so the label voice, which now names
regions only, doesn't claim it.
# Conflicts:
#	dist/kernel/kernel.json
@max-sixty
max-sixty merged commit 99978e5 into main Oct 30, 2026
3 of 4 checks passed
@max-sixty
max-sixty deleted the list-ui-fixes branch October 30, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants