Pomax / BezierInfo-2

The development repo for the Primer on Bรฉzier curves, https://pomax.github.io/bezierinfo
https://pomax.github.io/bezierinfo
Other
2.29k stars 286 forks source link

Document navigation #317

Closed luc4leone closed 2 years ago

luc4leone commented 2 years ago

hey Pomax,

I am jumping back and forth between sections a lot. This is definitely not a novel that one reads from start to finish. I have a MAC and I do a lot of cmd+up to go to the table of content, then I click on the section link. The problem with cmd+up is that it doesn't bring me exactly to the table of content. I have to press the spacebar. NOT a big issue of course.

A quick "fix" would be to add an index link close to the previous next that on click would bring the user to the table of content.

image

A much better "fix" would be to add a left sidebar, where one could see the table of content and immediately click on the relevant section link to jump there.

just my 2 cents ๐Ÿ˜‰

Pomax commented 2 years ago

I don't currently have a working mac to test that on, but I'll revisit this once I do, hopefully less than a few weeks from now.

luc4leone commented 2 years ago

I guess the equivalent shortcut on Windows is Ctrl+Home. Of course one can scroll with the mouse instead of jumping with the keyboard shortcut to the top of the file. My point is just that, from my experience these last days, having the table of content "at hand" would make the navigation / studying of the Primer easier ๐Ÿ‘

Pomax commented 2 years ago

I've added toc links between "previous" and "next", the fact that the toc is not a persistent nav, or at the top of the page, is not a usability concern.

luc4leone commented 2 years ago

I've added toc links between "previous" and "next"

nice page navigation improvement according to me ๐Ÿ’ฏ