Skip to content

fix(web): distinguish desktop access grants - #1250

Merged
nixuuu merged 1 commit into
devfrom
fix/device-access-duplicate-entries
Nov 24, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/device-access-duplicate-entries

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Show when each desktop app was paired in Settings → Devices → Device access. When the platform and displayed pairing time match, show the access ID on each entry.
  • Explain that each desktop pairing grants separate access. Each active entry keeps its own Revoke access action, and revoked entries keep their pairing details.
  • A new invitation issues a separate credential even when the app has paired before. The Device access view lists both grants by ID. fix(desktop): distinguish pairing from first gateway contact #1249 covers when first contact is recorded. fix(desktop): expose local gateway settings in remote mode #1247 covers remote gateway and Workers settings.

Thanks to @marcinniewinski for reporting this.

Verification

  • Verified a80379681 locally on Linux. All 10 tests in desktop-clients.test.ts passed through check:tmp. The new regression test exchanges two fresh invitations through the Desktop client, confirms both grants authenticate, and verifies that revoking one leaves the other active.
  • Reproduced the identical rows using synthetic pairings with a local gateway and the web BFF. Checked Chromium at 1280 px and 390 px with short, typical, and long names. Same-minute grants had distinct labels and accessible action descriptions. Revoking one entry moved it to the history and left the other credential usable.
  • After fix(desktop): distinguish pairing from first gateway contact #1249 landed, the combined tree with dev at d0e8cbb52 passed all 11 tests in the same suite locally on Linux.
  • Web typecheck, focused lint and format checks, and Git diff checks passed. GitHub CI passed all required checks.

Copy audit

Desktop rows now show “Paired” for the grant date alongside the existing last-contact status. “Access ID” distinguishes matching platform and date values and is defined in the glossary. “Each desktop pairing grants separate access” explains why the list can show multiple entries. The revoke button keeps its visible verb and has the device name and pairing details for assistive technology. The labels work without color or icons.

Fixes: #68

@nixuuu
nixuuu enabled auto-merge (squash) November 24, 2026 19:39
@nixuuu
nixuuu merged commit afbddd4 into dev Nov 24, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/device-access-duplicate-entries branch November 24, 2026 19:41
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