Repository navigation
improve(ui): mark error toasts and split two-sentence copy - #192015
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 marks failure toasts as errors, separates two-sentence messages into title and description, and emphasizes recovery actions. Example: An oversized attachment is rejected.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep open: this maintainer-authored PR delivers useful toast improvements, but incomplete consumer-test updates introduce confirmed CI failures. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherControl UI operations submit messages and presentation options to the existing toast controller, whose Solid renderer displays notifications and accessibility announcements. flowchart LR
A[UI operation] --> B[Toast options]
B --> C[Toast controller]
C --> D[Solid toast renderer]
D --> E[Title and description]
D --> F[Recovery action]
D --> G[Accessibility announcement]
Technical reviewBest possible solution: Keep the existing toast owner and focused presentation changes, completing the affected consumer-test updates before landing the stack. Do we have a high-confidence way to reproduce the issue? Current-main source confirms polite announcements and unsplit messages; supplied screenshots demonstrate the presentation change, while CI annotations independently reproduce incomplete test migration. Is this the best way to solve the issue? The production change is focused and reuses existing severity, description, and action contracts; its consumer tests need the same complete cutover. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 51bee40d3c7f. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +78, Tests +15. Total +93 across 80 files. Added test files: 0. View PR surface stats
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 3, 2026, 10:46 AM ET / 15:46 UTC. |
Co-authored-by: vyctorbrzezowski <[email protected]>
…ked lanes Overlay toast hosts no longer inherit the shell chrome offset on phones; e2e checks now center on the content column, read the fixed lane, and blur the toast before Escape. Co-authored-by: vyctorbrzezowski <[email protected]>
…er e2e The queued skill-selection notice is a success message, not an error. E2E now reads open-file failures as alerts and two-sentence toast copy from title plus description. Co-authored-by: vyctorbrzezowski <[email protected]>
…lers # Conflicts: # ui/src/lib/toast-view.tsx # ui/src/pages/chat/chat-pane-placement.runtime.ts # ui/src/pages/model-providers/profiles-view.tsx
…192015) * improve(ui): rebuild the toast on one component with variants and a hover dismiss * improve(ui): stack toasts in a center lane and an arrivals lane * improve(ui): mark error toasts and split two-sentence copy into title and description * fix(ui): keep phone toasts below the top refresh notices * test(ui): read stacked toasts in model provider tests Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): keep overlay toasts at the top inset and align e2e with stacked lanes Overlay toast hosts no longer inherit the shell chrome offset on phones; e2e checks now center on the content column, read the fixed lane, and blur the toast before Escape. Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): keep the skill selection notice informational and align caller e2e The queued skill-selection notice is a success message, not an error. E2E now reads open-file failures as alerts and two-sentence toast copy from title plus description. Co-authored-by: vyctorbrzezowski <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]>
* commit 'b4ebd3673fea4932296b92bbc07b7abc4bdc792d': fix(ci): allow serial SDK API reports to finish (#192196) fix(ci): run PostgreSQL checks when its shard planner changes (#191963) fix(ci): model native Linux updater asset entry improve(test): speed up config and device binding browser tests (#192404) improve(ui): show arrivals top right with a contextual session status (#192016) improve(ui): mark error toasts and split two-sentence copy (#192015) fix(sandbox): give dependency builders a writable home (#192390) fix(worktrees): keep archive manifest checks off the main thread (#192358) fix(cron): preserve admitted runs and pacing across unrelated MCP reloads (#192399) improve(ui): stack toasts in a center lane and an arrivals lane (#192014) fix: reclaim abandoned read-only database snapshots (#192368) improve(ui): rebuild the toast on one component with variants and a hover dismiss (#192013) docs: consolidate team server and team setup into one Multiplayer page fix(ci): reconcile remaining unallocated test lines feat: run admitted MCP tools on the worker node that hosts them (#191387)
What Problem This Solves
Most error toasts were not marked as errors: they announced politely as
role="status"and looked like any other notice. Two-sentence messages ran together as one long title, and the required next step (Review…) looked like any other action.User Impact
severity: "error", so they show the error icon and announce withrole="alert". Copy actions mark only the failure. An agent created whose first message failed is a warning.Why This Change Was Made
Third of four stacked PRs for the approved toast design: the center callers.
Evidence
Mock Control UI, Absolutely light, through real flows.
Before and After, a pending message blocking a reload (Review pending input is now primary):
Before and After, the open center stack: the two upload failures now split title and description:
After, a single error, and the pending message at 390:
Phone toasts now start below the refresh notices (fixed in #192014).
Checks run locally: oxfmt, oxlint, stylelint,
pnpm tsgo:ui, and the unit and browser tests next to every touched file (65 files). Tests that asserted the exactshowToastcall or the full title text now include the severity or read the split copy; e2e assertions on the split copy are updated but e2e was not run.Stacked on #192014 (base
brzezowski/toast-stack). Land #192013, then #192014, then this.