Skip to content

fix: reserve the detail dial width before upgrade - #5018

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4949
Nov 1, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The detail dial introduced in #4506 reserved its height but left its empty fit-content host at zero width. Its theme now measures the three button labels invisibly in their interface font, including the buttons' insets and the row's gaps, until the element is defined. The completed dial keeps its existing size, controls and placement.

The existing detail-package widget-quality test fails before and passes after in both column and workspace layouts, without changing its allowances. The dial's folding/place-retention/restore journey and all 737 runtime tests pass. git diff --check passes; Prettier could not run because it is unavailable in this checkout.

A served startup comparison reaches upgrade and presentation with the same 33 code requests and 31 JavaScript requests, with unchanged JavaScript bytes. The theme adds about 0.3 KB of CSS to reserve the control's actual room before upgrade; no script or request is added.

Completed dial, base and candidate

Fresh served preview screenshots are pixel-identical. The change is to the invisible pre-upgrade box: from zero width to the width of the buttons that will occupy it.

Before:

Base completed dial and page

After:

Candidate completed dial and page

The detail-dial stills comparison also ran: it reported a selected-button border paint difference with no computed-style differences. The fresh HTTP preview pair above was checked separately and has no pixel difference.

Closes #4949 — automated triage

The dial introduced in #4506 reserved its height but its empty fit-content host had zero width. Measure its three labels invisibly in the button face until definition, including the button insets and row gaps. This keeps the existing completed control and the authored page layout unchanged.

Closes #4949
@leaf-agent
leaf-agent merged commit da33c53 into main Nov 1, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4949 branch November 1, 2026 23:07
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.

Dial widget has zero width before upgrade

1 participant