Sticky sessions
#2973
Replies: 1 comment
-
This is a planned improvment We are anticipating saving a lot of filter state context to URLs, which has the added benefit of then allowing you to share the state of your page state with other users in your organization. I am also quite excited by the ability to save the state of a page to local storage with somekind of "saved view" approach, that you could then return to, though I am unclear on the exact UX here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
An option to maintain session preferences by saving input selections as default values in localStorage.
What problem would this solve?
The report page will preserve filters, allowing users to view only the data relevant to them
How should it work?
Example:
<Dropdown
data={product_list}
name=product_dropdown
value=product_id
label=product_name
title="Select a Product"
multiple=true
defaultValue={[1, 2, 5]}
/>
When user change the selection, e.g. 5, 6, 9, the defaultValue gets persisted to localstorage. The next time user opens the report, it will select 5, 6, 9 instead of 1, 2, 5.
Beta Was this translation helpful? Give feedback.
All reactions