tsdataclinic / scout

Scout is a data discovery tool to explore open data portals worldwide.
https://scout.tsdataclinic.com
Apache License 2.0
33 stars 12 forks source link

Need to fix the default on home page - keeps going back to New York datasets #237

Closed mosymns13 closed 2 years ago

mosymns13 commented 2 years ago

Hello there! I want to bring a potential bug to your attention.

I have been trying to take a look at other cities (specifically Austin). Once I click on a dataset to explore and then go "home", I am taken back to NY datasets. This happens each time whether I am using the filters or not.

The toggle is on for "specific portal." The same thing happens regardless of the browser (Firefox, Safari, and Chrome).

jps327 commented 2 years ago

Thank you for bringing this to our attention! It looks like we aren't tracking the user's currently selected portal in the app state once you leave the Explore page. That means that when you go back to the Explore page, after having left it, it resets to New York.

This should be easy to fix and we will prioritize this for next week.

jps327 commented 2 years ago

Hi @mosymns13 , We've fixed this now and the fix is live now. If you refresh the page you should see your portal selection persisting when you go back to the "Explore" page. Please reopen this issue if things aren't fixed the way you expected. Thanks!

mosymns13 commented 2 years ago

Oh wow! Thanks for getting to it so quickly. This will be a great help for my work this week 👍🏾