[Feature] Add "Scroll to Top" button to website pages

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

@spider-yamet がすでに取り組んでいます。

2026年2月9日 から。

評価

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

調査の方向性

EChartsウェブサイトの共有ページエントリーポイントまたはレイアウトから始め、次にissueで指定されているHomepage、Documentationセクション、Examplesギャラリーを確認します。これらの長いページでグローバルなScrollToTopコンポーネントがどのように表示され、動作すべきかを判断します。完了の条件は、モバイルを含め、ユーザーがそれぞれのページからトップに戻れることです。

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

説明

en website
What problem does this feature solve?

Yes. When navigating through long pages on the ECharts website (such as the Homepage, lengthy Documentation sections, or the Examples gallery), it is cumbersome to manually scroll back to the top of the page. This negatively impacts the user experience, especially on mobile devices or when browsing extensive API references.Many modern documentation sites (e.g., those built with Docusaurus or VitePress) include this feature by default. Adding it to the ECharts site would align it with modern web standards and improve navigation efficiency.

What does the proposed API look like?

Add a global ScrollToTop component

主要言語
TypeScript
スター
67.7k
フォーク
19.9k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

apache/echarts のほかの issue

apache/echarts の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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