Skip to content

Fix stale message copy actions#256

Open
Chel-Tbl wants to merge 1 commit into
jasonhedman:mainfrom
Chel-Tbl:bounty/fix-message-copy-stale
Open

Fix stale message copy actions#256
Chel-Tbl wants to merge 1 commit into
jasonhedman:mainfrom
Chel-Tbl:bounty/fix-message-copy-stale

Conversation

@Chel-Tbl
Copy link
Copy Markdown

Closes #202.

Summary

  • Remove the custom memo comparator from message actions so the copy handler always sees the latest message.parts.
  • Add a message.content fallback for older/migrated messages that do not have text parts populated.
  • Show a failure toast when clipboard writes fail instead of always reporting success.

Verification

  • node .\node_modules\prettier\bin\prettier.cjs --check 'src/app/(general)/_components/chat/messages/message-actions.tsx'
  • .\node_modules\.bin\tsc.cmd --noEmit --pretty false
  • SKIP_ENV_VALIDATION=1 node .\node_modules\next\dist\bin\next build

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.

Copy Button Fails to Copy Long AI Responses

1 participant