fastruby / fastruby/ruby_or_rails

[Feature Request] Add a button to copy the snippet code

Aperta
#65 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
5
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

# 🐛 Problem / Context
When viewing code snippets in a list, it’s sometimes difficult to copy only the intended snippet.
Users often end up selecting extra rows or unrelated text, which slows things down and causes mistakes.

# 🎯 Goal
Make copying code snippets quick, precise, and frustration-free.

# ✅ Done When
Each row that contains a code snippet includes a “Copy” button
Clicking the button copies only the code snippet, nothing else
The action works consistently across all rows where code snippets are displayed

# 💡 Notes (Optional)
The button should be clearly visible but not visually distracting
Bonus points for user feedback (e.g. tooltip or toast: “Copied!”)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.