-
Notifications
You must be signed in to change notification settings - Fork 178
Description
Would be interested in the scope discussion for this:
Context: Working on a fluid dashboard, with a floating text box, where the dashboard layout/information card/graphics change with prompts. While that is completely possible with the current renderer, it would be helpful if we could persist components across sequential responses from the model. I couldn't find a way to do this right now with the current renderer.
The way I have done it right now -> Pass the card position in the grid as a prop (in this case, would be provided by the model). Persist the pinned components' position, and insert the pinned component in the model response at its pinned position before sending it to the renderer.
What I'm designing for is to give users the ability to handcraft their own KPI dashboards. These pinned components can be stored in their raw OpenUI Lang structure, and glue them with appropriate React Query hooks for fresher data.
Should this be handled outside the renderer? I reckon the renderer can be updated to be prev response/component-position aware with UI persistence.