nodejs / nodejs/nodejs.org

UI: one line code block ghost copy button

オープン
#9,085 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

accessibility design
主要言語
TypeScript
スター
6.9k
フォーク
6.5k
平均マージ
2日 8時間
マージ済み PR(30日)
29

説明

Description

in example the one line bash code block didn't have copy button which is useful in this case.

Image

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"

Image

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされている deprecations の例から始め、そこで使われているコードブロックの copy-button のエントリーポイントをたどってください。1 行の bash ブロックでホバー時に表示されるコピーアクションが維持され、ボタンがあまり役に立たない場合には永続的な視覚的スペースを追加しないようになれば、変更は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
nextjs, react, typescript
領域
design, frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
62/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。