Skip to content

Redesign Chats and Desktop Control with contextual error recovery - #4

Open
arzvaak wants to merge 2 commits into
codex/admission-recoveryfrom
codex/chat-desktop-control-ui
Open

arzvaak wants to merge 2 commits into
codex/admission-recoveryfrom
codex/chat-desktop-control-ui

Conversation

@arzvaak

@arzvaak arzvaak commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Chats opens the conversation-first layout. Activity opens Desktop Control at the selected request, with approvals and working changes above the transcript on a phone and beside it on wide screens. Switching layouts preserves the selected conversation and draft. Route, sheet and disclosure motion follows the reduced-motion preference.

Connection and provider failures now have contextual explanations and recovery actions. A failed first chat load shows one card. A refresh preserves cached chats. An interrupted reply keeps its partial text, and an unconfirmed message or approval prompts the user to check delivery before repeating the action.

This PR stacks on #2, the base used for the implementation and the recordings.

Verification

  • Mobile TypeScript, ESLint, 122 Jest tests and 15 tooling security tests passed locally.
  • All 66 Desktop connector tests, three integration-generator tests and three Linux browser-helper tests passed. The generated Desktop app type-checked against the pinned source revision.
  • Six Android API 35 emulator flows exercised pairing screens, conversation controls, workspace navigation, a sample prompt and reply, and approval, denial, preset and custom answers. The denial and custom-answer sequence spans two emulator runs. The Desktop component fixture exercised the inspector and settings callbacks.
  • The injected Android TLS failure recovered on retry. Component tests also covered invalid pairing input and denied clipboard access followed by successful paste.
  • The matched emulator picker and scroll sequence moved from 19 to 16 ms median frame time and 22 to 19 ms at p95. Android classified 8.47% of frames as janky before and 8.64% after.

Recordings

Matched Android motion · Android TLS recovery · Desktop Control fixture · Additional error scenarios

Remaining device coverage

The installed Beta did not expose a usable Desktop window, and the existing mobile pairing was offline. Live QR pairing, a provider-backed reply through the sidecar, and physical-phone frame pacing remain unverified. No iOS runtime run was performed. The included recordings use a preview workspace or local fixtures.

The recordings were made with Expo 58.0.22. A follow-up commit aligns dependencies with Expo 58.0.26 after the compatibility check flagged newer SDK packages. The mobile source checks passed again with the updated lockfile.

A fresh Expo web preview on 58.0.26 also passed a navigation smoke test. Chats opened A, the toolbar switched to B, Activity opened the selected permission in B, and returning to Chats restored the session list. The browser reported no runtime errors during the flow.

This branch has not been deployed

No deployments
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