Repository navigation
fix(chat): show queued messages as pending conversation bubbles - #1620
Conversation
Move pending messages out of the composer into the shared native transcript with a transparent border, muted text, and hover/focus status and actions. Preserve queue and send behavior. Co-authored-by: Copilot App <[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: blocked before merge. Reviewed October 6, 2026, 2:06 AM ET / 06:06 UTC (Revision 3). ClawSweeper reviewWhat this changesMoves queued chat messages from the composer into pending conversation bubbles with localized status, copy, cancellation, and visible failure details. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 5 items remain This PR remains useful: current main still displays queued messages in the composer. The remote head does not include the input fixes described in the follow-up discussion, and native interaction proof remains incomplete. Priority: P2 Review scores
Verification
How this fits togetherThe native chat timeline displays the selected conversation using snapshots from the existing chat provider. Pending bubbles project the provider's queue and forward cancellation to the existing composer controller; queue admission, dispatch, and promotion retain their current owners. flowchart TD
A[Chat submission] --> B[Existing conversation queue]
B --> C[Selected conversation snapshot]
C --> D[Native chat timeline]
D --> E[Pending conversation bubble]
E --> F[Existing cancellation controller]
B --> G[Dispatch and transcript promotion]
G --> C
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep pending presentation in the shared timeline, preserve cancellation across mouse and contact input, and retain the existing queue and promotion owners. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the hover race: exit and re-entry before another render can leave the pending footer hidden. Native Windows execution was not performed during this read-only review. Is this the best way to solve the issue? The presentation transfer is appropriately narrow, but the current input handling is incomplete; apply the documented input repairs without changing queue admission or echo reconciliation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f03f1cab69aa. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Scoped maintainer triage verdictNEEDS_HUMAN_TEST. Take confidence: 65%. Recommendation confidence: 94%. Reviewed head: Independent Claude Opus 5.5 and GPT-6 Astra reviews did not establish a blocking source defect. Queue admission remains with the existing owners; pending rows carry session/generation-qualified identities, and sending messages cannot be cancelled through the new action. Evidence creditedReported exact-head full build, 4,224 Shared tests and 3,895 Tray tests passed. Mounted Release coverage includes queue-only and attachment-only states, promotion, failures, thread switching, keyboard reveal and multiple widths. This is useful automated coverage, but it does not by itself prove actual pointer/keyboard interaction on the changed native surface. The reviewers did not rerun those suites or independently inspect screenshot pixels. These are credited author-provided receipts and inspected source/tests, not new executions by this triage. To reach 90%+ take confidence
Owner: bkudiess with a maintainer arranging the interactive proof host. No speculative source rewrite is requested. Missing runtime proof remains blocked rather than passed; this verdict does not authorize a merge. |
Maintainer triage follow-up: findings, fixes, and remaining proofFollowing up on the scoped maintainer triage verdict. Status remains NEEDS_HUMAN_TEST. The repeat Hanselman review used Claude Opus 5.5 and GPT-6 Astra against Important provenance: the fixes are in amended local commit Flagged issues and disposition
Both reviewers rejected the normal matched-path duplicate pending/sent-bubble allegation. Queue promotion removes the queued item and adds its transcript entry under the existing conversation lock. No speculative echo-reconciliation rewrite was made. Queue admission, controller ownership, cancellation guards, and sending-state restrictions remain unchanged. Validation of the amended local sourceExecuted on native Windows ARM64 with isolated test settings:
The first Shared run had two timing-sensitive failures (markdown scaling and the Piper extractor fixture). Both passed a focused retry and the final full sequential build/Shared/Tray run. No thresholds or unrelated tests were weakened. Mounted synthetic UI captures were generated; inspected captures show the pending idle and keyboard-focused footer states at wide/narrow layouts. These are component-rendering evidence, not physical touch/pen or native-input proof. Logs, TRX files, and captures are retained locally; no new downloadable artifact is attached to this comment. Rubber-duck review found no blocking implementation issue. Suggested test-strengthening was applied. The final structured command, Still required before changing the triage verdictThe selected closeout target is a maintainer-scheduled disposable Windows 11 proof host. Actual host/operator assignment, capture consent, and a dedicated test Gateway are still needed.
This follow-up records progress; it does not mark missing runtime proof as passed or authorize a merge. |
|
@copilot resolve the merge conflicts in this pull request |
…-messages # Conflicts: # docs/CHAT_VISUAL_DESIGN.md Co-authored-by: karkarl <[email protected]>
Resolved and pushed in two-parent merge commit Whitespace and secret checks passed. Full build is blocked on Linux; Shared, Tray, and focused chat tests stopped before execution because GitVersion rejects the shallow checkout. Native interactive/Gateway proof remains blocked. Autoreview could not find Codex; automated review lacked its configured model; C# CodeQL was skipped (Actions scan found no alerts). GitHub no longer reports conflicts. Current-head CI requires approval and has run no jobs. No merge-readiness claim. |
What Problem This Solves
Queued messages appear inside the composer instead of reading as messages waiting in the conversation.
User Impact
Both native chat surfaces show pending messages as right-aligned bubbles with a transparent background, subtle border, and faded text. Pending, Copy, and Cancel appear on hover or keyboard focus without moving the message. Errors remain visible.
Why This Change Was Made
Moves queue presentation from
ReactorChatComposertoReactorChatTimeline. Incoming replies stay above queued follow-ups. Provider promotion replaces a pending preview with the sent message without duplication. The existing controller still clears accepted drafts and handles cancellation.UI-only behavior change: send admission, queue order, retries, gateway connections, and cancellation rules are unchanged. Hidden footer controls no longer accept pointer taps; keyboard reveal remains available.
Evidence
Native Release rendering at 320px and 800px, including queue-only/attachment-only conversations, thread switching, copy, failure/removal, sending, promotion, and draft preservation. These screenshots contain synthetic test messages, not private chat content.
Both published attachments were downloaded successfully and their SHA256 hashes matched the original captures.
Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: pending-message rendering and hover/focus accessibility. Native component proof collected below; actual mouse-hover and real-gateway queue proof remain unverified.Validation
Validated source tree committed as
6dce94d19d30e925d85b785cde3a5cb30733118f. Release output avoided disturbing the running Debug app..\build.ps1 -Configuration Releasedotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Release -r win-x64 --no-restore --filter FullyQualifiedName~ReactorChatLayoutProofTests(Light)--filter FullyQualifiedName~ReactorChatLayoutProofTests.QueuedMessages(Dark / HighContrast resources)All test processes used distinct isolated data, roaming, and local roots plus
OPENCLAW_REPO_ROOT.Rubber-duck review completed. Its hidden-pointer-target finding was reproduced, fixed, and covered by native assertions. Its placeholder-spacing concern was rejected after native child counts demonstrated Reactor omits the empty slots. No send/queue changes were needed.
Structured review blocked:
python .\.agents\skills\autoreview\scripts\autoreview --mode commit --commit HEAD --no-web-search --stream-engine-outputreached Codex but failed with HTTP 401 Unauthorized. This is not a clean autoreview result.Real Behavior Proof
6dce94d19d30e925d85b785cde3a5cb30733118f, validated immediately before commit with a no-drift file-hash manifest.OPENCLAW_VISUAL_TEST=1, an artifact directory, andOPENCLAW_PROOF_THEME=Light|Dark|HighContrast.Security Impact
Compatibility and Migration
Review Conversations
This is a same-repository branch. Maintainers retain repository write access; GitHub rejects the fork-only
maintainer_can_modifysetting for same-repository PRs.