Skip to content

fix(ui): saved Side chat comments cannot send without a second question - #185292

Merged
roboclaw-bot merged 2 commits into
mainfrom
fix/side-chat-comment-context
Oct 27, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
fix/side-chat-comment-context

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: saved highlighted-text comments appear in Side chat but cannot be submitted unless the user types a second question.

User Impact

Users can send a saved selection/comment on its own, or include a written question. Image-only questions and image retries keep their existing behavior. No configuration or migration is required.

Why This Change Was Made

The existing Side chat question resolver recognized typed text and image attachments but ignored selection comments. It now supplies a neutral question for selection-only input, so the Ask button and keyboard submission use the same existing attachment path. Selection limits, upload restrictions, and pending-read gates are unchanged. No new state or lifecycle machinery is added (production +3/-1 lines, English copy +1, tests +42/-14; documentation also corrects obsolete quote-prefill guidance).

Reported by @Patrick-Erichsen.

Work sessions

Evidence

  • Production-bundle Chromium reproduction on base 6f212fb009904efe6e9686f4bb433a39048b3b82: saving the selected-text comment leaves Ask disabled. The same flow passes with this repair, and the request contains the full selected passage and edited comment.
  • 15/15 browser E2E scenarios passed across the two touched suites (--maxWorkers=1; 46.00 seconds wall time including the production build). Coverage includes selection limits and edits, retained/main composer isolation, comment persistence, image-only file picking with exact request bytes, text+image retry, and send shortcuts. The image-picker case already passes on base; it is regression coverage, not a claimed image bug fix.
  • 26/26 existing companion owner tests passed (--maxWorkers=1; 21.62 seconds wall time). Two focused main-chat image preparation/isolation browser scenarios also passed (27.92 seconds including build). No additional image-submission defect has been reproduced; that part of the user report remains open for clarification.
  • Targeted UI typecheck, scoped lint (one existing reactivity warning), i18n verification, controller guard, format, and git diff --check passed. The initial typecheck rejected borrowed dependencies; an independently owned physical installation passed.
  • Independent Codex P0–P2 autoreview completed with no actionable findings.
  • Browser proof uses the real Control UI with synthetic Gateway I/O; it is not live model or physical-device proof. Exact-head CI passed; the shared browser-E2E job took 264 seconds (whole-job time, not incremental per-file cost).

Before and after

Independently captured through the real Control UI with synthetic Gateway I/O in the linked original discussion; attached after merge. Both states have one saved comment and an empty question box.

Before: Ask is disabled.

Before: saved Side chat comment cannot be submitted

After: Ask is enabled and submits the full selected passage/comment.

After: saved Side chat comment can be submitted

@clawsweeper

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S labels Oct 27, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 27, 2026 01:15
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 27, 2026 01:21
@roboclaw-bot
roboclaw-bot merged commit 552234b into main Oct 27, 2026
139 of 140 checks passed
@roboclaw-bot
roboclaw-bot deleted the fix/side-chat-comment-context branch October 27, 2026 01:26
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

steipete added a commit that referenced this pull request Oct 27, 2026
Regenerate the Control UI locale catalogs and metadata with ui:i18n:sync
so build-artifacts no longer fails its catalog fallback baseline check.
Keep all 21 locales at zero fallback keys and preserve existing translations.

The drift follows English copy in #181747 (Workshop drafts and its config
hint), #185263 (OAuth expiry), and #185292 (Side chat selections).
Locale refresh run 40433199860 generated the updates but deferred publishing
because generator inputs changed on main during publication.

Validation: ui:i18n:check reproduced the baseline failure before generation
and passed afterward; tsgo:ui passed; independent autoreview found no
P0-P2 issues. Generated locale artifacts only: 694 additions, 211 removals.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
…on (openclaw#185292)

* fix(ui): send saved side chat comments without a second question

Co-authored-by: Patrick-Erichsen <[email protected]>

* test(ui): align side chat attachment-only submission guard

Co-authored-by: Patrick-Erichsen <[email protected]>

---------

Co-authored-by: Patrick-Erichsen <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
Regenerate the Control UI locale catalogs and metadata with ui:i18n:sync
so build-artifacts no longer fails its catalog fallback baseline check.
Keep all 21 locales at zero fallback keys and preserve existing translations.

The drift follows English copy in openclaw#181747 (Workshop drafts and its config
hint), openclaw#185263 (OAuth expiry), and openclaw#185292 (Side chat selections).
Locale refresh run 40433199860 generated the updates but deferred publishing
because generator inputs changed on main during publication.

Validation: ui:i18n:check reproduced the baseline failure before generation
and passed afterward; tsgo:ui passed; independent autoreview found no
P0-P2 issues. Generated locale artifacts only: 694 additions, 211 removals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant