Skip to content

Leave no blank band under an open view in the floating panel - #2885

Merged
max-sixty merged 9 commits into
mainfrom
floating-no-band
Oct 14, 2026
Merged

max-sixty merged 9 commits into
mainfrom
floating-no-band

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

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.

  • The room goes: an open view stands right on the row.
  • The send keys move into Send's hover name, for every composer where Return sends: "Send (⏎) · ⇧⏎ new line" on a Mac, "Shift+⏎" elsewhere (composing/input.js, which already said "Send (⏎)"). Clicking in shows nothing new, since the focused placeholder already carries the send key.
  • The line, when it has something to say (where the words go once words hide the placeholder, or a notice), lies over the view's foot instead of pushing the view up. It stands across the seam between view and row, in the room their paddings already leave between the view's last words and the field's, so it covers about 11px of the view, mostly the view's own padding, and nothing at the view's head moves. With no view open it stands above the row as before, where nothing above it moves.

Tests: test_clicking_into_the_field_moves_nothing_at_an_open_view_s_head now 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.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 7 commits October 14, 2026 11:26
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 leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
leaf-agent previously approved these changes Oct 14, 2026
# Conflicts:
#	tests/browser/test_render_floating_panel.py
@max-sixty
max-sixty merged commit fad255b into main Oct 14, 2026
3 checks passed
@max-sixty
max-sixty deleted the floating-no-band branch October 14, 2026 20:09
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants