streamlit icon indicating copy to clipboard operation
streamlit copied to clipboard

when clicked on the st.code() copy button it doesn't say copied

Open 7vansh7 opened this issue 1 year ago • 5 comments

Checklist

  • [X] I have searched the existing issues for similar feature requests.
  • [X] I added a descriptive title and summary to this issue.

Summary

When clicked on the st.code() copy button it doesn't say copied, nor has any other way to tell if the code is copied even though it is copied

Why?

No response

How?

No response

Additional Context

No response

7vansh7 avatar Dec 30 '23 15:12 7vansh7

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits

github-actions[bot] avatar Dec 30 '23 15:12 github-actions[bot]

if anybody knows where the copy btn code might be located, comment the location

7vansh7 avatar Dec 30 '23 15:12 7vansh7

Yeah might be possible to add this but has very low priority for us.

jrieke avatar Jan 02 '24 17:01 jrieke

Yeah might be possible to add this but has very low priority for us.

Yes, i could totally agree with that but it still is very weird for the first time user as you don't even know if the button works unless you actually paste something

I tried to solve the issue myself but couldn't find the files associated with the frontend of the button

7vansh7 avatar Jan 07 '24 11:01 7vansh7

There's https://github.com/streamlit/streamlit/issues/6726 which seems to have more votes, so hopefully this issue priority can be raised too?

vjr avatar Apr 26 '24 17:04 vjr