Skip to content

feat(controlcenter): add wifi refresh button - #3245

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
YewFence:feat/controlcenter-wifi-refresh
Sep 2, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
YewFence:feat/controlcenter-wifi-refresh

Conversation

@YewFence

@YewFence YewFence commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Add a refresh action to the Network detail header that calls NetworkService.scanWifi(), mirroring the existing button in the Settings WiFi tab. The button is hidden while WiFi is toggling or a scan is in progress, and sits left of the connection-type tabs so the tab group does not shift when switching between Ethernet, WiFi and Cellular.

Description

Add WiFi refresh/scan button to the Control Center network detail

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Closes #3244

Screenshots / video

Screenshot from 2026-09-01 02-06-01

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible (N/A)
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean (N/A)
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dlx-docs to document any new behaviors: https://github.com/AvengeMedia/DankLinux-Docs (N/A — no new config, CLI, IPC, or plugin surface; the refresh button reuses the existing NetworkService.scanWifi() call)

Add a refresh action to the Network detail header that calls
NetworkService.scanWifi(), mirroring the existing button in the Settings
WiFi tab. The button is hidden while WiFi is toggling or a scan is in
progress, and sits left of the connection-type tabs so the tab group
does not shift when switching between Ethernet, WiFi and Cellular.
@YewFence
YewFence force-pushed the feat/controlcenter-wifi-refresh branch from 7bd8f71 to b3380bc Compare September 1, 2026 06:10
@YewFence YewFence changed the title controlcenter: add wifi refresh button feat(controlcenter): add wifi refresh button Sep 1, 2026
@YewFence
YewFence marked this pull request as ready for review September 1, 2026 06:15
@bbedward

bbedward commented Sep 2, 2026

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.

Checked: NetworkService.isScanning/wifiEnabled/wifiToggling/scanWifi() all exist and are backend-guarded, DankActionButton props are valid, visibility mirrors the existing Settings WiFi button, scanWifi() self-guards against re-entry, and the right-aligned header Row means hiding the button does not move the tab group; no new strings, catalog edits, or Go changes. Model: claude-opus-5.

Minor, non-blocking: while the panel is open the 10s auto-scan flips isScanning, so the button hides/reappears periodically, nudging the wifi-device dropdown left of it (only visible with more than one wifi adapter). Same behavior as the Settings tab, so leaving it consistent is reasonable.

@bbedward
bbedward merged commit 63ec4bd into duxlabs-dev:master Sep 2, 2026
1 check passed
@YewFence
YewFence deleted the feat/controlcenter-wifi-refresh branch September 2, 2026 13:54
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.

Add WiFi refresh/scan button to the Control Center network detail

2 participants