Use Actions / Triggers for Creating Panels #97010
Labels
chore
Feature:Dashboard
Dashboard related features
Feature:UIActions
UI actions. These are client side only, not related to the server side actions..
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:large
Large Level of Effort
Project:Dashboard Usability
Related to the Dashboard Usability initiative
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Describe the feature:
We should register a uiActions trigger to allow other plugins to register creation links for Dashboard.
Describe a specific use case for the feature:
The editor menu that allows new panels to be created is currently populated with visualizations and embeddables by the Dashboard. Instead of Dashboard generating these menu items, we should have the apps register actions for creating their corresponding embeddables.
Registering the menu options as
uiActions
would give us better control of the ordering and grouping in the menu while also reducing the dependencies in Dashboard since Dashboard is pulling in the vis type registry and embeddable factory registry to populate the menu.This would also make it easy for Canvas and other apps to use the same actions to handle embedding visualizations.
Here's a example snippet of how the uiActions can be registered:
It would be nice to have the vis type registry and embeddable factory registry automatically register uiActions so plugin developers can get uiActions out of the box when registering a new vis type or embeddable.
The text was updated successfully, but these errors were encountered: