Skip to content

feat(agent): redesign the Remote computers settings and computer cards - #1428

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex-rupd-computer-card
Nov 2, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex-rupd-computer-card

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Stacked on PR #1424 (remote update from an offer that is not downloaded yet). This redesigns Settings → Remote computers so that each paired computer answers three questions: which computer it is, whether it is current, and the one thing to do next.

Computer card (ui/remote.rs)

  • One status line, at most one short note, and at most one state action:
    • status lines: v0.0.14 · v0.0.16 available, v0.0.16 with Up to date, v0.0.15 · downloading v0.0.16…, v0.0.13 when last seen with Not reachable
    • state action: Update, or Check again when only a fresh check can move the state on (unreachable, unconfirmed, a declined request)
  • Open projects is removed. Projects are already in the sidebar, and the button closed Settings to jump to a computer's Overview. Its ConnectComputer event is removed too: the SettingsScreen forwarding, the desktop subscription and the test that emitted it. The notification-policy coverage stays in the existing SettingsClosed tests, and the retired-screen test still covers stale SettingsClosed.
  • Check for updates, Rename… and Unpair live in a ⋯ menu built on ui/popup. Rename edits in place, and while it is open Save and Cancel are the card's only actions. The ⋯ stays right-aligned whether or not the card has a state action.
  • Badges reuse the integration card's pill, moved to widgets::status_badge. The icon tile follows the integration card.
  • History stays quiet:
    • A success whose target is running shows nothing (previously: "The remote computer confirmed that requested v0.0.14 was running after this earlier update request.").
    • A failed receipt shows "The update to v0.0.16 didn't finish." only while that target is still the offer.
  • Kept, in short form: this view's own declined request ("Not updated. …") and the uncertain-request warning ("Not confirmed. Don't resend; check again first.").
  • The version difference is a muted one-line note, "This computer runs v0.0.16.", shown only when no offered update would bring the computers together. The ⚠ warning, the "Client v… · client updates are manual" header line and the "Its projects are available in your sidebar" filler are gone.
  • Shorter BlockedReason and InstallRefusal messages. The confirmation is now "Update Office Mac to v0.0.16?" with an Experimental badge and two sentences that keep the safety meaning: it stops running tasks and restarts, remote access may not return (open Maple there directly), and this computer stays as it is and won't restart.

Rest of the page: Remote access, this computer's name and pairing now use the Settings row pattern (title, one-line description, control). Remote access is a switch, as in General.

Nothing changes in update logic, authorization or receipts. install_blocked, the eligibility checks and the generation/grant checks are the same code paths as in #1424.

Screenshots

These come from a local-only preview build: Settings opens without sign-in, and PeerInfo is seeded for every state. The hook is not committed.

Before
before 1
before 2

After
after top
after cards
after menu
after confirm

Tests

  • just ci: green. The pre-commit hook (ci-lint + ci-test) also passed.
  • Updated the existing ui/remote tests for the new presentation fields. The safety assertions are kept: no install on review, nonce and target binding, cached offers stay history, no private error text, and declined or uncertain requests need a new check.
  • New tests:
    • every_card_state_is_one_short_line_with_at_most_one_action
    • secondary_actions_live_in_the_overflow_menu
    • an_open_confirmation_replaces_the_cards_update_button

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Base automatically changed from codex-rupd-remote-download to master November 2, 2026 04:00
Each paired computer is now one card that answers three questions: which
computer it is, whether it is current, and the one thing to do next.

- One status line ("v0.0.14 · v0.0.16 available", "v0.0.16" + Up to date,
  "downloading v0.0.16…", "v0.0.13 when last seen"), at most one short
  note, and at most one state action: Update, or Check again when only a
  fresh check can move it on.
- No Open projects button: projects are already in the sidebar, and it
  closed Settings to jump to an Overview. Its ConnectComputer event,
  forwarding and desktop subscription are removed. Check for updates,
  Rename… and Unpair live in a ⋯ overflow menu (ui/popup). Renaming
  edits in place.
- Status badges reuse the integration card's pill (now widgets::status_badge).
- Past history stays quiet: a success whose target runs shows nothing,
  and a failed receipt shows only while its target is still the offer.
  This view's own declined request and "not confirmed, don't resend"
  remain, in short form.
- The version difference is a muted one-line note, shown only when no
  offered update would bring the computers together; the "client updates
  are manual" line and the ⚠ warning are gone.
- Shorter BlockedReason/InstallRefusal copy and confirmation text that
  keeps its safety meaning (stops work, may not reconnect, this computer
  stays as is).
- Remote access, this computer's name and pairing use the Settings row
  pattern (title, one-line description, control; a switch for access).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnthonyRonning
AnthonyRonning force-pushed the codex-rupd-computer-card branch from 6b1f1a0 to bb275e4 Compare November 2, 2026 04:00
@AnthonyRonning
AnthonyRonning marked this pull request as ready for review November 2, 2026 04:00
@AnthonyRonning
AnthonyRonning merged commit 955ccb4 into master Nov 2, 2026
23 of 44 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-rupd-computer-card branch November 2, 2026 04:04
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