Repository navigation
Keep the On view's tabs inside the panel when a tab is wider than its line - #6244
Merged
Merged
Conversation
… line The tab strip (`.lf-fp-filters`) is meant to scroll when its tabs don't fit, but the crumb around it keeps the strip's min-content width, so a tab longer than the line, such as On <agent> naming an agent by a long description, widened the strip past the panel, whose card clips it. The strip never overflowed itself, so it never scrolled, and the tabs after the long one (Threads) were out of reach by pointer or touch. `.lf-fp-controls` now gives its width as a container's, and the strip is at most that wide, so it scrolls as its comment says. Tabs that fit lay out as before (`leaf-dev stills` on-me, on-agent and panel-leaf: 0 px changed). Since #6230 every test helper reaches Threads through the leaf's menu, so test_a_message_reaction_trigger_meets_its_header_and_covers_no_words, whose agent has such a name, timed out on the Threads tab at both widths. It fails before this change and passes after. Refs #6239
max-sixty
added a commit
that referenced
this pull request
Nov 17, 2026
Brings in #6234 (grouped declarations; an `lf-options` asks with no attribute; `selected` and `required`), #6238, #6244, #6232 and #6214. - Each named group stays, with main's attributes inside it: no `choose`, `selected` for `chosen`, `required` for `needed`, swept over the branch's own converted examples, fixtures, evals and tests. - `lf-ask` stays deleted, and with it `state.encloses`, which only `lf-ask` declared: dropped from the declaration schema, `$keys` and the generated types. - Main's `author.instructions` and examples carry the branch's text: the named group in place of `lf-ask` for `lf-options`, `lf-option`, `lf-draft`, `lf-tally`, `lf-deck` and `lf-playground`. - The kernel marks take main's `paint.flow`, which the earlier merge had dropped, so a tab set written `flow="page"` is painted as one again. - `PAGE` keeps main's settled `PAGE_GROUP` inside the branch's named groups. - Main's fixtures whose option groups now ask stand in named groups where they were bare on a page.
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.
The On view's tab strip (
.lf-fp-filters) is meant to scroll when its tabs don't fit, but the crumb around it keeps the strip's min-content width. So a tab longer than the line, such as On ‹agent› when the agent's name is a long description, widened the strip past the panel, and the panel's card clipped it. The strip never overflowed itself, so it never scrolled, and the tabs after the long one, Threads included, couldn't be reached by pointer or touch. At 360 px the strip measured 667 px wide inside a 340 px panel..lf-fp-controlsnow gives its width as a container's, and the strip is at most that wide (max-width: calc(100cqi + …), the extra covering its focus-ring margins). The strip now scrolls, as its comment already says it should. Tabs that fit lay out as before:leaf-dev stills --state on-me --state on-agent --state panel-leafchanged 0 px between base and head at 1440×900.This turned up through #6230, which made every test helper reach Threads through the leaf's menu.
test_a_message_reaction_trigger_meets_its_header_and_covers_no_words[360-True]and[1440-False]use an agent with a long name. Both time out on the Threads tab at maina64b8ce2fand pass with this change. The 18 browser tests that read the panel's tabs or controls also pass.Not fixed here: the third failure in #6239, the
test_a_close_request_takes_one_step_at_a_timesubtest "Escape takes the view and leaves the selection to back". The leaf's menu opens on its search field, and that field takes the page's selection; this was already true before #6230. Reaching Threads byg Tinstead keeps the selection, but the subtest then fails about half the time when it runs alongside other tests. In those runs a comment composer for the selection is open, and itscomposer.closetakes Escape ahead of the focused Threads view. My diagnosis is on the issue.Refs #6239 — automated triage