Repository navigation
fix(ux): chat, approvals and onboarding polish - #333
Conversation
…dary (UI-32) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sing (UI-67) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…yping focus (UI-47, UI-48, UI-49) - Stop pauses the queue instead of discarding it; Resume or delete remain. - A new approval takes focus only when the user is not typing or in an overlay. - The approval card shows its queue position, and remember-scope buttons expose their explanation through aria-describedby, not only a tooltip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-39, UI-40, UI-42, UI-43) EmptyState gains an action slot. With no usable provider the new-chat state offers Connect a provider; a chat that fails to load shows an alert with Try again instead of the new-chat prompt; the loader is a status region. Setup CTAs share one verb and one destination label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der and duplicate toasts (UI-24, UI-25, UI-30, UI-31) Next names why it is disabled while ChatGPT sign-in is pending. The header no longer claims setup is required beside Skip provider. Provider errors are announced once by the inline alert. The Other ways panel is no longer a live region. The removed source-grep line is replaced by a rendered e2e flow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pill window cannot take focus, so a 2 s error was often gone before it could be read. Errors now stay at least 4 s, longer for longer guidance, and never more than 10 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-44) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…UI-52) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s (UI-51) The countdown owns its own tick so the chat pane does not re-render every second, and it announces once when about 30 seconds remain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…UI-50) Activating an option answers and advances, which radio semantics with arrow-key selection cannot describe. Multi-select options stay checkboxes. Replaces the source-grep role assertion with a rendered check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hem (UI-47) Existing Stop specs asserted the old discard behavior; they now check the queue stays paused and nothing is sent. The new pause spec waits for the queue action before pressing Enter, as the other queue specs do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…trip (UI-24) The absolute drag strip covered most of the header button, so pointer clicks on Skip provider landed on the strip. Also stop relying on the old aria-live panel staying exposed behind the modal provider dialog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… explain inline (UI-77, UI-78) Escape in the focused, empty composer now acts as Stop; menus, the slash palette and dialogs keep Escape, and a draft keeps it harmless. Blocked sends show their reason beside the composer, described on the textarea, instead of a toast, and the hint clears when the draft or mode changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Important
The inline send warning remains visible after switching to a model that can accept the draft.
Reviewed changes — Reviewed the full PR’s chat, composer, approval, onboarding, and voice behavior.
- Queue and composer: Stop preserves paused follow-ups; Escape stops from an empty composer; blocked sends explain inline; file drags show an attachment target.
- Approvals and questions: Approvals preserve typing focus and describe scope; single-choice questions use buttons and timed questions show a countdown.
- Chat feedback: Loading and generation errors are announced, failed loads offer Retry, and unavailable providers have a Settings action.
- Onboarding and voice: Provider deferral stays clickable, blocked Next explains its prerequisite, IPC errors lose transport prefixes, and voice errors use clearer copy and longer display times.
Validation: 159 focused tests passed, application and E2E type checks passed, and Playwright collected all 26 affected specs. Electron E2E requires macOS and was not run locally.
gpt-6.1-sol | 𝕏
| blockedSend.text === text && | ||
| blockedSend.attachments === attachments && | ||
| blockedSend.skill === selectedSkill && | ||
| blockedSend.busyMode === busyMode && | ||
| blockedSend.generating === isGenerating && | ||
| blockedSend.busy === (gitOperationBusy || attaching) |
There was a problem hiding this comment.
[P2] Clear the vision warning when the selected model becomes compatible
After an image send is blocked, switching to a vision-capable model leaves “Switch to a vision-capable model before sending these images” visible and attached to the textarea’s accessible description. I reproduced this with the mounted production composer: the warning persists after visionSupported changes to true, even though sending the unchanged draft succeeds.
Technical details
# Stale model-capability send hint
## Affected sites
- renderer/components/composer.tsx:445-453 — blockedSend records draft and busy state but no model capability.
- renderer/components/composer.tsx:1531-1540 — the equality checks keep the warning visible when only visionSupported changes.
- renderer/components/composer.tsx:1595-1599 — the image refusal depends on visionSupported.
## Required outcome
- Resolving the image-capability refusal by selecting a compatible model clears the inline warning and its accessible description without requiring a draft edit.
- Extend the existing mounted Composer coverage to block an image send, change model capability while retaining the draft, and verify the hint disappears before sending.
## Suggested approach
Include the relevant capability in the snapshot invalidation, or derive the displayed hint from whether its original validation condition still holds.Verify with a harness-level admission test that a phone "Queue to run next" follow-up admitted into Pi's queue stays as transcript history after Stop, is never run or replayed into the next turn, and is not returned as undelivered input. Align desktop's committed-but-not-admitted notices with the iOS and Android receipt copy, and refresh the busy-controls doc's On The Go column (Queue, Redirect, receipts, question cards, / and @) and the desktop Stop row (#333 pauses the queue instead of clearing it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Summary
Test plan
chat-message-queue19/19, plusguided-setupandonboarding-lmstudio.type-check:e2eand lint.Part of the October optimization pass. Finding IDs refer to
docs/performance/optimization-audit-2026-10-03.md(#320). The branch's.memory/note has per-finding rationale.🤖 Generated with Claude Code