Add Copy Code Functionality to Code Editor
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.
I'd like to work on this issue. Could you assign it to me if that's okay?
Hey @meet306, I added the copy code button, it was a pretty easy fix
https://github.com/user-attachments/assets/0bf649e1-8cdc-4ec7-908d-ba148816e4a9
@subhraneel2005 Did you do that on a local copy? The live version looks different and I'm confused. I'd like to copy a project to Codesandbox, or Replit, Vercel, etc.
we now added this!