USEPA / useeio-widgets

Creative Commons Zero v1.0 Universal
3 stars 17 forks source link

Update widgets without updating URL #41

Open TheTisiboth opened 3 years ago

TheTisiboth commented 3 years ago

For the indicator changes: Try updating the URL as the indicator changes, WITHOUT updating the URL history. Then the user won't have to click back dozens of times to return to the previous page. (Later we could make this a setting option: Retain URL history for each hash change.)

TheTisiboth commented 3 years ago

Yes, I will have to work on this, thanks to the hiddenhash if I have well understood, but I don't know exactly how to do it. Now we have an URLConfigTransmitter, which updates the URL on config changes. Maybe I could create a HiddenhashTransmitter, which would not modify the URL ? I am thinking about how I could achieve this right now.