In AJAXified Views ( e.g., glossary or pagers ), it passing the URL as args to backend and returns contents. We should also update the address bar via history.pushState() to reflect current page state. Therefore, we have better browsers history and able to share links (either copy from address bar or via social widgets). Maybe also helped SEO.

Comments

droplet created an issue. See original summary.

Everett Zufelt’s picture

I like the idea of making this possible, but think it should be optional.

1. I might not want the user to need to migrate back through the history for each state change to get to the previous page. Perhaps an option to use pushState or replaceState.
2. To support older browsers like IE 9 we would want to use something like History.js.
3. For IE 8 (still many need to support) there is no way to update the state without reloading the page.

nod_’s picture

Issue tags: +ie8

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.