Make NavBar Re-appear on Upward Scroll
オープン
まだ誰も着手していません。
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:
- Add the "system" mode option that follows the light/dark OS setting, like the one is MacOS.
- Add a hotkey to switch mode.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まずドキュメントページのナビゲーションとダークモードのコントロールを確認し、次に提案されたアプローチのうちプロジェクトが採用すべきものを判断します。選択したモード切り替えの改善が、読者に先頭へ戻ることを強制せずに機能し、関連する UI 動作チェックでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- nextjs, react, typescript
- 領域
- documentation, frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 38/100