This PR implements the new hide/show interaction flow for Dashboard widgets. This implementation introduces the idea of storing user preferences locally. Developers can set initial preferences through Dashboard’s props, and specify a key by which preferences should be stored locally. In any case, the developer will receive an onInteraction payload any time the user updates their preferences for a Dashboard instance.
Open in Storybook ↗️
Spec in Figma ↗️
This PR implements the new hide/show interaction flow for Dashboard widgets. This implementation introduces the idea of storing user preferences locally. Developers can set initial preferences through Dashboard’s props, and specify a key by which preferences should be stored locally. In any case, the developer will receive an
onInteraction
payload any time the user updates their preferences for a Dashboard instance.