Make table of contents floating and highlight current section

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
領域
frontend

調査の方向性

The issue names no files or tests, so start by finding where the blog post template renders its table of contents and how the page layout is structured. The request is a sticky or floating TOC that highlights the section currently in view, which is a design decision, so confirm the scope with maintainers first. Done means the TOC stays visible while reading and marks the active section; the extra tree, time-to-read and share features need separate agreement.

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

説明

blog d.enhancement from.team infra.design p2-medium
Describe the problem

Blog post table of contents is inlined and collapse at the top of the post. It is therefore not usable when reading the post.

image
Expected fix

Would love to see a floating table of contents for blog posts.

My favorite example of these has got to be Claude's blog, it includes a tree that auto-expands to the current section, time to read, and sharing buttons.

Example

image
On which browser(s) did you experience this issue?

No response

Additional context

No response

I would like to fix this problem.
  • I will try and fix this problem on docs.flutter.dev.
主要言語
Dart
スター
3.1k
フォーク
3.5k
平均マージ
2日 10時間
マージ済み PR(30日)
88

環境構築

はじめの一歩

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

flutter/website のほかの issue

flutter/website の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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