Repository navigation
Name Leaf's UI terms as the web does: full-height, drawer, focus ring, bottom bar, sticky header, picker - #1399
Merged
Merged
Conversation
…the web does
Leaf's vocabulary had coined words for things web and UI design already name, and
agents repeated them to users ("a held workspace"). The glossary now names the
standard term wherever one exists, and says why for each coinage it keeps:
- held workspace -> full-height workspace (`--lf-held` -> `--lf-full-height`);
"holds the window" -> "fills the window"
- tray -> drawer (Asks drawer, Leaves drawer; trays.js -> drawers.js,
asks/tray-list.js -> asks/drawer-list.js, `lf-tray-*` classes, the
`navigation.drawer.*` and `ask.drawer` command ids, the persisted
`lf-drawer-slot-width` key, and the visible copy "Go to the Asks drawer")
- here ring -> focus ring (`--here-ring*` -> `--focus-ring*`, `--here-shadow`,
`--here-surface`, `--lf-here-ring` -> `--lf-focus-*`)
- bottom band / shortcut band -> bottom bar (`--lf-band-h` -> `--lf-bottom-bar-h`,
`declareBottomBand` -> `declareBottomBar`)
- sticky cover -> sticky header (`declareCoverRoom` -> `declareStickyHeaders`)
The glossary's "How to use the vocabulary" now asks for the web's name first, and
a new "Coined terms" section records why standing, trip, journey, landing, floor,
unwind, walk, frame, reading posture, and margin resident stay.
No behavior moved; tests were renamed with the terms. The webawesome bundle, the
corpus, and the registry key index are regenerated.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…the web does Follows the first rename with the review's findings and the terms it left: - shortcut shelf -> expanded shortcut bar: the announcements now say "Shortcut bar expanded/collapsed", the scope is "expanded shortcut bar", the command id is `shortcut.bar.collapse`, and the bar's `data-lf-shelf-open` is `data-lf-expanded` - banner shelf -> banner toolbar (banner-shelf.js -> banner-toolbar.js) - chooser -> picker: the target picker (`target.picker.*` ids, "Close the target picker"), the version picker (version-chooser.js -> version-picker.js) - the full-height, bottom-bar, and fills-the-window wording the regex missed across line breaks and in test names - the arrangement eval's patch of the visual-review guidance matches the new sentence again The glossary gains a Bottom bar entry, says the focus ring has an outline and a shadow carrier, and replaces the claim that shelf and chooser are standard terms with the reasons rail, details shelf, layer stack, and key badge stay. No behavior moved. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 28, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 28, 2026
A comment merged after the tray-to-drawer rename (#1399) still said "Leaves tray". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Leaf's vocabulary had coined words for things the web and UI design already name, and agents repeated them to users ("a held workspace"). This renames each to the standard term across the glossary, identifiers, CSS custom properties, references, shipped guidance, visible and announced copy, and tests:
--lf-held→--lf-full-height)drawers.js,asks/drawer-list.js,lf-drawer-*,navigation.drawer.*,ask.drawer, thelf-drawer-slot-widthkey, "Go to the Asks drawer")--here-ring*,--here-shadow,--here-surface,--lf-here-ring→--focus-*/--lf-focus-ring)--lf-band-h→--lf-bottom-bar-h,declareBottomBand→declareBottomBar)declareCoverRoom→declareStickyHeaders)shortcut.bar.collapse,data-lf-expanded)banner-toolbar.js)target-picker.js,version-picker.js,target.picker.*)The glossary's "How to use the vocabulary" now asks for the web's name first. A new "Coined terms" section records why the remaining coinages stay: standing, trip and journey, landing and floor, unwind, walk, frame, reading posture, margin resident, rail, details shelf, layer stack, and key badge. It also gains a Bottom bar entry.
No behavior moved; tests were renamed with the terms. The webawesome bundle, the corpus, and the registry key index are regenerated. Locally,
uv run pytest testspasses (1425) and so doesnpm run test:runtime.A branch that adds code on the old names can move it over after merging main with
git ls-files -z | xargs -0 perl rename-terms.pl; the script is idempotent and sits outside the repo at~/.tmp/leaf.standard-terms/rename-terms.pl.🤖 Generated with Claude Code