Skip to content

fix(mobile): make pairing commands selectable and copyable - #65

Merged
gronxb merged 1 commit into
gronxb:mainfrom
sawy3r:fix/pairing-command-copy
Aug 15, 2026
Merged

fix(mobile): make pairing commands selectable and copyable#65
gronxb merged 1 commit into
gronxb:mainfrom
sawy3r:fix/pairing-command-copy

Conversation

@sawy3r

@sawy3r sawy3r commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make the relay setup and phone approval commands selectable
  • add an accessible Copy button with Copy/Copied feedback and clipboard error handling
  • preserve default and custom-port approval command formatting in a tested helper
  • add a patch changeset for the mobile app

Root cause

The pairing guidance rendered terminal commands as plain, non-selectable text and did not expose any clipboard action. On iOS, that left users unable to transfer the install or approval command from the phone.

Validation

  • pnpm --filter @codex-relay/mobile exec vitest run (4 files, 7 tests)
  • pnpm --filter @codex-relay/mobile typecheck
  • pnpm --filter @codex-relay/mobile lint
  • pnpm test (30 files passed, 1 skipped; 290 tests passed, 4 skipped)
  • pnpm typecheck
  • pnpm lint
  • pnpm --filter @codex-relay/mobile exec expo export --platform ios (successful native bundle)
  • pnpm exec changeset status

Native iOS interaction was not manually exercised because this development host does not provide an iOS simulator.

Closes #63

@changeset-bot

changeset-bot Bot commented Aug 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e90f5ce

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@codex-relay/mobile Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gronxb
gronxb marked this pull request as ready for review August 15, 2026 16:45
@gronxb
gronxb merged commit 61f3833 into gronxb:main Aug 15, 2026
1 check passed
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.

[Feature]: select and copy in “approve this phone” and where npx install strings are displayed

2 participants