fastruby / fastruby/ruby_or_rails

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

Offen
#65 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Ruby
Sterne
5
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

# 🐛 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!”)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.