Skip to content

Delete the registry's says key: modules draw their labels, and a gloss's explanation is the author's popover - #6339

Merged
max-sixty merged 7 commits into
mainfrom
delete-says
Nov 18, 2026
Merged

max-sixty merged 7 commits into
mainfrom
delete-says

Conversation

@max-sixty

@max-sixty max-sixty commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Removes the registry's says key, by which a widget declared attributes whose values the runtime wrote into the page and Python's passage reading modelled. Each of its three declarers shows the same words without it:

  • Board column: lf-board.js already drew the heading; the column drops the declaration.
  • Sample: lf-sample.js draws the caption from label when it connects.
  • Gloss: the explanation is the author's <span popover> after the phrase, in place of tip, as you picked on the HTML-first survey (item 6, "the explanation is content"). The module adopts it as its card.
<lf-gloss>walking skeleton<span popover>A thin, end-to-end path through the real system.</span></lf-gloss>

A popover's words stay in the page's reading, so quotes, comments, search and the clerk reach them. A new reading, named, leaves out popovers below the element being named, in both runtimes, so a heading holding a gloss isn't named by its explanation. Its named() export replaces wrote() in the package API, which only tests called. The frame edge trim leaves popovers out too.

Gone with the key: renderSaid, the version diff's said fold, the silent-word render check, the record-says refusal, the clerk's attribute word places and Python's said words. Net −437 lines.

What changes: an agent's --quote on a column heading or sample caption is refused (--section names the widget; a user's comment works as before), and search and quotes no longer run from a sample's caption into its content.

Calls you may reverse: popover rather than the survey's <small>, since popover says the element is shown on demand and <small> is formatting; column headings and sample captions stay drawn from label rather than #6325's authored title, since the label is both name and title there; a gloss with no popover child is a plain phrase, which page check accepts.

Evidence: stills of an open gloss card, a board and an exhibit match main, as do probes of captions, headings, the card's gap and a drag across a gloss. A fresh author given only the shipped instructions wrote the new gloss markup right first time. test:runtime, check:browser, tests/model and focused browser tests pass; a fresh-context reviewer and Codex reviewed it, and their findings are fixed.

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

leaf-agent
leaf-agent previously approved these changes Nov 18, 2026
Packages read a part's name with named() and the page's words with says();
wrote() had no caller outside tests, which now read named().
@max-sixty
max-sixty merged commit 0c84912 into main Nov 18, 2026
5 checks passed
@max-sixty
max-sixty deleted the delete-says branch November 18, 2026 03:38
leaf-agent pushed a commit that referenced this pull request Nov 18, 2026
…ts class (#6344)

An `lf-sample`'s `label` is now its name alone, as option and board
cards' labels have been since #6325: Leaf names a thread on the sample
by it, and the sample no longer draws it as a caption. The theme's
"quoted" note stays over a quoted sample. Every sample in the docs and
examples already has a paragraph before it saying what it shows; the one
whose label carried a qualifier (an illustrative excerpt in
`docs/how-it-works.html`) now says so in that paragraph.

Board columns keep drawing their heading from `label`. The column is a
list the board builds, its `members` content refuses an authored
heading, and a screen reader would read one as a list item. The heading
is now marked by the class `lf-column-name` rather than a
`data-lf-said="label"` value, the last use of the value convention the
deleted `says` key left. quietWord's lookup of a drawn title goes with
it, and two widgets that hand-wrote `data-lf-said="status"` now call
`generatedElement()`.

What to weigh: interactive and live samples lose their caption line, and
`lf-text-document` still draws its `label` as a caption over a file
listing, since that caption falls back to the file's path.

Max asked for this follow-up to #6339. Tests: the runtime suite,
`check:browser`, `tests/model`, and the browser and journeys tests the
change touches pass; the catalog previews are republished.

> _This was written by Claude Code on behalf of max-sixty_
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