Repository navigation
Say Reply… in a thread's empty field at rest on a touchscreen - #7255
Merged
Merged
Conversation
On a phone, an open thread's reply field in the floating panel said nothing until tapped: a rule above blank space beside the leaf. The field's one word at rest, Reply…, stands at its end with the key that enters it, and since #6687 (e949c55) a finger is shown no keys and so no press at the field's end. Max picked the fix on the review page for Impeccable's critique of review-a-plan: show Reply… in the field at rest on a phone, as the field's own words rather than as a press at its end, so #6687's rule for presses stands. The thread's `turn` reading (panel/field-readings.js) takes a `keys` fact, filled from `advertisesKeys`, and under a finger claims the words the field says once tapped (`destination`, floating-panel.js `whereTo`): Reply…, or Reply to reopen… on a resolved thread, which is what a margin card's reply box says at rest. While a stance stands it still says nothing. What a user sees differently: on a phone, an open thread's field at rest reads "Reply…" at its start, where the tapped field's words stand, less the focus ring and microphone. A resolved thread's reads "Resolved" beside its start and "Reply to reopen…" at its far end, where the lead sends the words, as on desktop. Desktop is unchanged ("Reply… c"), and the page's field still says the agent's status under a finger. Tests: field-readings.test.mjs holds the finger's case, and fails on the old reading; test:runtime, the runtime type check, and test_whatever_the_field_holds_the_row_keeps_its_line under mouse and touch pass. Co-authored-by: Claude <[email protected]>
leaf-agent
approved these changes
Nov 26, 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.
On a phone, an open thread's empty reply field now says "Reply…" at rest as its own words, or "Reply to reopen…" on a resolved thread: the words the field already says once tapped. Until now a finger saw only a rule above blank space, because the thread field's one word, Reply, stands at the field's end with its key, and a finger is shown no press there.
Max picked this on the Impeccable trial's review page, over keeping the field blank. His rule for the field's end is unchanged: a finger still sees no press there.
field-readings.jstakes a new fact, whether the field shows keys, and its header states the decision. Desktop and the page's own field are unchanged.Tests:
field-readings.test.mjsgains a finger case;pnpm run test:runtimepasses, as does the touch and mouse case oftest_whatever_the_field_holds_the_row_keeps_its_line.