nodejs / nodejs/nodejs.org

Make NavBar Re-appear on Upward Scroll

オープン
#8,699 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

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

説明

Enter your suggestions in details:

While reading a docs page, I decided to switch to the dark mode. But the mode button is not in the right section, it's in the navigation and navigation is hidden unless I scroll to the very top of the page, loosing the position I was reading at.

One possible solution would be to move mode switch to the right section (where ToC is). Another is to make navigation reappear whenever user starts scrolling upwards.

Other options to improve mode switching that come to mind are:

  1. Add the "system" mode option that follows the light/dark OS setting, like the one is MacOS.
  2. Add a hotkey to switch mode.

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

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

はじめの一歩

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

調査の方向性

まずドキュメントページのナビゲーションとダークモードのコントロールを確認し、次に提案されたアプローチのうちプロジェクトが採用すべきものを判断します。選択したモード切り替えの改善が、読者に先頭へ戻ることを強制せずに機能し、関連する UI 動作チェックでカバーされていれば完了です。

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

評価

技術スタック
nextjs, react, typescript
領域
documentation, frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

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

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