Skip to content

Align floating-panel checks with Resolve's Threads landing - #3094

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38880972663
Oct 16, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38880972663

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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.

This was written by Codex on behalf of max-sixty

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
leaf-agent merged commit 405b5ff into main Oct 16, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38880972663 branch October 16, 2026 11:51
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]>
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.

1 participant