Repository navigation
Align floating-panel checks with Resolve's Threads landing - #3094
Merged
Merged
Conversation
Resolving the last open thread now returns to Threads. Check the page comment field at that landing, and reopen the resolved view before exercising Skip to Leaf controls. These checks previously expected the resolved thread to remain open. Behavior protected: Resolve moves to the next useful panel place; Skip still reaches Leaf controls in a resolved thread view.
leaf-agent
added a commit
that referenced
this pull request
Oct 16, 2026
## Cause [Main CI run 38880972663](https://github.com/max-sixty/leaf/actions/runs/38880972663) failed the WebKit reply-room check: after a long draft became short, Send's room sometimes remained on every line. The field measured equal scroll and client heights, yet its CSS still had 28px of end padding. Two transitions could leave the layout stale. The host and editor scroller can keep their box heights as the words shrink, so their resize observations miss the changed content height. After the `scrolls` custom state cleared, WebKit also sometimes retained the old `:state(scrolls)` padding rule. ## Change Observe the editor's content box, whose height follows the words, and use a `data-scrolls` attribute for the overflow CSS so clearing it invalidates the style. The committed kernel is rebuilt. This preserves the room after Send while the field actually scrolls and returns it to the last line when the words fit. ## Verification The WebKit long-to-short case failed repeatedly before the complete repair and passed eight consecutive diagnostic runs after it. Its original browser assertion, the paired Chromium case, and the floating-panel long-draft case pass. All 495 runtime tests and `pnpm run check` pass. The two floating-panel assertion failures from the same main run were repaired by #3094. --------- Co-authored-by: leaf-agent <[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.
Cause
Main CI run 38880972663 failed two floating-panel tests after #3090 changed Resolve's landing. Resolving the only open thread now returns to Threads, so the page comment field is visible and the thread's Resolve button is no longer in the active view. Both tests still asserted the earlier route.
Change
Check the page comment field at the new landing. For the Skip to Leaf controls case, open the resolved thread through the Resolved list before checking that Skip focuses the leaf in a view with no reply field. The tests continue to protect the user routes they name.
Verification
Both affected browser tests pass together locally. The WebKit reply-room failure from the same main run has a separate runtime cause and is being repaired separately.