Skip to content

fix: account for panel clearance in workspace tab geometry test - #4281

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4278
Oct 26, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The workspace tab test still expected its sole block to reach the panel's border edge after #4269 moved bottom chrome clearance inside the final reading region. That deliberate padding is the reported 72px gap. Measure against the panel's content box, retaining the checks that upgrade preserves the block's height and inline edges. This changes only the test, preserving #4269's layout and clearance behavior.

The original assertion reproduces the reported failure on current main. The corrected test and all five test_workspace_end_room_stays_inside_the_last_reading_region cases pass locally (6 passed). Those cases protect the clearance transfer introduced by #4269. Standalone Ruff could not run because its executable is absent in this environment.

Closes #4278 — automated triage

PR #4269 moved bottom clearance into the final reading region. Measure the sole block against the tab content box while retaining the initial-to-upgraded height and inline-edge assertions. The original test fails with a 72px gap; the corrected test and five workspace clearance cases pass.

Closes #4278
@leaf-agent
leaf-agent merged commit b028d7c into main Oct 26, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4278 branch October 26, 2026 18:37
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.

Workspace tab leaves a 72px gap below its block before upgrade

1 participant