Repository navigation
Give every list that groups its rows the sticky band - #5429
Merged
Merged
Conversation
In the dark scheme each status tint was lighter than the paper, as a card and the panel are, and tuned on the paper alone. On a card it stood 4.5 apart from its ground (OKLab, ΔE × 100) and on the panel 3, so the "recommended" tag in On me lost its pill and read as green words. The light tints stand 5 to 6 apart on every ground. The dark ok, warn and danger tints now take more colour, standing at least 5 apart from the paper, a card and the panel's ground, about as far as the light tints stand. Each moved about 2 from its old value; the light values and the diff and highlight tints are unchanged. The tokens' header records the rule.
The band On me's groups wear now lives in the shared list style (`.lf-rows-group` in controls.css), and Threads, Page Map and the command reference wear it. Threads lists its open threads under Open, and Resolved is a band; a search lists its matches under Matches. Page Map's groups and the reference's sections stick as the list scrolls. Page Map's group names take one line, cut where the band ends, where they wrapped to two. A band keeps a 4px gap below it, since the first row's wash met the band and the two read as one block, so On Claude's lines stand 4px lower under a band; On me's cards stand where they did. Under a finger every band is the aim floor's height, since one that folds its group has no room for a reach. A band sticks at the slot it meets and passes the slot plus its height to its rows (`--lf-rows-slot`, base.css at `--lf-top`), so a landing clears it on any surface. The record of the design and what it rejected moves to controls.css with it.
…eader Threads' Open and Resolved bands count the threads the page holds in that state, as the tab does, so they agree with it while the list holds a row behind its notice. A band sticks at the slot it meets. Bands take the aim floor's height under a finger.
# Conflicts: # tests/browser/test_chrome_contracts.py
leaf-agent
previously approved these changes
Nov 5, 2026
leaf-agent
approved these changes
Nov 5, 2026
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.
On me and On Claude group their rows under a tinted band that sticks to the top of the list while the group scrolls under it (#5318). Threads, Page Map and the command reference grouped theirs under a muted line that scrolled away with its rows. This moves the band into the shared list style, so every list that groups its rows wears it, as chosen on 4 November.
What the reader sees
How it works
The band is
.lf-rows-group > .lf-rows-headinbrowser/styles/components/controls.css, with no new class, so a heading outside a group's box (a tab strip's group label, a trace's Moments, a card's place line) stays a plain line. The comment there holds the design and the alternatives it rejected, moved fromfloating-panel.js.A band sticks at the
--lf-topslot it meets and hands its rows that slot plus its own height (--lf-rows-slot,--lf-rows-band), so a row reached by the keys lands clear of the band, and geometry.js's reading of what the headers cover counts it. Each scroller says how far its band reaches past the rows to its edges (--lf-rows-bleed) and which ground the band's tint mixes into (--lf-ground). Page Map restarts the slot for its list throughdata-lf-scroll. The reference resets the slot by hand, since a tab stop on its results would sit between the search field and its listbox.floating-panel.jsdraws every grouped list through onebandedGroups. Threads keeps its.lf-fp-listwrapper, which the margin tests read.Testing
test_a_band_names_the_group_passing_under_it(tests/browser/test_chrome_contracts.py) scrolls Threads, Page Map and the reference in Chromium and Firefox, checks that a band stands at the list's top across its full width, then walks up the rows by ArrowUp and checks that no focused row stands under a band. With the slot hand-off removed, all six cases fail. The panel tests that read the old.lf-fp-on-groupselector now read the band, and the Resolved-news test checks both bands' counts. Those tests and the band test pass on the branch merged with main.Before/after stills in both schemes and in Firefox went to the maintainer on a Leaf page. They show On me and On Claude's desktop states with no pixel changed.
Left as they are