Skip to content

feat(webui): add copy action to user messages - #4930

Merged
chengyongru merged 1 commit into
mainfrom
fix/webui-copy-user-message
Jul 14, 2026
Merged

chengyongru merged 1 commit into
mainfrom
fix/webui-copy-user-message

Conversation

@chengyongru

Copy link
Copy Markdown
Collaborator

Summary

  • add a copy action to user text messages
  • reuse the same copy component and feedback state for user and assistant messages
  • keep Fork assistant-only

Testing

  • bun run test -- src/tests/message-bubble.test.tsx src/tests/thread-messages.test.tsx (41 passed)
  • bun run lint
  • bun run build
  • real gateway + Playwright smoke test: sent /model, clicked the user-message copy action, observed the Copied state, and confirmed no Fork action appears on the user message

@chengyongru

Copy link
Copy Markdown
Collaborator Author
image

@chengyongru chengyongru added priority: p2 Normal backlog: minor bug, enhancement, docs, cleanup, edge case, or unvalidated proposal. feature enhancement New feature or request webui test labels Jul 14, 2026
@chengyongru
chengyongru merged commit f718c69 into main Jul 14, 2026
5 checks passed
@chengyongru
chengyongru deleted the fix/webui-copy-user-message branch July 22, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature priority: p2 Normal backlog: minor bug, enhancement, docs, cleanup, edge case, or unvalidated proposal. test webui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant