hackmdio / hackmdio/hackmd-io-issues

[Feature Request] TOC drop-down visible in Editor

Aperta
#282 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature
Lingua principale
Nessun dato sulla lingua
Stelle
40
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## **Is your feature request related to a problem? Please describe.**

When editing longer documents, it can become difficult to find specific sections without using the "split view" mode. One can use the "find in page" function of most browsers to find a specific section header or phrase, but this is inconvenient at best.

## **Describe the solution you'd like**

A "drop-down" pop-out TOC similar to the one provided in the bottom left corner of the viewing pane, but which is now visible in the editor. This could be placed in the bottom-right of the editor pane, so that it would line up with the pop-out TOC in the view pane. This way, even in split-view mode, when the editor and the view panes are not synced for scrolling, the pop-out TOC on each side of the split would control that particular view.

Additionally (or as alternatively), the space occupied by the "Red Panda" editor setting could instead display the text of the section header. Clicking on the text would then pop up a TOC menu from the bottom menu bar. An example of this is shown in the image below. Clicking on the headers in the bottom TOC menu would jump to the appropriate section at the top of the editor.

Screen Shot 2021-11-09 at 10 29 17 PM

## **Describe alternatives you've considered**

Using the browser's built in "Find in Page" somewhat helpful, _if_ one can remember the specific names of sections. It is also possible to bookmark sections using section-links, but this requires manual set-up for each note.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

In questa issue non sono identificati file di implementazione né test. Inizia esaminando il comportamento del TOC dell’editor e del pannello di visualizzazione descritto qui, incluso lo scorrimento nella vista divisa e lo screenshot. Il lavoro è completato quando nell’editor è disponibile un TOC e selezionando un’intestazione si passa alla sezione appropriata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.