Skip to content

fix(web): polish the Machines settings and its pages - #178

Merged
sanchitrk merged 4 commits into
canaryfrom
fix/machines-polish
Nov 23, 2026
Merged

sanchitrk merged 4 commits into
canaryfrom
fix/machines-polish

Conversation

@sanchitrk

@sanchitrk sanchitrk commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Polish for Settings → Machines, the machine page, Setup and their dialogs, from a design review against the Linear look.

Machines page

  • Linked to a workspace lists every machine Relay has in it (this machine, paired ones and the rest), each starting with how it relates to this computer: This Machine, Paired or Not Paired. Each row has a short id (01a207ed…c007, the end kept since ids share a leading timestamp) with a copy button, both in a column that lines up, and its own Unlink. The connect command no longer repeats here; Waiting to Join has it.
  • Paired Machines rows drop the address (the machine's page shows it): Linked to Prem's Workspace · Insecure.
  • Status sits in a fixed column, so the dots line up down both lists.
  • The Linked list's placeholder has as many rows as the list last had.
  • After an unlink, focus moves to the next row instead of the page.

Machine page, Setup, Waiting

  • The status line joins its parts with ·; the Machine Key field keeps to the width of the others.
  • Setup hides Set Up Later once every step is done.
  • A machine waiting to join shows the same short id.

Dialogs

  • Bug: a copy button inside a form submitted it. In Pair a Machine, the codework service pair copy button submitted the form, and Enter in Address also copied the command.
  • Confirm dialogs keep their actions on the dialog's own surface with a quiet Cancel, like every other dialog (this also changes Settings → Tabs and the local server's confirm).
  • Pair a Machine holds the line under Address and Pairing Code, so an error no longer grows it, and its fields line up with their labels.
  • Copy buttons and the "Enter a Code Instead" / "Or use a terminal" toggles have larger hit areas.

Testing

Checked in the running desktop app against real machines (OrbStack VMs and a VPS) and a local Relay: a machine joined, approved and unlinked from its Linked row (Relay revoked it, focus landed on the next row), the Pair dialog's submit and copy, dialog heights before and after an error, and dot alignment across both lists. vp check and vp run typecheck pass.

🤖 Generated with Claude Code


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

sanchitrk and others added 4 commits November 23, 2026 23:53
- Linked to a workspace lists every machine Relay has in it: this machine,
  paired ones and the rest, each saying how it relates to this computer, with
  a short id and a copy button lined up in a column, and its own Unlink.
- Paired machine rows drop the address; the machine's page shows it.
- A copy button no longer submits the form it sits in, so the Pair dialog's
  command no longer submits it, and its hit area reaches 40px.
- The machine page joins its status line with a separator and keeps the
  Machine Key field to the width of the others.
- Setup hides Set Up Later once every step is done.
- A machine waiting to join shows the same short id.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lists

- Confirm dialogs keep their actions on the dialog's own surface, with a
  quiet Cancel, like every other dialog.
- The Pair dialog holds the line under Address and Pairing Code, so an
  error or the not-encrypted warning no longer grows it.
- A machine row's status sits in a fixed column, so the dots line up.
- The Linked list's placeholder has as many rows as the list last had.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Unlinking a row took its menu, and focus with it, back to the page. Focus
now moves to the next row, else the previous one, else the section above.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sanchitrk
sanchitrk merged commit 1f6fd72 into canary Nov 23, 2026
2 checks passed
@sanchitrk
sanchitrk deleted the fix/machines-polish branch November 23, 2026 18:52
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