Skip to content

fix(ui): clarify cross-session messaging controls - #170390

Merged
roboclaw-bot merged 4 commits into
mainfrom
openclaw/clarify-cross-session-messaging
Oct 13, 2026
Merged

roboclaw-bot merged 4 commits into
mainfrom
openclaw/clarify-cross-session-messaging

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: the Send messages and Receive messages controls do not identify their cross-session scope when users open the session menu’s Advanced submenu.

User Impact

User impact: a small “Cross-session messaging” heading and surrounding separators make the scope clear. Existing Send messages / Receive messages and Always / Ask / Never labels, permissions, defaults, and behavior are unchanged. No migration or user action is required.

Why This Change Was Made

Group the existing controls without renaming them or implying that two different agents are required. The heading uses the existing English translation catalog and shared desktop/compact-menu component. The existing upper separator and a matching lower separator bound the heading, controls, and optional Reset. Hide from Involving me is unchanged.

Per ui/AGENTS.md, generated translations and locale metadata cannot be mixed into a source PR. The post-merge control-ui-locale-refresh workflow owns translation generation; exact wording below is a suggestion for that follow-up, not shipped translations:

  • German: Nachrichten zwischen Sitzungen
  • Portuguese (BR and PT): Mensagens entre sessões
  • Spanish: Mensajes entre sesiones
  • French: Messages entre sessions

Evidence

  • Existing communication-menu regression suite: 6 tests passed (2.82s runner wall time).
  • Existing mocked-Gateway browser flow: desktop (1280px) and compact (390px), 2 tests passed before and after; latest after run 13.93s. Actual UI screenshots inspected and delivered in the implementation conversation; representative desktop comparison below.
  • pnpm ui:i18n:baseline and pnpm ui:i18n:verify passed; raw-copy baseline unchanged. No translation memory or generated locale metadata changed.
  • pnpm tsgo:ui, pnpm ui:build, scoped formatting, TypeScript lint, stylesheet lint, and git diff --check passed.
  • Independent review: no unresolved P0–P2 findings; an index-only staging omission was resolved before committing. No new literal-string tests or CI cost added. Broad CI will run on this PR; it has not been claimed passing locally.

Before

Before: session menu without a cross-session heading

After

After: separators scope Cross-session messaging above the unchanged controls

Captured from the actual Control UI with deterministic mocked-Gateway content at the same 1280px viewport; images crop only lower-page context.

Worked on by

Work sessions


View the OpenClaw team session

roboclaw-bot and others added 2 commits October 12, 2026 23:37
Group the existing Send messages and Receive messages controls under a small translatable heading without changing their labels, choices, or permissions.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 1eb1760c-9653-45f5-82c4-acc3e7296cb5
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 12, 2026 23:41
@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 12, 2026
@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR groups the existing Send messages and Receive messages controls under a Cross-session messaging heading and surrounding separators.

Example: Open Advanced for the Release checklist session with Send set to Always and Receive set to Ask.

  • Before: The two controls appear without a heading identifying their scope.
  • After: Cross-session messaging identifies their scope while preserving Always and Ask.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong visual evidence supports a useful, narrowly scoped clarification; one cosmetic separator defect remains.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before and after screenshots exercise the shared communication presentation through the actual Control UI Advanced submenu at 1280px with synthetic mocked-Gateway content, showing the heading and lower boundary with unchanged selections.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Users cannot tell from the Send messages and Receive messages labels that these preferences govern communication between sessions.
Reason: The collaborator-authored PR supplies owner direction for a small clarification requested by @vyctorbrzezowski while preserving the established controls and behavior.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this collaborator-authored PR open: the clarification is useful and visually proven, but the added separator creates duplicate dividers when no intervening rows appear.

Priority: P3
Reviewed head: e6964b93af6a14dfd53d4ff33b97bb9bbf1152a6

Before merge

  • Reuse the existing divider when no intervening rows are visible (P3) - Opening Advanced on a single-user Gateway, or from an Involving me list, can omit the involvement row. When settings have no error, this unconditional new separator is immediately followed by the existing separator in AdvancedBody at session-menu-view.tsx:445. Both have border-top and margins, producing two adjacent divider lines above Delete on desktop and compact menus. Render only one lower boundary when there are no intervening error or involvement rows.

Findings

  • [P3] Reuse the existing divider when no intervening rows are visible — ui/src/components/session-menu-details-solid.tsx:284-288
Agent review details

How this fits together

The shared Control UI session menu renders Gateway-resolved communication preferences and sends selections through the existing session action owner; this patch changes presentation only.

flowchart TD
  A[Gateway session metadata] --> B[Session action owner]
  B --> C[Shared Advanced menu]
  D[English translation catalog] --> C
  C --> E[Desktop submenu]
  C --> F[Compact menu page]
Loading

Technical review

Best possible solution:

Keep the heading and reuse the existing divider when no error or involvement rows separate communication controls from Delete.

Do we have a high-confidence way to reproduce the issue?

Source shows adjacent bordered separators when Advanced has no settings error and the involvement row is absent, including single-user and Involving-me contexts; no target code was executed.

Is this the best way to solve the issue?

The shared heading is an appropriately small clarification, but separator placement must account for the caller's existing divider.

Full review comments:

  • [P3] Reuse the existing divider when no intervening rows are visible — ui/src/components/session-menu-details-solid.tsx:284-288
    Opening Advanced on a single-user Gateway, or from an Involving me list, can omit the involvement row. When settings have no error, this unconditional new separator is immediately followed by the existing separator in AdvancedBody at session-menu-view.tsx:445. Both have border-top and margins, producing two adjacent divider lines above Delete on desktop and compact menus. Render only one lower boundary when there are no intervening error or involvement rows.
    Confidence: 0.99

Overall correctness: patch is correct
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 8b15f4d1d186.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test ui/src/components/session-menu.communication.test.ts --maxWorkers=1
  • pnpm tsgo:ui
  • pnpm lint:ui:styles
  • git diff --check
  • Inspect desktop and compact Advanced-menu screenshots for single-user, Involving-me, and visible-involvement cases, confirming one divider at each intended boundary.

What I checked:

PR surface

Source +16. Total +16 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 16 0 +16
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 16 0 +16

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • remove rating: 🦞 diamond lobster: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P3: This is a small menu clarity improvement with a cosmetic duplicate-divider defect and no change to messaging behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-12T23:47:20.976Z sha 6dfcf78 :: needs maintainer review before merge. :: none

Reviewed October 12, 2026, 8:09 PM ET / October 13, 2026, 00:09 UTC (Revision 2).

roboclaw-bot and others added 2 commits October 13, 2026 00:00
Keep the existing upper separator and add its matching lower boundary after the controls and optional Reset. Leave Hide from Involving me and all control behavior unchanged.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: c66c4524-0406-4fd8-b645-94ac86dfac9a
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 13, 2026
@roboclaw-bot
roboclaw-bot merged commit f9d5447 into main Oct 13, 2026
100 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/clarify-cross-session-messaging branch October 13, 2026 00:12
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 13, 2026
* fix(ui): clarify cross-session messaging controls

Group the existing Send messages and Receive messages controls under a small translatable heading without changing their labels, choices, or permissions.

Co-authored-by: vyctorbrzezowski <[email protected]>

* fix(ui): clarify cross-session messaging controls

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 1eb1760c-9653-45f5-82c4-acc3e7296cb5

* fix(ui): bound cross-session messaging controls with separators

Keep the existing upper separator and add its matching lower boundary after the controls and optional Reset. Leave Hide from Involving me and all control behavior unchanged.

Co-authored-by: vyctorbrzezowski <[email protected]>

* fix(ui): clarify cross-session messaging controls

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: c66c4524-0406-4fd8-b645-94ac86dfac9a

---------

Co-authored-by: vyctorbrzezowski <[email protected]>
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant