Skip to content

Prevent network address values from overlapping labels - #8741

Open
avk458 wants to merge 4 commits into
omacom:quattrofrom
avk458:fix-network-address-layout
Open

avk458 wants to merge 4 commits into
omacom:quattrofrom
avk458:fix-network-address-layout

Conversation

@avk458

@avk458 avk458 commented Aug 28, 2026 •

Copy link
Copy Markdown

What

Give the IP address and gateway values the remaining three columns in the network details grid. Each value now uses its own row.

Why

IPv4 addresses can exceed the width of one value cell and draw over the adjacent labels. This occurs in the stock panel at the default 12 px text size.

This uses the same full-width layout that #8683 applies to long IPv6 values, but fixes the existing IPv4 fields independently.

Testing

  • bash test/shell.d/network-test.sh
  • Verified in the running Omarchy 4.0.1 shell at the default 12 px text size
  • Confirmed that the IP address and gateway are fully visible with no overlap

Fixes #13572

Copilot AI balanced review requested due to automatic review settings August 28, 2026 10:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Prevents IPv4 values from overlapping adjacent labels in the network details grid.

Changes:

  • Gives IP address and gateway values three-column spans.
  • Places each value on its own row.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@avk458

avk458 commented Aug 28, 2026

Copy link
Copy Markdown
Author

Before

Network panel before: IP address overlaps adjacent labels

After

Network panel after: address values use full rows

@omarchybot omarchybot added bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review labels Sep 27, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Reproduced and verified on a disposable Omarchy VM, at default fonts. I gave the worker a 15-character address and gateway (192.168.100.123 / 192.168.100.254). On current quattro (c05d901) the IP value paints over the end of the "IP Address" label: the grid's natural width is wider than the panel's fixed Style.space(380), and InfoValue neither elides nor clips. With this branch merged into that quattro, the IP address and gateway each get their own row, fully visible and with no overlap. Reverting to quattro brings the overlap back. The diff is the proportionate fix: two properties on each of the two values, and nothing else moves.

The network shell tests pass on the merged tree. In the full test/shell.d suite, every test that fails there also fails on quattro alone, except two signal-timing tests (channel-sudo-boundary, ssh-reconnect) that passed when rerun. This branch adds no tests of its own.

There was no second opinion. The configured reviewer (Codex Medium) refused because its daily review budget was spent, so this rests on one model's review (Claude Opus 5.5) and the reproduction above.

Related, but not competing: #13574 widens the panel only when body-small is raised, so it leaves this default-font case as it is, and the two edit different lines. #8683 adds IPv6 rows with the same full-row pattern and renames these two labels, so whichever lands second will need a small conflict resolved.

Waiting on the maintainer, after a second opinion has run on this head.

Carry the address layout onto the current shell and fold the narrow-screen reflow from omacom#20312 into this older fix. A squeezed four-column grid also overlaps the transfer statistics, so use one label/value pair per row when the fitted panel is narrower than its normal width. Let address values span the remaining columns in either mode; a fixed span of three cannot fit a two-column grid.

Co-Authored-By: W4HO <87742609+W4HO-ham@users.noreply.github.com>
Co-Authored-By: GPT-6 (Codex; effort not exposed) <noreply@openai.com>
@omarchybot omarchybot added verified Omarchy Triage has verified that this issue is ready for final review and removed verified Omarchy Triage has verified that this issue is ready for final review bug Something isn't working labels Nov 26, 2026
@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge; no actionable issues were found.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

The network panel gives IP addresses and gateways separate rows with wider value cells.

  • Network details keep addresses clear as the grid adapts to space.

No actionable issues found. Runtime and visual checks could not run because Quickshell is unavailable.

Reviews (2) · Last reviewed commit: "Keep Network details readable with wide ..." · Reviewed by Greptile

@omarchybot

Copy link
Copy Markdown
Collaborator

Pushed 984c3e1109e654a383d888df6a76cd6b58d1f2cf, bringing this fix onto current quattro and folding in #20312’s narrow-screen reflow, credited to W4HO. Address spans now follow the grid’s column count: full rows at normal width, one label/value pair per row when the screen squeezes the panel.

On a disposable Omarchy worker with default fonts and a real dummy-interface route supplying 192.168.100.123 / 192.168.100.254, I reproduced the overlap on quattro (081715b5), saw it disappear with this head, and saw it return after reverting. I also exercised 360- and 216-pixel logical widths. Real clicks on address text and the expanded empty cell space copied the complete values.

The network tests, including the QML runtime tests, passed. The full suite recorded 5,153 passing assertions, three skipped checks, and four failing test files; all four failures also occurred on the base: the agent-account test waits for a real Codex login, the console OEM-logo assertion fails, the remote-session capture-owner assertion fails, and the runtime-smoke keepLoaded service does not answer IPC. The skipped checks concern a battery, a missing Turkish locale, and the absence of pending translations.

GPT-6 in Codex (effort not exposed) reviewed and ran the checks. Opus 5.5 High and muse-wonder via pi, thinking high, reviewed this exact head and found no actionable code defects; their agreement is not guaranteed to be independent. Greptile scored this head 5/5 with no findings.

Classification is unsettled: I classify the revised head as a bug fix; deepseek-v4p1-flash (effort not reported) classified it as an enhancement. The classification and verification labels have been withdrawn. GitHub’s Tests and translation workflow runs ended action_required before running jobs. This is waiting on the maintainer to settle the narrow-screen scope and unblock hosted CI. The broader large-font issue #13572 remains outside this fix.

Before on current quattro: the IP address overlaps its label.

After at normal width: both complete addresses occupy separate rows.

Original PR layout at 216 logical pixels: statistics overlap and addresses extend beyond the panel.

Combined layout at 216 logical pixels: the details reflow and both complete addresses fit; this does not establish arbitrary font-size support.

omarchybot and others added 2 commits November 28, 2026 20:51
Use one label and value per row when the translated labels and a representative rate no longer fit two pairs. Keep live samples out of the width calculation so the grid does not jump when traffic changes. Give a narrow row more room for its value, and elide text that still cannot fit without changing what an address click copies.

Extend the Network panel runtime check from omacom#20665 with stock, large-font and narrow cases.

Co-Authored-By: Tech Man Dan <dan.inman@hotmail.co.uk>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
Co-Authored-By: GPT-6 High in Codex <noreply@openai.com>
@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Nov 28, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Pushed 18c50f4b2086ea372397c38ee56c8bc07adb5122 with the Network layout coverage from #20665, credited to Tech Man Dan. The grid uses one label and value per row when the text or the display needs the space. This covers the raised-font overlap in #13572 and preserves the narrow-screen layout from #20312. #19074 approaches the same overlap through elision, and #8683 adds IPv6 fields in the same grid.

GPT-6 High in Codex reproduced the overlap on a disposable Omarchy worker and saw it return after reverting. The new Network tests passed at stock, large-font and narrow settings. On the running panel, the 16 px text case in #13572 stayed readable, and both 15-character addresses displayed and copied in full at 216 logical pixels. The full suite hit the same three failures on quattro and the PR head, in the audio panel first-open, OEM logo and keepLoaded IPC tests.

Opus 5.5 High and muse-wonder in pi at high effort reviewed the layout. Opus 5.5 High checked the final spacing change and found no actionable defects. The reviewers had access to my findings. Greptile scored this head 5/5 with no findings. GitHub's Tests and Check translation structure workflows are waiting for approval, with zero jobs started.

Before on quattro, at 16 px the IP and gateway values paint over their labels
After at 16 px, every Network detail has its own row with readable text
At 216 logical pixels, both IPv4 values are visible in full

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Network panel stat rows overlap when [font] body-small is raised

3 participants