graphql / graphql/graphql.github.io

Add smooth scrolling when clicking on section links

オープン
#1,314 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
💄 Enhancement 🚀 PR open
主要言語
TypeScript
スター
889
フォーク
1.5k
平均マージ
4日 12時間
マージ済み PR(30日)
21

説明

### Description

This is a very minor improvement that could be made to the website, I noticed that when you click on a particular section, it automatically just takes you to that section. Works as intended, but You can easily get lost where you are, since it magically teleports you there. Adding smooth scrolling would help with this issue, and let the reader know where the page is taking them.

### Motivation
Mild UI improvements for the user.

### Collaboration
I can build this out. Or if someone wants to do it

### Additional Context
Example of the thing I'm talking about. It just snaps to that section, adding smooth scrolling would scroll the page to that section, so the reader doesn't get lost.
![Animation](https://user-images.githubusercontent.com/70502771/202878120-8b8072d6-2425-4682-a9e9-e5afd9546e10.gif)

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

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

調査の方向性

issue にはファイルもテストも記載されていません。まず、ウェブサイトのセクションリンクの処理箇所を見つけ、現在のジャンプ動作を再現してください。完了の条件は、セクションリンクをクリックすると、目的の位置に瞬時に移動するのではなく、そこまで目に見えてスクロールすることです。

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

評価

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

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

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