Skip to content
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

Add copy button functionality to CodeViewer component #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

meet306
Copy link

@meet306 meet306 commented Jan 22, 2025

The current code editor in the Llama Coder application does not include a "Copy Code" button, which makes it difficult for users to quickly copy the generated code. This feature would significantly improve usability.

Proposed Solution: Introduce a "Copy Code" button to the UI that allows users to copy the generated code using the navigator.clipboard API.

Steps to Reproduce:

Open the Llama Coder code editor.
Generate some code using the editor.
Observe that there’s no option to copy the generated code directly.
Additional Context: This feature aligns with the roadmap item for improving best practices in the editor interface.

Copy link

vercel bot commented Jan 22, 2025

@meet306 is attempting to deploy a commit to the Together AI Team on Vercel.

A member of the Team first needs to authorize it.

@meet306
Copy link
Author

meet306 commented Jan 22, 2025

fixed #77

@meet306 meet306 closed this Jan 22, 2025
@meet306 meet306 reopened this Jan 22, 2025
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.

None yet

1 participant