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
When embedding the data-explorer in a page that uses URL params like the Datasette project (see here ), using the "filters" bar can clobber state that was set by the parent page. It would be useful to be able to let embedders of this component disable this behavior.
Recommendation
Add a boolean prop disableFilterControls that defaults to false, which hides the show/hide filter button.
(Optional, probably more complex if the component isn't already maintaining internal state): Add a boolean prop disableSetUrlParams that defaults to false, which enables state to be saved internally to the component, doesn't modify the parent page's URL parameters.
The text was updated successfully, but these errors were encountered:
Motivation
When embedding the data-explorer in a page that uses URL params like the Datasette project (see here ), using the "filters" bar can clobber state that was set by the parent page. It would be useful to be able to let embedders of this component disable this behavior.
Recommendation
disableFilterControls
that defaults tofalse
, which hides the show/hide filter button.disableSetUrlParams
that defaults tofalse
, which enables state to be saved internally to the component, doesn't modify the parent page's URL parameters.The text was updated successfully, but these errors were encountered: