We should use history.replaceState() when setting the map hash to avoid filling history with more entries on every drag/zoom and making the back button less useful.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T149368 Update map hash without polluting browser history | |||
Resolved | • JGirault | T144880 Don't pollute history with map hashes |
Event Timeline
Will be fixable once T135692, the day I figure out how to work with https://phabricator.wikimedia.org/diffusion/GOJR/ & Arcanist.
Change 318425 had a related patch set uploaded (by JGirault):
Disable hash update temporarily, to avoid polluting browser history
Change 318425 merged by jenkins-bot:
Disable hash update temporarily, to avoid polluting browser history
Change 318457 had a related patch set uploaded (by Yurik):
Disable hash update temporarily, to avoid polluting browser history
Change 318457 merged by jenkins-bot:
Disable hash update temporarily, to avoid polluting browser history
The problem has been temporarily resolved, but we should re-enable dynamic hash update once url replace is done in core.
Change 824206 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/Kartographer@master] Remove dead code from fullscreen map code
Change 824206 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Remove dead code from fullscreen map code