You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a dashboard is opened with a name of a dashboard that is already open, we should replace the existing dashboard tab like we do with tables. We should also ensure the dashboard is removed if the variable is removed via del variable
The text was updated successfully, but these errors were encountered:
Fixes#1971
Tested with this code run 1 line at a time
```python
import deephaven.ui as ui
a = ui.dashboard(ui.text("Hello"))
a = ui.dashboard(ui.text("World"))
a = ui.text("Hello")
a = ui.dashboard(ui.text("Hello"))
del a
```
Also tested dashboards still load in embed-widget. There was a race
condition since the `makeUseListenerFunction` hook was using
`useEffect`. This caused the event to emit between the event hub being
set and the listener being added.
When a dashboard is opened with a name of a dashboard that is already open, we should replace the existing dashboard tab like we do with tables. We should also ensure the dashboard is removed if the variable is removed via
del variable
The text was updated successfully, but these errors were encountered: