UI: one line code block ghost copy button
オープン
まだ誰も着手していません。
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.
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"
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされている deprecations の例から始め、そこで使われているコードブロックの copy-button のエントリーポイントをたどってください。1 行の bash ブロックでホバー時に表示されるコピーアクションが維持され、ボタンがあまり役に立たない場合には永続的な視覚的スペースを追加しないようになれば、変更は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- nextjs, react, typescript
- 領域
- design, frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 62/100