Repository navigation
Tighten Skim's ⋯ and keep it inside its section, quicken the depth pages, and fade Skim once a gap is open - #6618
Merged
Merged
Conversation
…45px Max: "these gaps are very big, which cuts the space saving we get from skim ... Skim shouldn't tighten the UI, but its own UI should be tight", keeping the ⋯ markers as they are. Each ⋯ took a 28px row, its press's height, and kept its own margin below it, so on the incident report a gap's ⋯ added 45px to Read's spacing between the blocks around it: from a gist to the next section's heading was 93px at Skim where Read's gap is 48px. The ⋯ now takes a 16px row that its press overhangs and stands into the margins of the blocks around it, so the same span is 65px. The page's own spacing, such as a heading's room above it, stays as the page set it.
leaf-agent
previously approved these changes
Nov 20, 2026
…kim once a gap is open A ⋯ now stands after the blocks it folds rather than before them. Before, the folded blocks after it, zero-height boxes that margins do not collapse through, ended the section 8px above the ⋯'s row, so a comment's aim or a walk's ring on the section cut through the ⋯ (Max's report). As the section's last box, its end margin escapes into the gap after the section: -16px there, so a section-ending ⋯ stands 32px above the next heading where it stood 40px, against Read's 48px. Between kept blocks it keeps -8px. A gap that spans a section boundary keeps its ⋯ in the box it starts in. The depth pages and their frame arrive as one: a 4px drop and a fade over the disclosure motion (120 ms), on the panel. They grew from 60% of their height over 160 ms, and the frame faded in separately, standing round a page still growing into it. The leave stays Leaf's: gone at once 200 ms after the pointer leaves. Pressing a ⋯ at Skim marks the dial (data-lf-dial-unfolded), and Skim's selection fades to say the page shows more than Skim. Pressing Skim then folds the opened gaps again, only those, keeping the reader's place; pointing at it fades what that would fold. Space on a checked radio fires no click, so the keyboard route is an arrow away and back. test_dial.py: the ⋯ is inside its section's box, Skim's border changes after an unfold and returns when Skim is pressed, which folds the gap again; the sheet heights are read once the entry ends.
… text's edge A fresh visual review found the faded Skim read as disabled: its words fell to 4.0:1 against Read's 5.9:1 in light, 4.3:1 against 7.5:1 in dark. Only the border steps back now; the words keep the accent. The ⋯ glyph stood 8px in from the text's start edge, inside its 28px press. The marker now starts 8px before the column, so the dots line up with the text and the press hangs out past it, as a heading's link does.
leaf-agent
previously approved these changes
Nov 20, 2026
test_a_press_wears_its_role_s_face_alone refused the dial's own rule restyling its checked depth. The state now rides Skim's button as data-lf-partial, a variant the word role names in control-faces.js and controls.css draws, so any word toggle whose selection the page shows only in part can wear it. The look is unchanged.
leaf-agent
approved these changes
Nov 20, 2026
This was referenced Nov 21, 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.
Tightens what the Skim control draws of its own. At Skim each folded run of blocks shows a ⋯ the reader presses to unfold it.
data-lf-partial(a selection the page shows only in part), named incontrol-faces.jsand drawn incontrols.css, since a surface may not restyle a press itself.What to weigh: the section-ending pull assumes the page leaves at least about 22px before the next block, as a heading's room does; in a padded box ending in a ⋯ the ⋯ overhangs the padding instead. Space on the checked Skim fires no click, so the keyboard folds again by an arrow away and back.
Max asked for each change on the Leaf page; a fresh visual review of the captures led to the border-only fade and the dot alignment. Tests:
test_dial.pycovers the ⋯ inside its section, the fade and the fold again, in Chromium and Firefox;check:browserpasses.