-
Couldn't load subscription status.
- Fork 2.4k
Copy task prompts support carrying all images from the task to the clipboard and allow complete pasting in new conversations. #8824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…the clipboard and allow complete pasting in new conversations.
PR Review SummaryI've reviewed the changes in this PR and found 1 remaining issue that needs to be addressed: Issues Found
RecommendationThe critical HTML escaping issue has been successfully resolved. The test update in the latest commit correctly matches the new copy function signature. The remaining i18n issue should be addressed for proper internationalization support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review complete. Found 2 issues that need to be addressed before this PR can be approved. Please see the inline comments for details.
|
Thanks for the contribution! This feature isn’t planned for inclusion right now, so we’ll be closing this PR for the time being. We really appreciate you taking the time to implement and document it - please don’t hesitate to open a discussion first if you’d like to revisit this idea in the future. |
Copy task prompts support carrying all images from the task to the clipboard and allow complete pasting in new conversations.
Description
This PR implements the functionality to copy task prompts (including images) to the clipboard and allows for complete pasting in new conversations.
Main implementation details:
useClipboardhook to support writing HTML content (including<img>tags) to the clipboard.CopyButtoncomponent to enable it to extract and copy complete prompt content including images from task history.ChatTextAreaandTaskActionsto ensure that pasted content can be properly processed and rendered.history.tsandtaskMetadata.tsto better support tasks containing multimedia content.Test Procedure
Perform manual testing through the following steps:
Pre-Submission Checklist
Screenshots / Videos
bandicam.2025-10-26.04-58-17-168.mp4
Documentation Updates
Get in Touch
xiaoyingyo_