fastruby / fastruby/ruby_or_rails

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

Đang mở
#65 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Ruby
Star
5
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.