Skip to content

fix(updates): show the current computer once - #814

Merged
nixuuu merged 1 commit into
devfrom
fix/merge-duplicate-devices
Nov 15, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/merge-duplicate-devices

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 15, 2026

Copy link
Copy Markdown
Member

Change

In remote desktop mode, Updates showed the current Canopy app as “This computer” and its worker as a second computer. Show one row with the computer's name in both the sidebar popover and Settings → Workers → Updates.

Match by the enrolled worker ID exposed through the desktop bridge. Keep local download progress and cached-package restart controls, combine gateway update-step status and recovery actions, and retain the worker's agent CLIs. Other workers, including computers with the same name, remain separate. Older bridges without the ID keep the existing rows. The change requires a new desktop build.

Related: #743, #771

Verification

  • Passed: web and desktop typechecks; lint and formatting for edited files; diff review.
  • Browser review with development fixtures: light/dark at desktop, narrow and phone widths; short, typical and long names; downloading, downloaded, failed and waiting states. Confirmed duplicate names remain separate, missing identity and web clients keep their workers, cached updates remain restartable after a request failure, and Update targets the correct worker.
  • Extended desktop runtime integration coverage for enrolled identity across pairing, restart and unavailable-worker mode. All five tests were skipped locally because the built runtime was absent.
  • Full generation checks, repository-wide checks, tests and selected builds remain with CI. Native signed desktop installation was not exercised locally.

Copy audit

Passed docs/copy.md §8. “This computer” plus a repeated worker name → one computer-name row, removing duplicate information. Moved existing Update, Retry, Dismiss and restart copy into the combined row; no new terms or humour. Actions name their effect, failure text gives a recovery action, and meaning does not depend on colour. Checked truncation and wrapping with short, typical and long names at desktop and phone widths in both themes.

Match the remote desktop app to its enrolled worker ID and combine their update status and actions in one row. Preserve local download and restart controls, gateway step status, retries, dismissal and force restart.
@nixuuu
nixuuu enabled auto-merge (squash) November 15, 2026 09:52
@nixuuu
nixuuu merged commit dc2df1d into dev Nov 15, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/merge-duplicate-devices branch November 15, 2026 10:03
nixuuu added a commit that referenced this pull request Nov 15, 2026
## Change

Show known CI status on the newest linked pull request in each sidebar
thread row. A small corner dot reuses the PR tab's colors and running
animation; the tooltip and accessible label name the check status.
Unknown or neutral checks have no dot.

Extract the shared dot into `PullRequestChecksDot` so tabs and sidebar
stay consistent. Sidebar updates use the existing overview data without
extra requests or layout movement. Running dots respect reduced motion.

## Verification

- Local: web package typecheck passed with no errors or warnings; lint
and formatting passed for the three edited Svelte files; `git diff
--check` passed.
- Browser review with fixture data: light and dark themes, desktop and
phone widths, narrow 300 px layout, short and long names, multiple
linked PRs, draft/merged/unavailable states, and missing checks. No
horizontal overflow or layout shift on status changes; reduced motion
disables pulsing.
- Copy audit (`docs/copy.md` §8): passed all applicable items. Before:
`Open pull request #814`. After: `Open pull request #814, Checks:
Running` (or the existing Passed/Failed/Queued/Action required labels),
giving the dot a text equivalent. No new glossary terms, actions,
errors, empty states or expressive copy; these items are not applicable.
- Full repository verification and selected builds are left to GitHub
CI.
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