Skip to content

feat(desktop): add a status banner to Remote access - #4314

Merged
LHagfoss merged 1 commit into
mainfrom
feat/desktop-remote-status
Nov 24, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
feat/desktop-remote-status

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

Remote access spread its state over three rows that could disagree: the server row said "Running" with a "Gateway: …" line, the Gateway address row had its own Connected/Starting/Off chip, and the Network access row had a third sentence. With network access off and the server up, you saw "Running" next to "Off".

  • New banner at the top (ui/RemoteStatusBanner.tsx): one title, one chip and one detail line from state/remoteSummary.ts. The states are On (reachable at an address, with devices connected and paired, and "Reachable while the app is open" when no server keeps it up), Off (says whether the server is running anyway), Starting, Local only (loopback), Stopped (the gateway's own error), Unavailable, and Unknown (a failed read, replacing the loose warning paragraph). When there is an address, the banner has Copy address.
  • Rows below lose what the banner now says: the Gateway address chip and Copy button, the server row's gateway line, and the Network access status (kept only for "Sharing N threads").
  • Unit tests for every state in state/remoteSummary.test.ts.

Changelog

Settings › Remote access: a status banner at the top says whether and where a phone can reach this computer.

Testing

  • bun run check in apps/desktop (includes the new tests); check-comments.py.
  • Mock window: Remote access with network access off ("No device can reach this computer · Off", noting the server runs), then switched on ("Reachable on your network at 192.168.1.24:17879 · On", 1 device connected · 1 paired, Copy address).

@LHagfoss LHagfoss changed the title feat(desktop): say once at the top of Remote access whether a phone can reach this computer feat(desktop): add a status banner to Remote access Nov 24, 2026
@github-actions github-actions Bot added the feature New feature or request label Nov 24, 2026
@LHagfoss
LHagfoss merged commit 9f0532d into main Nov 24, 2026
11 checks passed
@LHagfoss
LHagfoss deleted the feat/desktop-remote-status branch November 24, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants