llamacoder icon indicating copy to clipboard operation
llamacoder copied to clipboard

Add copy button functionality to CodeViewer component

Open meet306 opened this issue 1 year ago • 2 comments

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.

meet306 avatar Jan 22 '25 07:01 meet306

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Jan 22 '25 07:01 vercel[bot]

fixed #77

meet306 avatar Jan 22 '25 07:01 meet306