Repository navigation
Leave no blank band under an open view in the floating panel - #2885
Merged
Merged
Conversation
The share link's row moves from About to the page's own rows of the toolbar row contract (group "page", label "Link"), so the leaf's menu lists Copy link: Leaf's copy control worn by the row, one press that copies, puts the menu away and says "Link copied" in the field, with what the link grants as its hover name. Where the browser offers no clipboard, the row stands in About instead (groupOf), the link there to select, as before. About keeps the Leaf version. Classic chrome reads its own Share control, not the row, and is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Review: a clipboard that exists but refuses the write left "Link not copied" with no way to take the link. A refusal now moves copying rows to About for the rest of the page's life (canCopy) and opens About on the link. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Every open view kept the room of the line above the field, blank while it had nothing to say, so the send keys appearing on clicking in never moved the view's head; in Threads it read as a missing row. The user chose to drop it (2026-10-14), reversing that call; the module header's record is rewritten. - The room goes: the view stands right on the row. - The send keys move into Send's hover name, for every composer, where Return sends: "Send (⏎) · ⇧⏎ new line" (composing/input.js). Clicking in shows nothing new. - The line, when it has something to say (where the words go, a notice), lies over the view's foot across the seam with the row, in the room their paddings leave, so nothing at the view's head moves. With no view open it stands above the row as before, where nothing above it moves. Tests: the head-stillness journey now also holds that no band stands between view and row and that the line lies over the view without lifting it; the status journey reads the line without the keys. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # skills/leaf/assets/runtime/chrome.css # skills/leaf/assets/runtime/floating-panel.js # skills/leaf/assets/styles/floating-panel.css
leaf-agent
reviewed
Oct 14, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The new tooltip assertion fails on Linux: the shared keyboard formatter spells Shift+Enter as Shift+⏎ there, while the test requires ⇧⏎. The inline suggestion accepts both platform spellings. The PR description's fixed ⇧⏎ claim also needs to reflect the platform-specific text.
Review: Linux spells Shift+Enter "Shift+⏎", which the test refused. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 14, 2026
# Conflicts: # tests/browser/test_render_floating_panel.py
leaf-agent
approved these changes
Oct 14, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 14, 2026
… floating panel (#2902) In the floating panel, the line over the field (`.lf-fp-context`, #2885) and New reply (#2892) both stood over an open view's foot with no room of their own. The line reached 12px into the view, 6px past its padding, so at a long thread's end its last line ran into "Claude replied". New reply stuck over whatever the view ended with, so in a thread whose answer waited below the fold it sat on the user's own last turn ("And the weekend?"). - **One room at the view's foot.** The view's bottom padding is now the room the line lies in (`--lf-fp-foot-room`: the line's 18px less the row's 6px), kept whether or not the line shows. The line's coming still moves nothing at the view's head, and the view's last words always scroll clear of it. A view now keeps 12px rather than 6px under its last words, well short of the blank line #2885 removed. - **New reply on the panel's ground.** The press stands on a sticky strip (`.lf-fp-foot`) that fades in above it and runs down through that room, so the press and the line read as one foot, and text passing under reads as under a layer. At the view's end the strip stands where it stuck, in flow below the answer. - **The user's last turn stays in sight.** Where the user stood at the view's end when an answer arrives that doesn't fit, the view scrolls by the room the strip takes (`fitAnswer`). That scroll is the panel's own, so `sawAnswer` doesn't count it as the user reaching the answer, and New reply stays. Tests: `test_nothing_in_a_view_stands_under_the_line_or_new_reply` (new) holds that the last words' text box clears the line's and the press's boxes at the end of a long Threads list and a long thread the user types in, and that the user's own turn clears both while an answer waits. It fails without the change at the long thread's end, and at the held reply without the scroll. The Threads and one-message height checks now measure against a row's height and the foot room instead of fixed pixel bounds the extra 6px crossed. The kernel (#2889) is rebuilt for the runtime change. > _This was written by Claude Code on behalf of max-sixty_ --------- 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.
Every open view in the floating panel kept the room of the line above the field (
.lf-fp-context), blank while it had nothing to say, so the send keys appearing on clicking in never moved the view's head. In Threads it read as a missing row. The user chose to drop it (proposal "No blank band under an open view"), which reverses that call; the module header's record of it is rewritten with the reason and the rejected alternatives.composing/input.js, which already said "Send (⏎)"). Clicking in shows nothing new, since the focused placeholder already carries the send key.Tests:
test_clicking_into_the_field_moves_nothing_at_an_open_view_s_headnow also holds that no band stands between the view and the row (fails without the change), that the line lies over the view without lifting it, and Send's hover name; the status journey reads the line without the keys.