This pull request makes the reader's share URL always show up in the address bar and updates at every location change. This makes use of the browser's History API
This is needed for Hypothesis so that it could pick up on this URL and use it for sharing purposes as a direct link to a bookmarked location on the current page.
Hypothesis has some suggested UI tweaks to our UI that I have implemented as well:
Providing a margin on the right for the sidebar when it's collapsed:
Shifting the right page turn button when the sidebar is open.
(Related) https://github.com/readium/readium-shared-js/pull/396
This pull request makes the reader's share URL always show up in the address bar and updates at every location change. This makes use of the browser's History API This is needed for Hypothesis so that it could pick up on this URL and use it for sharing purposes as a direct link to a bookmarked location on the current page.
Hypothesis has some suggested UI tweaks to our UI that I have implemented as well:
Providing a margin on the right for the sidebar when it's collapsed:
Shifting the right page turn button when the sidebar is open.