AJAXified Views should also change the URL by using history.pushState()

Created on 6 November 2015, about 9 years ago
Updated 15 October 2024, about 1 month ago

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.

📌 Task
Status

Active

Version

11.0 🔥

Component

views.module

Created by

🇭🇰Hong Kong droplet

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India abhaisasidharan

    @berdir You can share the code. I'll also look into the module shared by @longwave. Would love to get this in core. This is a feature that we're trying to get in a lot of our sites so I think I can try to get this done.

Production build 0.71.5 2024