Repository navigation
Conversation
The stat grid sets two label and value pairs per row in body-small inside a fixed design width. Spacing follows the base font size but not a [font] body-small override, so raising body-small alone squeezed the value columns until values painted over their labels. The panel now scales its design width by body-small over its default, which leaves the default layout unchanged and keeps the width independent of the live values. Fixes omacom#13572 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Low impact] The PR appears safe to merge; the previous test concern is fixed and no new blocking issue was found. SummaryThe network panel grows when users raise
Reviews (3) · Last reviewed commit: "Test network panel width as QML behavior" · Reviewed by Greptile |
|
Reviewed at 01d97f0 and verified on a fresh Omarchy worker. Nothing found that needs changing. Reproduction. I loaded the real network panel under quickshell on the worker, with mocked networking and synthetic connection details, and measured every stat row at
Suite. Review. The divisor Related. #8741 gives IP Address and Gateway their own full-width rows so long addresses fit at the default size. It is a different problem, and the two changes combine without conflict: #8741 alone still leaves Downloaded overlapping at body-small 16. Second opinion from Codex at medium effort: it found no defect, agreed the change is proportionate and that #8741 complements it rather than competing with it, and pointed out the This is now waiting on the maintainer. |
|
I merged current
|
|
Reviewed again at 2474046, after the merge of Reproduction. I loaded the real network panel under quickshell on the worker, with mocked networking and synthetic connection details, and measured every stat row at
Suite. On the worker, Review. The production line is the same one reviewed at 01d97f0. The new test resets Related. #8741, which puts IP Address and Gateway on their own rows, still complements this rather than competing with it. Second opinion from Codex at medium effort and from muse-wonder (via pi) at high thinking. Neither found a defect. Both agreed the change is proportionate, that the new test checks real behaviour, and that #8741 complements this change. They could read this session's notes, so their agreement may not be independent. This is now waiting on the maintainer. |
|
Hi, this still merges cleanly, and the focused runtime test exercises the real panel at |
|
Closing to keep the review queue clean; happy to reopen if this is still wanted. |
Fixes #13572.
The network panel puts two label/value pairs on each stat row using
Style.font.bodySmall, but its design width stayed fixed atStyle.space(380). Raising only[font] body-smalltherefore squeezed the value columns until values painted over labels, and at larger sizes the DNS button overflowed too.I scale the panel's design width by
bodySmallover that token's default (Style.fontPx(0.917)) and keep the existingfittedContentWidthcap:body-smallwidens the panel proportionally.Eliding values was not a safe default: at the stock width it truncated IP and gateway values such as
192.168.50…. Sizing from the grid's implicit width also widened the default panel and made width depend on live content.The QML runtime regression measures the real panel width at the default
body-small, raises it to 16, waits for bindings to update, and requires the panel to grow. It fails on the originalquattrocode and passes with this change. After merging currentupstream/quattro,bash test/shell.d/network-panel-runtime-test.shandbash test/shell.d/network-test.shpass. The conflict resolution preserves the newer lazy panel content API while retaining the width fix.I visually checked the original change at
body-small11, 13, and 16. I did not repeat those screenshots after the conflict-only merge.