Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Enable text selection for AI messages and logs

8 months ago

0b992f8
Authored
mweinbach2/20/2026, 10:05:58 PM
Allow copying/selecting message and feed text by adding a reusable select-text class and enabling selective selection styles. Updated components to opt into selection: MessageContent, ReasoningContent, ToolContent, and ChatView feed CardContent. styles.css now disables selection globally (user-select: none) and adds .is-user ::selection styling so user messages get a proper selection highlight.

Parentaab36c1

5 files changed
  • apps/desktop/src/components/ai-elements/message.tsx+1−1
  • apps/desktop/src/components/ai-elements/reasoning.tsx+1−1
  • apps/desktop/src/components/ai-elements/tool.tsx+1−1
  • apps/desktop/src/styles.css+6−0
  • apps/desktop/src/ui/ChatView.tsx+3−3