mozilla / gud

Mozilla Growth & Usage Dashboard, pronounced "Good"
https://gud.telemetry.mozilla.org
3 stars 4 forks source link

fixes page redirection issue due to view not being in hash route #124

Closed hamilton closed 3 years ago

hamilton commented 3 years ago

fixes #119

A fresh page-load with no query string wasn't catching the view in the hash, ie #!explore?param=.... It was just making ?param=..., which confused the instantiation. This was easily fixed by "redirecting" / to /explore by default, which was kind of happening already. This bug that existed before kept it so that there were cases where a user couldn't copy and paste the URL and expect to get the same thing, since the store instantiation was confused by the structure.