Closed simonw closed 2 years ago
If I'm on https://simonw.github.io/datasette-lite/#/content/pypi_versions?_sort=package and I hand edit the URL to https://simonw.github.io/datasette-lite/#/content/pypi_versions?_sort=package&_facet=package the content of the page should update.
I want this so I can e.g. add facets that aren't visible despite the cog menu not working, refs:
I think I need to listen to the hashchange event: https://developer.mozilla.org/en-US/docs/Web/API/Window/hashchange_event
hashchange
If I'm on https://simonw.github.io/datasette-lite/#/content/pypi_versions?_sort=package and I hand edit the URL to https://simonw.github.io/datasette-lite/#/content/pypi_versions?_sort=package&_facet=package the content of the page should update.
I want this so I can e.g. add facets that aren't visible despite the cog menu not working, refs:
8