You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_bundled_widgets_meet_the_widget_quality_checks[default]: lf-note, lf-code and lf-shot change their first box since #6109, #6157 and #6142 #6181
tests/journeys/test_widget_quality.py::test_bundled_widgets_meet_the_widget_quality_checks[default] fails on main with five keeps-first-box findings that known_widget_findings.py doesn't list. They come from three PRs merged between scheduled runs 43706054091 and 43853405137. Each was found by git bisect run on whether the test's output carries that finding. It still fails on main d4dd8a418.
<lf-code id=bracket-walk> keeps-first-box: in a column page, 720x181 before upgrade, 720x161 once presented
<lf-note> keeps-first-box: in a column page, 333x47 before upgrade, 365x47 once presented
<lf-shot id=shot-cards> keeps-first-box: in a column page, 720x504 before upgrade, 720x486 once presented
<lf-code id=bracket-walk> keeps-first-box: in a workspace page, 1215x169 before upgrade, 1215x151 once presented
<lf-note> keeps-first-box: in a workspace page, 311x45 before upgrade, 342x45 once presented
Each finding is a widget whose first paint differs from its presented box, so the page below it moves as it upgrades. The test's rule is to fix the widget, not to list a new finding. It first failed in scheduled run 43853405137 on Linux at 1740bb536.
lf-code id=bracket-walk (Name a code widget's language with a language-… class, as any code block does #6157): the registry example had a newline after <code class="language-python">. That newline is text, unlike one right after <pre>, so it showed as a blank first row before upgrade. The example now starts its code on that line. About 14 blocks in examples/ and docs/ still have the same newline. The PR names them as a remaining gap.
Activity
leaf-agent commentedon Nov 16, 2026
#6191 fixes all five findings. On this runner the test fails on main
f1b367375and passes on the branch.lf-note(Draw code notes as cards under the key they explain, and let the reader hide them from the block's toolbar #6109): the line's indent was part of the note's padding, and the module only sets it when it docks the note. It's now the note's inline-start margin, so the drawn card doesn't move and its box keeps its first-paint size.lf-code id=bracket-walk(Name a code widget's language with a language-… class, as any code block does #6157): the registry example had a newline after<code class="language-python">. That newline is text, unlike one right after<pre>, so it showed as a blank first row before upgrade. The example now starts its code on that line. About 14 blocks inexamples/anddocs/still have the same newline. The PR names them as a remaining gap.lf-shot id=shot-cards(Hold lf-shot's drawn size from first paint, so the page below doesn't jump #6142): the placeholder frame had the scrollbar gutter, andaspect-ratioreads a width that includes it. So on classic-scrollbar hosts the frame came out 2G/ratio taller than the drawn one. Hold lf-shot's drawn size from first paint, so the page below doesn't jump #6142 was measured on overlay scrollbars. The gutter now sits on the empty shot itself.With the CI wait off, tend-land owns #6191's CI and landing.