Skip to content

Phone: connection help popup and designed error screens - #18

Merged
ruchira-edirisinghe merged 7 commits into
mainfrom
feat/phone-error-screens
Nov 28, 2026
Merged

ruchira-edirisinghe merged 7 commits into
mainfrom
feat/phone-error-screens

Conversation

@ruchira-edirisinghe

Copy link
Copy Markdown
Owner

Builds on #17 (merge #16 and #17 first).

When the phone can't reach a computer, a popup asks you to check three things: Tailscale is on, on this phone (it checks for itself and says when it looks off); Tailscale is on, on the computer, with the same account; and Zendr is open there with Settings → Phone on. Its buttons are Try again, Open Tailscale (or its store page) and Close. It pops up by itself after a couple of failed tries on the sessions and terminal screens (once each time the connection drops), and right away when pairing can't connect. What to check and the "Reconnecting… Tap for help" bar open it again.

A designed screen for each problem replaces the old red text:

Problem How the app tells Screen
Offline no address answered phone ··✕·· computer, Try again, What to check
Unpaired 401 broken link, Scan the code again
Session ended "no terminal" 4🦎4, Back to the sessions
Older Zendr on the computer 404 "no such route" up arrow, Get the newest Zendr
Zendr's own error other errors amber !, the error itself, Try again, Report a problem
Computer not found forgotten since 4🦎4, back to the computers

If you lose the connection while a list or screen is already showing, it stays up with a note instead of being replaced. On the computers list an unreachable computer now says Not connected. Tap to see why.

The manifest gains ACCESS_NETWORK_STATE (to see if a VPN such as Tailscale is up) and a <queries> entry for Tailscale's package.

Unit tests run the API against a small local server to check each answer maps to the right problem. Checked on an emulator against a fake computer in each mode (down, unpaired, old, broken, closed session).

@ruchira-edirisinghe
ruchira-edirisinghe force-pushed the feat/phone-error-screens branch 2 times, most recently from 315a2dd to fce663e Compare November 28, 2026 16:15
@ruchira-edirisinghe
ruchira-edirisinghe changed the base branch from feat/phone-notifications to main November 28, 2026 16:16
@ruchira-edirisinghe
ruchira-edirisinghe merged commit 945e04a into main Nov 28, 2026
1 check passed
@ruchira-edirisinghe
ruchira-edirisinghe deleted the feat/phone-error-screens branch November 28, 2026 16:16
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