Skip to content

Integrate overlapping network panel and weather panel changes - #21016

Closed
chessing234 wants to merge 12 commits into
omacom:quattrofrom
chessing234:integrate/network-weather
Closed

chessing234 wants to merge 12 commits into
omacom:quattrofrom
chessing234:integrate/network-weather

Conversation

@chessing234

Copy link
Copy Markdown
Contributor

Why one branch

These pull requests change the same two panels. The weather hero is laid out three different ways (locale units, a card that stacks for a narrow or right-to-left reading, and a wide font that was overflowing the stats). The network details grid is both squeezed to one pair per row on a short screen and given a tighter gap so a wide font does not run a value into its label. The public-IP probe and the dual-interface route monitor were added in the same process list. Reviewed apart, each of those conflicts in Panel.qml and in network-panel-runtime-test.sh.

Incorporated pull requests

Original commits are cherry-picked. They are not squashed into one author.

How the conflicts were resolved

  • The weather hero keeps the stacked, right-to-left placement. A duplicate location field and leftover layout fillers from the wide-font row were not kept. The card's width is the larger of that hero's natural width and a 480 floor, so a wide font widens the card instead of painting over the stats. Stat spacing is the tighter gap.
  • The network details grid is 2 columns below the narrow breakpoint and 4 above, with the tighter column gap.
  • The route monitor for dual Ethernet/Wi-Fi and the public-IP process both stay. The runtime test runs the details layout, the dual-interface route, and the public-IP probe.

Tests

test/shell.d/weather-units-test.sh passed. test/shell.d/weather-test.sh passed its commit checks. The weather panel runtime test skipped with no Wayland compositor. test/shell.d/network-test.sh passed the route, hero, and public-IP parser checks. The Wi-Fi script then hit str | None under the Python that file's shebang runs here. That syntax needs Python 3.10. The QML panel fixtures were not screenshotted. There is no Omarchy shell on this machine.

Closure of the original pull requests is left to the maintainers.

Made with Cursor

grold and others added 11 commits December 1, 2026 07:35
On a screen narrower than the panel's 380 units, fittedContentWidth squeezes the panel and the four-column details grid runs addresses into their labels. Drop to two columns only then; at full width the panel is unchanged.
Deleting the new NetworkManager profile removes iwd's network file
while autoconnect is loading it, so the next passphrase stays in
"connecting" until reboot. Forget that known network before the
delete, then disconnect a station still stuck connecting.
Disconnect only that adapter, including when iwd 3.12 reports
autoconnect_quick as disconnected. Forget the known network only when
no other saved profile still maps to it.

Co-authored-by: Lucas Goossen <ludagoo@users.noreply.github.com>
Skip Forget and Disconnect when NetworkManager is using wpa_supplicant,
when iwd is not already running, or when the saved-profile check does not
finish. Do not call Station.Disconnect while another network can still
autoconnect. A PSK failure before connection up only rolls back the profile.

Co-authored-by: Lucas Goossen <ludagoo@users.noreply.github.com>
@greptile-apps

greptile-apps Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The latest changes appear safe to merge and address all three previous findings.

Summary

This PR combines the network and weather panel changes.

  • The network panel shows the public IP and country seen through the current connection.
  • The network panel follows the default route when Ethernet and Wi-Fi are both connected.
  • Failed Wi-Fi joins release a stuck iwd connection on the affected adapter.
  • The network details grid fits label and value pairs on narrow panels.
  • The weather card fits its hero and stats to the available width and reading direction.
  • Weather units follow the measurement locale unless the user picks a unit.
  • Weather city suggestions only apply to the text that produced them.

Reviews (2) · Last reviewed commit: "Honor measurement overrides and finish f..." · Reviewed by Greptile

Comment thread shell/plugins/panels/weather/Panel.qml Resolved
Comment thread bin/omarchy-network-wifi Resolved
@omarchybot omarchybot added the enhancement New feature or request label Dec 2, 2026
@chessing234

Copy link
Copy Markdown
Contributor Author

ready for a look @dhh @ryanrhughes

@emirb

emirb commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Thanks for the time you put into this. Some of the fixes you added on top catch real bugs in the original PRs. I'm closing it anyway, along with the other Integrate PRs.

Each bundle puts several people's work in one branch. We can't review it one change at a time or revert a single piece. Merging it would also leave every original PR open. That's why our PR template asks for one problem per PR.

None of the bundles ran on an Omarchy install either.

Please post each fix on the PR it belongs to, so its author can pick it up. If two PRs conflict, a comment on the later one helps us most. A small fix of your own, tested on a real install, is always welcome. Smaller and proven gets merged. Thanks!

@emirb emirb closed this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.