Using uiActions to navigate from discover to visualize #70178
Labels
Feature:Discover
Discover Application
Feature:Vis Editor
Visualization editor issues
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
We currently use a hardcoded link to navigate from discover via the field panel "Visualize" button to the visualize editor (or maps). Instead we should use the
uiActions
system and create a new trigger typeVISUALIZE_DATA
. The maps application and the visualize editor can then register actions to fulfill those trigger and jump into the apps. This way discover doesn't need to have knowledge about those apps, and we can later also implement jumping to Lens.Open questions:
VISUALIZE_DATA
trigger look like. We need at least indexPattern (by id or name? but not every editor can work without a real indexPattern, so I would suggest byid
) and afield
. Maybe we should add some hints, on how we would analyze this, so we can actually hinting the editor that we want a bar chart? Or at least a categorical overview of the data?uiActions
system take care of those?This will be a requirement for #67415
The text was updated successfully, but these errors were encountered: