Skip to content

[ui] Add option to show IP address in sidebar network indicator - #36

Merged
CHaucke89 merged 1 commit into
masterfrom
claude/project-thread-n3dy9g
Nov 18, 2026
Merged

CHaucke89 merged 1 commit into
masterfrom
claude/project-thread-n3dy9g

Conversation

@CHaucke89

Copy link
Copy Markdown
Owner

Summary

Adds a Sidebar: Network IP Address toggle under Personalize. When it's on and the device is on Wi-Fi, the sidebar's network indicator shows the device's IP address instead of "Wi-Fi". Off by default, so nothing changes unless it's turned on.

Changes

  • New SidebarNetworkIP param (default off), read in UIStateCP like the other sidebar params.
  • Toggle sits right under "Sidebar: Network" and is greyed out while the network indicator is hidden, same as "Temperature in Degrees" under "Temperature".
  • The IP comes from the source address the kernel picks for the default route (a UDP socket connect, which sends nothing), so it doesn't depend on the WifiManager, which is only active inside settings.
  • Long addresses like 192.168.100.123 are wider than the sidebar at the normal font size, so the font shrinks to fit.
  • The mic recording indicator sits on the same row, so the normal "Wi-Fi" label shows while it's visible.
  • Falls back to "Wi-Fi" if no address can be found.

Testing

  • ruff check passes.
  • Not run on a device yet.

@CHaucke89 CHaucke89 self-assigned this Nov 18, 2026
@CHaucke89
CHaucke89 force-pushed the claude/project-thread-n3dy9g branch from 4bfdbc2 to c5d03da Compare November 18, 2026 13:48
@CHaucke89
CHaucke89 marked this pull request as ready for review November 18, 2026 13:48
@claude

claude Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

No issues found.

@CHaucke89
CHaucke89 merged commit 1e28b0c into master Nov 18, 2026
5 checks passed
@CHaucke89
CHaucke89 deleted the claude/project-thread-n3dy9g branch November 18, 2026 13:56
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.

1 participant