Repository navigation
fix(ui): keep experimental chat bubbles readable and opt-in - #169347
Conversation
Gate speech bubbles behind Labs, default Home on while enabled, and retain explicit per-session preferences. Keep the first avatar-facing upper corner, readable commentary and compact tool activity with one ordinary live dots disclosure. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
|
🦞👀 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 gates speech bubbles behind Labs, preserves conversation preferences, and makes commentary and tool activity easier to read. Example: An assistant says “I’ll check the spacing first.” before reading layout.css.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this maintainer-authored PR open: the readability improvements remain useful, and the latest commit correctly updates the default-off menu expectation without changing production code; no introduced code defect was established. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherGateway configuration publishes the Labs flag through Control UI bootstrap; browser preferences and transcript projections determine the rendered conversation layout. flowchart LR
A[Gateway configuration] --> B[Bootstrap presentation]
B --> C[Application config]
D[Browser preferences] --> E[Bubble mode selection]
C --> E
E --> F[Transcript projection]
F --> G[Chat messages and activity]
Technical reviewBest possible solution: Retain the existing Labs, bootstrap, preference, and transcript owners while shipping the approved opt-in presentation. Do we have a high-confidence way to reproduce the issue? The original grouping and compact activity paths explain the hidden commentary, and the inspected before screenshot shows it; no target code was executed during this review. Is this the best way to solve the issue? The implementation fits the existing owners, preserves explicit browser choices, and gives the experiment an in-product discovery path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 291178c2e1ae. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +127, Tests +466, Docs +23, Generated 0. Total +616 across 49 files. Added test files: 1. View PR surface stats
Review metrics
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 HistoryReviewed October 11, 2026, 5:25 PM ET / 21:25 UTC (Revision 3). |
Static chat pane contexts must implement the application config subscription contract now used for live Labs updates. Preserve production subscription behavior and repair the shared test fixtures. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
|
@clawsweeper re-review — source head dcfeac8 only corrects the stale default-off Labs menu expectation since your completed 962fca4 review. The 8 bundled composer scenarios now pass; production source remains unchanged. |
|
🦞👀 Re-review progress:
|
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…#169347) * fix(ui): refine experimental chat bubbles and activity Gate speech bubbles behind Labs, default Home on while enabled, and retain explicit per-session preferences. Keep the first avatar-facing upper corner, readable commentary and compact tool activity with one ordinary live dots disclosure. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> * fix(test): honor config subscriptions in pane fixtures Static chat pane contexts must implement the application config subscription contract now used for live Labs updates. Preserve production subscription behavior and repair the shared test fixtures. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> * test(ui): expect bubbles hidden outside Labs Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> --------- Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Experimental chat bubbles obscured commentary and tool progress, and repeated square corners did not point to the speaker's identity.
User Impact
Speech bubbles are now off by default behind Settings → Labs → Speech bubbles. Enabling gateway.controlUi.experimental.chatBubbles makes Home use bubbles by default; explicit per-session on/off choices remain browser-local and survive disabling/re-enabling the lab. Config changes hot-apply without a Gateway restart.
Only the first message points toward the existing avatar, later bubbles stay rounded, and groups have more breathing room. Commentary remains visible while compact labeled tool disclosures expose the existing cards and output. Ordinary live work retains one dots indicator; startup, approval, and child-wait states keep their explicit controls.
Why This Change Was Made
Keep conversational output readable without disguising completed tools as typing. Reuse the current Labs/config/bootstrap and UI preference owners rather than adding a separate feature state store. The one approved config option updates the generated core-config budget from 2498 to 2499; plugin/channel budgets are unchanged.
Evidence
Current-head CI disposition
Head
dcfeac82d8b740faf431af6303f7cef88d59a21dincludes two test-only repairs: both static pane contexts now implement the existing config subscription contract, and the composer test expects Speech bubbles to be absent while Labs is off. The affected pane tests passed (151 unit tests and 7 Chromium tests), and all 8 composer scenarios passed.CI run 38175290317 (attempt 1) completed with six failing browser shards; this is not green CI. Its 42 failing parameterized cases belong to unchanged history-boundary, scroll/focus, table overflow, model-catalog wording, offline preference replay, and theme refresh-count behavior. The actual tested merge was
a344fd26e562c1e231b1c2e423a0d7b410a5babf, with main parent9310023551cd7c8987096e9936eee77db9e69d1c. Independent clean-main runs reproduced all 16 non-theme cases. A baseline theme run reproduced the common config.get-count failure in the first five parameter values before a Gateway restart interrupted it; the other 21 theme variants were not rerun. All 26 hosted theme variants fail at that same unchanged assertion, before the contrast checks. Exact source/object and retained-log attribution is recorded for the native inherited-failure admission; no retries, weakened assertions, or CI green claims substitute for that evidence.Before
After
Thanks to @steipete and @vyctorbrzezowski for the request and design feedback.
Work sessions