Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation: Remember the reader's previous position when jumping around in text #134

Open
3 tasks
jmcglone opened this issue Feb 20, 2018 · 3 comments
Open
3 tasks

Comments

@jmcglone
Copy link
Member

jmcglone commented Feb 20, 2018

As a reader, when I follow a link (inline, in the TOC, move nav. slider) to a new position in the text, I want to be able to get back to my previous position.

  • If a reader follows a link and moves forward in the text, present a link to move back in the text to the previous location.
  • If a reader follows a link and moves backward in the text, present a link to move forward in the text to the previous location.
  • If a reader follows a link forward or back to their previous location, present a link to return to previous position.
@respinos
Copy link
Collaborator

If the reader is made aware of when the URL changes, could the browser back/forward buttons be sufficient? (The reader is updating history now but doesn't react when you use the back/forward buttons.)

@jmcglone
Copy link
Member Author

I think that is a sensible and agile first step, but...

If using the back/forward buttons on the browser, it's important that the webpage/app doesn't completely re-load to support the use of case of Gabii (don't want to reinitialize the load of the WebGL object).

@respinos
Copy link
Collaborator

respinos commented Feb 26, 2018

Supporting history is addressed in #135 --- some questions that arise:

  • the browser history is ... monotonous, and none of the history API currently affects the title of items. I don't think we want to make the title even longer. Maybe the title + percentage?
  • do you have an idea of visible controls? I will confess that when I try to imagine back/forward I hear someone on DAT saying stop that, the browser already has those buttons :-)

@mbakeryo mbakeryo added the ready label Feb 28, 2018
@mbakeryo mbakeryo modified the milestones: Winter, Spring Feb 28, 2018
@mbakeryo mbakeryo removed the ready label Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants