Description
If you open some deephaven.ui widgets and export the layout, then try and import the layout, the deephaven.ui widgets will not load.
Steps to reproduce
- Open a deephaven.ui widget
from deephaven import ui
@ui.component
def counter():
count, set_count = ui.use_state(0)
return ui.action_button(
f"You pressed me {count} times", on_press=lambda _: set_count(count + 1)
)
result = counter()
- From the Panels menu, select Export Layout
- From the Panels menu, select Reset Layout
- From the Panels menu, import the layout you exported in 2
Expected results
4. Same layout should open up
Actual results
- deephaven.ui widgets do not hydrate. Inspecting the layout.json shows the pluginDataMap is not saved. See attached.
Additional details and attachments
deephaven-app-layout-2024-03-09-082717.json
Versions
Engine Version: 0.34.0-SNAPSHOT
Web UI Version: 0.68.0
Java Version: 21.0.2
Barrage Version: 0.6.0
Browser Name: Chrome 122
OS Name: macOS 10.15.7
Description
If you open some deephaven.ui widgets and export the layout, then try and import the layout, the deephaven.ui widgets will not load.
Steps to reproduce
Expected results
4. Same layout should open up
Actual results
Additional details and attachments
deephaven-app-layout-2024-03-09-082717.json
Versions
Engine Version: 0.34.0-SNAPSHOT
Web UI Version: 0.68.0
Java Version: 21.0.2
Barrage Version: 0.6.0
Browser Name: Chrome 122
OS Name: macOS 10.15.7