Skip to content

[Bug] Control UI: Conversation info metadata visible & auto-scroll not working #20903

@niusicn

Description

@niusicn

Summary

Bug Description

Two UI issues in the Webchat Control UI that significantly impact user experience:

Issue 1: Conversation Info Metadata Visible

  • Problem: Every user message displays a "Conversation info (untrusted metadata)" box above it
  • Expected: This metadata should be internal-only and not visible in the chat UI
  • Impact: Clutters the conversation interface

Issue 2: Auto-scroll Not Working

  • Problem: After AI replies, the view jumps back to the previous message instead of scrolling to the latest message
  • Expected: New messages should automatically scroll into view
  • Impact: User must manually click "New messages" button to see latest replies

Steps to Reproduce

  1. Open Webchat Control UI
  2. Start a conversation
  3. Observe:
    • Conversation info boxes appear above each message
    • After AI replies, view doesn't auto-scroll to bottom

Environment

  • OpenClaw Version: 2026.2.17
  • Client: Webchat Control UI
  • Browser: Chrome
  • OS: Linux 6.17.0-14-generic
  • Node: v22.22.0

Screenshots

Screenshot 1 - Conversation info visible
Screenshot 2 - Auto-scroll issue

Additional Context

  • The conversation info metadata appears to be from buildInboundUserContextPrefix() function
  • Code location: dist/reply-oSe13ewW.js (and similar files)
  • This metadata should be for internal AI context, not user-visible

Expected Behavior

  1. Hide "Conversation info" metadata from user-facing UI
  2. Fix auto-scroll to automatically show new messages at the bottom
  3. Optionally add a config option to toggle metadata visibility for debugging

Priority

🔴 High - These issues significantly impact daily usability of the Control UI

Image

Steps to reproduce

no

Expected behavior

no

Actual behavior

no

OpenClaw version

2016.2.17

Operating system

ubuntu24.04

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions