fastruby / fastruby/ruby_or_rails

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

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.