Repository navigation
Stand Other responses in the empty comment field's corner - #4136
Merged
Merged
Conversation
Throwaway: html[data-proto=a|b|c] switches between hiding the button once the field has words, standing it inside the field until then, and dropping it. The field records data-words for the first two. Not for landing; the user picks one on the composer-other-responses Leaf page. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The ⋯ that opens Suggest and the reactions moves from a bordered button beside the comment field into the field's corner, beside Dictate, and only while the field is empty. The draft's first word takes it away, so the field spans the whole bar in every state and nothing moves as the user starts typing. Tab and `e` still open the picker with words in the field; it then stands over the field instead of the ⋯. The user picked this on 25 October over keeping the button beside the field, hiding that button at the first key (which widened the field under the caret), and dropping it for keys only (which left a mouse or finger no route). selection.js's header records the choice and what it rejected, reversing #3634's placement. Behavior changes: - The field gains the button's 40px of the 294px bar, and a sent comment's message again ends at its card's Reply field. - A field holding words shows only Send in its corner; a pointer reaches the picker from an empty field, or by Tab and `e` from a draft. - A bar with only a target chosen shows Comment alone; its ⋯ appears once Comment opens the field. Tapping the floating panel's offer of selected words opened the picker: the panel opens the comment box on the release, and the click the browser delivers after it landed on the ⋯ now standing under the finger. The release claims that click, through a `claimReleaseClick` in pointer.js that held-word.js's own copy of the same rule now uses too. Tests: the picker test asserts the ⋯ inside the empty field, gone with words, and the field's width unchanged; it opens the picker by pointer from an empty field. Its panel touch case fails without the claimed click. The narrow-bar test asserts the field reaches the bar's content edge. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # dist/kernel/kernel.json # dist/kernel/runtime/bundle-answer.js
leaf-agent
previously approved these changes
Oct 25, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 25, 2026
# Conflicts: # dist/kernel/kernel.json
leaf-agent
previously approved these changes
Oct 25, 2026
# Conflicts: # dist/kernel/kernel.json
# Conflicts: # dist/kernel/kernel.json # dist/kernel/runtime/bundle-errors.js
leaf-agent
previously approved these changes
Oct 25, 2026
main's #4124 stood the ⋯ over the field's end in the floating frame's head row; this branch stands it inside the empty field instead, so that rule and its tests' expectations go, and selection.js's header records the replacement. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 26, 2026
# Conflicts: # dist/kernel/kernel.json
leaf-agent
previously approved these changes
Oct 26, 2026
# Conflicts: # dist/kernel/kernel.json
leaf-agent
previously approved these changes
Oct 26, 2026
# Conflicts: # browser/runtime/floating-panel.js # dist/kernel/kernel.json # dist/kernel/leaf.js # dist/kernel/runtime/bundle-errors.js # dist/kernel/runtime/bundle-surfaces.js
leaf-agent
previously approved these changes
Oct 26, 2026
# Conflicts: # dist/kernel/kernel.json
leaf-agent
approved these changes
Oct 26, 2026
This was referenced Oct 26, 2026
leaf-agent
added a commit
that referenced
this pull request
Oct 26, 2026
The shadow-seating journey checked the configured 60px text inset while the field was empty. #4136 deliberately reserves extra room there for Other responses until typing hides the control. Check the 60px inset after typing, and compare populated fields across floating and shadow seating alongside the existing empty-field comparison. Product behavior is unchanged. Both desktop/light and touch/dark cases failed before this change and pass afterward (`uv run pytest tests/journeys/test_render_diff_controls.py::test_response_and_message_reading_keep_their_face_across_shadow_seating -q -n0`). Closes #4240 — automated triage Co-authored-by: leaf-agent <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 26, 2026
Main's #4136 built the ⋯ trigger with the symbol face's classes spelled in selection.js; on this branch every control takes its face from its role through offerAction, which test_controls_are_built_by_role_and_never_by_face holds. The trigger now comes from offerAction("symbol", ...), with the same name, tooltip and icon. 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.
The ⋯ that opens Suggest and the reactions moves from a bordered button
beside the comment field into the field's corner, beside Dictate, and
only while the field is empty. The draft's first word takes it away, so
the field spans the whole bar in every state and nothing moves as the
user starts typing. Tab and
estill open the picker with words in thefield; it then stands over the field instead of the ⋯.
The user picked this on 25 October over keeping the button beside the
field, hiding that button at the first key (which widened the field
under the caret), and dropping it for keys only (which left a mouse or
finger no route). selection.js's header records the choice and what it
rejected, reversing #3634's placement. It also replaces #4124's ⋯ over the
field's end, in the head row of the floating frame, which landed on main
meanwhile and only the floating presentation had.
Behavior changes:
comment's message again ends at its card's Reply field.
the picker from an empty field, or by Tab and
efrom a draft.once Comment opens the field.
Tapping the floating panel's offer of selected words opened the picker:
the panel opens the comment box on the release, and the click the
browser delivers after it landed on the ⋯ now standing under the
finger. The release claims that click, through a
claimReleaseClickin pointer.js that held-word.js's own copy of the same rule now uses
too.
Tests: the picker test asserts the ⋯ inside the empty field, gone with
words, and the field's width unchanged; it opens the picker by pointer
from an empty field. Its panel touch case fails without the claimed
click. The narrow-bar test asserts the field reaches the bar's content
edge.