Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UI loading duplicate panels in embed iframe #1043

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

mattrunyon
Copy link
Collaborator

Fixes #1039 and adds some e2e tests

The default document for WidgetHandler to make a loader show up instantly meant in cases where the child was not wrapped by ui.panel, we were wrapping in a ReactPanel with a key. That was the only key being set, so it would re-mount instead of re-use the panel opened for the loader. In embed-widget, panels are not closeable, so it did not close the loader panel.

@mattrunyon mattrunyon requested a review from a team November 26, 2024 18:18
@mattrunyon mattrunyon self-assigned this Nov 26, 2024
@mattrunyon mattrunyon requested review from dgodinez-dh and removed request for a team November 26, 2024 18:18
dgodinez-dh
dgodinez-dh previously approved these changes Nov 26, 2024
@mattrunyon mattrunyon merged commit e1559a4 into deephaven:main Nov 26, 2024
16 checks passed
@mattrunyon mattrunyon deleted the embed-widget-ui-fix branch November 26, 2024 20:14
mofojed pushed a commit to mofojed/deephaven-plugins that referenced this pull request Jan 13, 2025
mofojed added a commit that referenced this pull request Jan 13, 2025
- Fixes #1039 and adds some e2e tests
- Cherry-picking from #1043 to the ui-v0.23 branch

---------

Co-authored-by: Matthew Runyon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deephaven.ui widgets in iframes open multiple panels
2 participants