Repository navigation
Connections panel: listen-interface preset control (#8) - #16
Merged
Merged
Conversation
Settings -> Connections drove exposure with a two-valued switch. It now picks an exposure preset (Local only, Tailscale only, LAN, Custom) over the desktop's listen-interface selection, with kind checkboxes and an IPv4 address list under Custom, a read-only "Listening on" line, and resolver warnings inline. Selection, preset, resolved addresses and warnings all come from the desktop exposure state; the control never derives a preset itself. Widening the selection confirms first, because applying one relaunches the backend. The upstream Connections file gets the swap plus the removal of what the swap orphans; the control itself is a fork-only component.
…g guide
The confirmation dialog printed raw kind tokens ("loopback, tailnet") while the
checkboxes right above it said "Loopback" and "Tailnet". Both now read the same
label table, and the preset row looks its option up once.
docs/user/remote-access.md still told people to enable a Network access switch
that no longer exists.
Typing an explicit 127.x address opened the relaunch dialog, though it reaches no further than the loopback kind every selection already carries. The address box also cleared itself before the dialog resolved, so cancelling made the user retype what they had entered; the draft now clears once the change lands.
This was referenced Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: #8 (parent spec #1, ADR 0003). Closes #8.
The Connections panel's Network access switch becomes a listen-interface control: preset select (Local only / Tailscale only / LAN / Custom), custom panel with kind checkboxes (loopback always on) and an IPv4 address list, a read-only "Listening on" line from the resolved addresses, resolver warnings inline, and a confirmation dialog stating the relaunch. Reads selection, preset, resolved addresses and warnings from the desktop exposure state; writes through the selection IPC that #7 added. Derives no preset in the web layer.
Exactly one edit in the upstream Connections settings file (the switch swap plus what the swap orphaned); the control itself is a fork-only component. Settings search retitled to "Exposure" with the old terms retained.
Deviations, both deliberate:
Verification: typecheck clean on web and contracts; lint clean on every touched file; 293 tests across web settings components, web state, and the contracts exposure suite. No browser pass yet; the integrated
vp run devclient pass happens on fork-main after merge.