UI: one line code block ghost copy button
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- nextjs, react, typescript
Research direction
Start with the linked deprecations example and trace the code-block copy-button entry point used there. The change is done when one-line bash blocks retain a copy action that appears on hover, while the button does not add persistent visual space in cases where it is less useful.
Written by the indexing model from the issue text.
Description
Description
in example the one line bash code block didn't have copy button which is useful in this case.
Why we remove tabs and button on bottom? Bascly took to much space.
Solution
Having a ghost button (mean visible on hover).
https://github.com/user-attachments/assets/9859ae75-1bea-4be7-872c-db201d3e4499
But there are still case where button is useless IMO. here for example have copy button isn't really usefull but when user will hover it button will appear so it's take "mental/visual ressource"
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 6.5k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 29
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nodejs/nodejs.org
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nodejs/nodejs.org#9162 · 1 comment ·
-
web-agenda
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nodejs/nodejs.org#9098 · 3 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
nodejs/nodejs.org#8828 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
nodejs/nodejs.org#9166 · 3 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
nodejs/nodejs.org#9140 · 10 comments · 3 reactions ·
All issues in nodejs/nodejs.org
Similar issues
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
supermomonga/zcode-acp#24 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
growthbook/growthbook#7100 ·
-
triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100