Skip to content

feat: Adding Copy button to copy user typed messages.#2065

Open
nakul-py wants to merge 1 commit intohuggingface:mainfrom
nakul-py:copy-button
Open

feat: Adding Copy button to copy user typed messages.#2065
nakul-py wants to merge 1 commit intohuggingface:mainfrom
nakul-py:copy-button

Conversation

@nakul-py
Copy link
Contributor

This PR adds the Copy button that helps user to copy shared messages that is shared with chat.

Screencast.From.2026-01-21.19-31-25.mp4

@nakul-py
Copy link
Contributor Author

@gary149 I have removed the Edit text from the edit button. I want your thought that we are on the right track. And if you want to omit the removal of text than we have to also add text Copy for the new copy button.

<div
class="
pointer-events-none absolute rounded bg-black px-2 py-1 font-normal leading-tight text-white shadow transition-opacity
pointer-events-none absolute z-50 rounded bg-black px-2 py-1 font-normal leading-tight text-white shadow transition-opacity
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because the tooltip hides behind the messages.

@gary149
Copy link
Collaborator

gary149 commented Jan 23, 2026

the button doesnt seem centered will take a look later but agree this should be done

image

@nakul-py
Copy link
Contributor Author

nakul-py commented Jan 28, 2026

@gary149 Currently i am working on adding ability to copy and edit pasted content file.

editing-pasted-content.mp4

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 for messages

2 participants