Skip to content

feat(web): auto-expanding chat textarea and copy-on-hover for messages#3243

Merged
theonlyhennygod merged 1 commit into
masterfrom
feat/web-chat-ux
Mar 12, 2026
Merged

feat(web): auto-expanding chat textarea and copy-on-hover for messages#3243
theonlyhennygod merged 1 commit into
masterfrom
feat/web-chat-ux

Conversation

@theonlyhennygod
Copy link
Copy Markdown
Collaborator

Summary

  • Replace single-line <input> with auto-expanding <textarea> in AgentChat — grows to fit content, supports Shift+Enter for newlines
  • Add copy-to-clipboard button on message hover with visual feedback (checkmark icon after copy)

Issues

Fixes #3119, Fixes #3120

Test plan

  • Textarea auto-expands when typing multiline content
  • Enter sends message, Shift+Enter inserts newline
  • Copy button appears on hover over any message bubble
  • Copy button shows checkmark feedback after clicking
  • Visual review in browser

🤖 Generated with Claude Code

#3119, #3120)

Replace single-line <input> with auto-expanding <textarea> (min 44px,
max 200px) that resizes on each keystroke. Add a copy button that
appears on hover for every message bubble, showing a checkmark on
successful clipboard write.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@theonlyhennygod theonlyhennygod merged commit dfe0221 into master Mar 12, 2026
5 checks passed
@theonlyhennygod theonlyhennygod deleted the feat/web-chat-ux branch March 13, 2026 13:39
lantrinh1999 pushed a commit to lantrinh1999/zeroclaw-1 that referenced this pull request Mar 18, 2026
zeroclaw-labs#3119, zeroclaw-labs#3120) (zeroclaw-labs#3243)

Replace single-line <input> with auto-expanding <textarea> (min 44px,
max 200px) that resizes on each keystroke. Add a copy button that
appears on hover for every message bubble, showing a checkmark on
successful clipboard write.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
PlebCoder pushed a commit to PlebCoder/zeroclaw that referenced this pull request Mar 19, 2026
zeroclaw-labs#3119, zeroclaw-labs#3120) (zeroclaw-labs#3243)

Replace single-line <input> with auto-expanding <textarea> (min 44px,
max 200px) that resizes on each keystroke. Add a copy button that
appears on hover for every message bubble, showing a checkmark on
successful clipboard write.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Web chat message copy action on hover (OpenClaw parity) [Feature]: Auto-expanding multiline chat composer textarea (OpenClaw parity)

1 participant