Repository navigation
feat(ui): shared InlineAlert for inline errors, warnings and notes - #194124
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR consolidates Control UI errors, warnings, notes, and confirmations into a shared InlineAlert component. Example: Browser microphone access fails while composing a message.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: the shared alert is useful and maintainer-directed, but the migration breaks existing behavioral tests by removing selectors without updating their consumers. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherControl UI pages pass messages, tones, and recovery callbacks to InlineAlert, which renders accessible markup using shared callout styles. flowchart LR
A[Gateway and browser outcomes] --> B[Page presentation owners]
B --> C[InlineAlert]
C --> D[Shared callout styles]
C --> E[Accessible message and controls]
E --> B
Technical reviewBest possible solution: Keep one shared alert renderer and complete the consumer cutover without weakening existing recovery assertions. Do we have a high-confidence way to reproduce the issue? The removed selectors remain in existing tests, and exact-head CI annotations confirm missing-element assertions and timeouts on those paths. Is this the best way to solve the issue? A small shared component using existing callout styles is a suitable solution, provided all affected behavioral-test consumers migrate together. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b4c2c8f9e435. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfacePR surface statistics unavailable: the file list is incomplete. Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 6, 2026, 8:13 AM ET / 13:13 UTC. |
|
The final responsive alert keeps a readable message and places the long recovery action below it on mobile, while retaining the 44 × 44 px dismiss target. Short desktop actions remain trailing. The existing synthetic Talk consent and plugin retry flows pass; these are inspected captures from those natural flows. Images below show the original main mobile layout, the corrected mobile alert, and the corrected desktop short-action control. They replace the earlier narrow-column screenshots. |
Preserve announcement ownership and mobile dismiss targets, update behavioral selectors, and resolve focused lint failures.



Consolidates inline errors, warnings, notes, and confirmations into
InlineAlert. The shared component owns tone, optional title/actions, and dismissal; callers keep placement and recovery behavior. Filled alerts have no tinted border or icon, compact popover messages stay compact, and microphone permission guidance remains a warning.The migration preserves retry/dismiss controls and existing live-region owners. At narrow widths, long recovery actions wrap below readable message text while the composer retains its 44 × 44 px dismiss target. Desktop actions remain trailing. Existing behavioral tests use the new selectors and roles; no new test cases or net test lines were added.
Validation:
Original CI's transient-container animation measurement failure is fixed by main commit
9a5ecd3f4c7; the focused check passed before this mechanical integration. The real-Gateway duration-save case was not replayed. Fresh hosted checks for the corrected code are not claimed green.Responsive before/after and desktop proof. The original migration captures are retained below.
Approved original visual proof
Composer before:
Composer after:
Popover before:
Popover after: