Skip to content

fix(mobile-web): restore resume card layout and auto-reconnect - #1683

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/mobile-web-resume-and-autoreconnect
Jul 22, 2026
Merged

fix(mobile-web): restore resume card layout and auto-reconnect#1683
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/mobile-web-resume-and-autoreconnect

Conversation

@bobleer

@bobleer bobleer commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix the resume card misalignment caused by <button> default text-align: center by left-aligning the card to match the create-session pattern.
  • Fix the infinite “Connecting and pairing...” spinner after reopening mobile-web: auto-reconnect no longer re-enters pairing without starting a new attempt when attemptPair identity changes.
  • Add a source contract test and design note covering the mount-once reconnect bootstrap.

Test plan

  • pnpm --dir src/mobile-web run type-check
  • pnpm run build:mobile-web
  • pnpm --dir src/web-ui run test:run src/app/components/RemoteConnectDialog/MobileTargetOwner.contract.test.ts
  • Manual: non-account pairing → close tab → reopen QR URL → reaches sessions or shows retryable error (no permanent spinner)
  • Manual: account pairing (auth=account) → reopen still shows password form
  • Manual: resume card label/title/meta are left-aligned with the icon

Stop the pairing page from resetting to a stuck spinner after reopen by
bootstrapping reconnect once, and left-align the resume card button text.
@bobleer
bobleer merged commit 0f25373 into GCWing:main Jul 22, 2026
5 checks 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.

1 participant