Skip to content

fix: check the floating reply field's painted surface - #4420

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4417
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4417

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The compact-response test still read the editor's border, background and filter after #4379 moved that paint onto the shared box-motion surface. It therefore compared a transparent editor with a painted suggestion button, despite the field retaining its visible frame.

Read the field's painted ring and fill, including their inset difference for border thickness, and read elevation from the surface. Keep the typography and placeholder checks, and compare border colour too. This changes no on-screen state or product code and preserves #4379's moving field surface.

The exact reported test fails on current main and passes with this update. A temporary red-ring mutation makes the updated test fail on border colour. Local Ruff checks could not run because Ruff is unavailable; PR CI provides the lint gate.

Closes #4417 — automated triage

The field's border, fill and shadow moved to the shared box-motion surface in #4379. Read that surface instead of the transparent editor, preserving the compact-family comparison and checking its border colour as well. The original assertion fails on main; the revised test passes and a red-ring mutation fails it.

Closes #4417
@leaf-agent
leaf-agent merged commit 4f396b6 into main Oct 27, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4417 branch October 27, 2026 09:33
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.

Floating response bar field and suggestion have different border and background paint

1 participant