You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reusing the URL hash currently confuses the datasette lite router. In regular datasette, this route is not sent to the server. In datasette lite, this information is used to simulate the server
Until we figure out a way to separate URL search params / URL hash, or add a pure JS API for doing browser routing in datasette-lite, it's best to disable the "save URL state" feature entirely when running in datasette-lite mode.
Implementation Notes
We could make controlling this part of Datasette plugin config in the long term
In the short term, in the interest of having a good default experience "out of the box", I think I'll use awareness of running in the datasette lite environment to pass a param into onLoad.
The text was updated successfully, but these errors were encountered:
hydrosquall
changed the title
feat: disabling the URL state sync option when running in datasette-lite
feat: disable URL state sync option when running in datasette-lite
Aug 27, 2022
Can reopen if/when nteract/data-explorer#83 is completed to also handle the case where interacting with the "table" component's filters could modify URL params too.
Motivation
Background
Implementation Notes
onLoad
.datasette-nteract-data-explorer/frontend-src/main.tsx
Lines 49 to 51 in 371b9f8
When this setting is disabled, we can ignore the Jotai hook.
datasette-nteract-data-explorer/frontend-src/DatasetteDataExplorer.tsx
Line 38 in 371b9f8
The text was updated successfully, but these errors were encountered: