Skip to content

feat: collapsible chat messages for long user/assistant text#1633

Merged
syzsunshine219 merged 1 commit into
MemTensor:mem-agent-0424from
syzsunshine219:test/hermes-plugin-0428
May 7, 2026
Merged

feat: collapsible chat messages for long user/assistant text#1633
syzsunshine219 merged 1 commit into
MemTensor:mem-agent-0424from
syzsunshine219:test/hermes-plugin-0428

Conversation

@syzsunshine219
Copy link
Copy Markdown
Collaborator

@syzsunshine219 syzsunshine219 commented May 7, 2026

Summary

  • Auto-collapse user messages (>200 chars) and assistant messages (>600 chars) to 120px height with fade overlay
  • Toggle button "展开全文" / "收起" to expand/collapse
  • Prevents long messages from overwhelming the task conversation view

Test plan

  • Open Tasks → click any episode with long conversation
  • Verify long user/assistant messages show collapsed with fade + "展开全文" button
  • Click to expand, verify full text shows; click "收起" to collapse again
  • Short messages remain unchanged (no toggle button)

Auto-collapse user messages >200 chars and assistant messages >600 chars
to 120px with a fade overlay. Click "展开全文"/"收起" to toggle.
Prevents long messages from overwhelming the task conversation view.

Co-authored-by: Cursor <cursoragent@cursor.com>
@syzsunshine219 syzsunshine219 merged commit 1630f34 into MemTensor:mem-agent-0424 May 7, 2026
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.

1 participant