Page MenuHomePhabricator

ToC: links to topics within the board, do not change the URL in the address bar
Open, LowPublic

Description

In the ToC prototype, if I click on a link to a section, I scroll down to that section, but the browser URL doesn't change.

Event Timeline

Quiddity raised the priority of this task from to Low.
Quiddity updated the task description. (Show Details)
Quiddity added a subscriber: Jaredzimmerman-WMF.
Quiddity added a subscriber: Quiddity.

Relatedly,

I've seen sites that automatically write to the URL as you scroll would
this be a way to do this transparenlty without UI at all?

Here are two common libraries that I've seen in use for this purpose
https://github.com/imakewebthings/waypoints
https://github.com/browserstate/history.js

The only issue (i remember from over a year ago) was that some of these solutions interfere with the browser back behavior, which I'd want to avoid.