-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Store server-side state for rehydration (#338)
- deephaven.ui widgets now require the client to set the initial render state - On first widget open, an empty state is used - Server exports the current current state along with the rendered component - Only primitive state values (`int`, `bool`, `str`, `float`) are stored. To have something like a `Table` that is restored, the table should be derived from a primitive state variable - Client can then set the state again next time opening the widget to resume where they left off - Update deephaven.ui widget architecture diagram with new initialization details --------- Co-authored-by: Joe <[email protected]>
- Loading branch information
1 parent
7724e55
commit bb28df3
Showing
12 changed files
with
427 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.