Skip to content

fix(webui): show copy action on every assistant message - #5001

Merged
chengyongru merged 1 commit into
mainfrom
fix/assistant-copy-actions
Jul 20, 2026
Merged

chengyongru merged 1 commit into
mainfrom
fix/assistant-copy-actions

Conversation

@chengyongru

Copy link
Copy Markdown
Collaborator

Summary

  • show the copy action on every completed assistant text block
  • keep fork eligibility limited to the final assistant block before the next user turn
  • cover adjacent and activity-separated assistant blocks with regression tests

Testing

  • bun run test — 41 files, 585 tests passed
  • bun run lint
  • bun run build
  • real gateway + Playwright: verified both assistant blocks copy their own text, survive reload, and retain a single fork action

@chengyongru chengyongru added priority: p2 Normal backlog: minor bug, enhancement, docs, cleanup, edge case, or unvalidated proposal. bug Something isn't working fix webui test labels Jul 20, 2026
@chengyongru

Copy link
Copy Markdown
Collaborator Author
copy-actions

@chengyongru
chengyongru merged commit 949cfad into main Jul 20, 2026
4 checks passed
@chengyongru
chengyongru deleted the fix/assistant-copy-actions 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

bug Something isn't working fix 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