Skip to content

fix: Fixes for nested dashboards/deephaven.ui#2648

Open
mofojed wants to merge 2 commits intodeephaven:mainfrom
mofojed:DH-21757-ui-resolve-fixes
Open

fix: Fixes for nested dashboards/deephaven.ui#2648
mofojed wants to merge 2 commits intodeephaven:mainfrom
mofojed:DH-21757-ui-resolve-fixes

Conversation

@mofojed
Copy link
Copy Markdown
Member

@mofojed mofojed commented Mar 30, 2026

  • Add a class name for widgets loaded from the widget-loader so we know what kind of panel it is
    • Allows specific styling to be applied for panels loaded with widget-loader
  • Add metadata to widget component props type
    • It's already gets passed through, just adding it to the type
  • Tested with fix: Fixes for nested dashboards/deephaven.ui #2648

- Add a class name for widgets loaded from the widget-loader so we know what kind of panel it is
  - Allows specific styling to be applied for panels loaded with widget-loader
- Add metadata to widget component props type
  - It's already gets passed through, just adding it to the type
@mofojed mofojed requested a review from a team March 30, 2026 19:31
@mofojed mofojed self-assigned this Mar 30, 2026
@mofojed mofojed requested review from vbabich and removed request for a team March 30, 2026 19:32
mofojed added a commit to mofojed/deephaven-plugins that referenced this pull request Mar 30, 2026
- Needs deephaven/web-client-ui#2648
- WidgetPlugin just registers directly
  - Allows for nested ui.resolve deephaven.ui components
- Still maintain DashboardPlugin to handle legacy behaviour
- Works with the ui_home_screen, nested dashboards, etc
- Styling a little bit different (ui.panel is automatically wrapped in a nested dashboard rather than opening up panels in the existing dashboard like before)
- Dashboard now has a `show_headers` option that can be set to False to not show headers on a dashboard. Useful if you're doing a homescreen type dashboard
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.81%. Comparing base (dc84a67) to head (3e0c7e5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2648   +/-   ##
=======================================
  Coverage   49.81%   49.81%           
=======================================
  Files         774      774           
  Lines       43868    43869    +1     
  Branches    11107    11107           
=======================================
+ Hits        21851    21852    +1     
  Misses      21999    21999           
  Partials       18       18           
Flag Coverage Δ
unit 49.81% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants