Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Generate table of contents for (long?) notes

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, markdown
領域
frontend

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まずノートエディターと、その Markdown 見出しまたはレンダリングのパスを見つけ、次に viewport と設定の動作について maintainer と確認してください。長いノートに、閉じた例と展開した例に一致する、使いやすい目次メニューが表示されれば完了です。

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

説明

feature request needs discussion

Is your feature request related to a problem? Please describe.
When I have long notes, I can't see all chapters, and can't get an overview of it.

Describe the solution you'd like
If the note is longer than the viewport (or maybe 2 times the viewport, if you can compute it), provide a menu-button that will drop-down as a table of contents.
It could be on left or right, I let UX engineers do their work :)

If detecting viewport length is too much, that could be a setting : Show Table of Contents in Notes Yes/No. My guess is that people who need it for long notes will not mind seeing them also in short notes.

Describe alternatives you've considered
I could make notes shorter, but that would mean multiply notes, and managing data density at notes level. With only categories, it's a bit of a pain, and for some topics, it does not make sense to split.

Additional context

Example extracted from Wikipedia:
Closed:
Image

Expanded:

Image
主要言語
JavaScript
スター
738
フォーク
162
平均マージ
2時間 40分
マージ済み PR(30日)
39

環境構築

はじめの一歩

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

nextcloud/notes のほかの issue

nextcloud/notes の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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