deephaven / web-client-ui

Deephaven Web Client UI
Apache License 2.0
29 stars 31 forks source link

Add support for plugin "suites" or composite plugins #1586

Open mattrunyon opened 1 year ago

mattrunyon commented 1 year ago

Most likely just need to support an array of config objects as an option for plugin configs

mofojed commented 5 months ago

We should also pass the type through to the WidgetView component: https://github.com/deephaven/web-client-ui/blob/77bea7d2badbc37eb3259a85873d6f900a07be14/packages/plugin/src/WidgetView.tsx#L25 Right now if you have a view registered for multiple types (e.g. providing multiple values to the supportedTypes prop in WidgetPlugin config), there's no way from the view to determine what type you're being asked to rendered.