Repository navigation
Hold a margin card's top through a refused reply, as through the send it answers - #6199
Merged
Merged
Conversation
… it answers Since #6091 a refused reply dropped its margin card 56px and raised its box 24px: lifting the send's mask republishes the drafts list, so the margin re-places the card after the words return, and heldEdge read words in a focused box as the user writing, which holds the foot. Words under a refusal's cover show no line being typed, so the rule now counts them as it counts an empty box, and the card holds its top while its box rises into the refused turn's room. Max chose this over letting the card drop on 16 November 2026. errorOver moves to errors.js, which owns the cover, so the box and the card read one definition. test_refused_reply_retains_its_live_foot[margin] passes again.
leaf-agent
approved these changes
Nov 16, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
This finishes #6178: #6188 fixed its missing comment marker, and this PR fixes its refused reply's 56px drop. Consider adding Closes #6178 to the description so the merge closes the cause issue. Locally, test_refused_reply_retains_its_live_foot passes in every parametrization, as does test_margin_card_holds_its_top_while_read_and_its_reply_while_written, the typed-rise case #6178 asked a fix to keep.
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.
A refused reply no longer drops its margin card: the card holds its top, as it does through the send, and its reply box rises into the refused turn's room. Since #6091 the card's top dropped 56px and its box rose 24px, sliding the card out from under the pointer, and
test_refused_reply_retains_its_live_foot[margin]failed on main.The card's one edge rule (
heldEdge,thread-preview.js) holds the foot while the user writes words in its reply box. After a refusal the words return to the focused box under the refusal's cover, which shows no line being typed, so the rule now counts covered words as it counts an empty box. No hold, timer or memory of the send is added.errorOvermoves fromcomposing/input.jstoerrors.js, which owns the cover, so the box and the card read one definition.Closes #6178: #6188 fixed its other journey, and this fixes the refused reply.
Max chose keeping the top still over letting the card drop, from captures of both on his Leaf page. Tests: the refused-reply journey passes at all four places;
pnpm run test:runtimepasses.