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: Embed-widget with multiple panels not showing panel headers #2064

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

mattrunyon
Copy link
Collaborator

This should fix embed-widget not showing the panel headers when there are multiple panels in a widget, but it's not a dashboard.

The issue is embed-widget is loading the layout from dashboardData and the DEFAULT_DASHBOARD_ID stores its data in workspaceData while all other IDs use dashboardData.

Tested with widget with just 1 panel, widget with multiple panels, and widget that is a dashboard.

@mattrunyon mattrunyon requested a review from bmingles June 7, 2024 23:02
@mattrunyon mattrunyon self-assigned this Jun 7, 2024
Copy link
Contributor

@bmingles bmingles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Verified all tabs show now in http://localhost:4010/?name=sti for the ui table example

@mattrunyon mattrunyon merged commit 3f45f07 into deephaven:main Jun 10, 2024
10 checks passed
@mattrunyon mattrunyon deleted the embed-multiple-panels-fix branch June 10, 2024 16:31
@github-actions github-actions bot locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants