-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:DrilldownsEmbeddable panel DrilldownsEmbeddable panel Drilldownstechnical debtImprovement of the software architecture and operational architectureImprovement of the software architecture and operational architecture
Description
When currently storing a dashboard drilldown on a panel, the config inside the panels object in the dashboard saved object will look like:
dynamicActions": {
"events": [
{
"eventId": "c2363b35-045c-4d25-979e-cb9703f002db",
"triggers": [
"VALUE_CLICK_TRIGGER",
"SELECT_RANGE_TRIGGER"
],
"action": {
"name": "iuyhgft",
"config": {
"dashboardId": "edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b",
"useCurrentFilters": true,
"useCurrentDateRange": true
},
"factoryId": "DASHBOARD_TO_DASHBOARD_DRILLDOWN"
}
}
]
}The drilldown contains a dashboardId directly instead of using the saved object reference system for it and properly stored the link to the saved object in the reference part of the saved object. This means those drilldowns will all break when the saved objects would change their ids (currently planned for the sharing between spaces feature).
We need to change this behavior and migrate all existing drilldown saved objects to use references correctly.
cc @ppisljar @alexh97 and @legrego (sorry this seems to be another (new) blocker).
Part of #42845
[2020-10-19] An update on this:
- Implemented inject/extract functionality on dashboard drilldown in [wip] Dashboard drilldown SO references #80832 on top of Embeddable telemetry and reference extraction/injection #74352 - looks good
- Discovered that SO cyclic references are not fully supported. Some features are broken. * Created separate issue to discuss and tackle this: Support for cyclic SO references #80966
- [wip] Dashboard drilldown SO references #80832 needs to migrate all older drilldowns to use references. This is blocked by Embeddable persistable state migration #80973, which bumps into issue that with current approach we need to somehow register a SO migration in START phase: Embeddable persistable state migration #80973 (comment)
- Parking further work on [wip] Dashboard drilldown SO references #80832 until have a path forward with issues above
legrego
Metadata
Metadata
Assignees
Labels
Feature:DrilldownsEmbeddable panel DrilldownsEmbeddable panel Drilldownstechnical debtImprovement of the software architecture and operational architectureImprovement of the software architecture and operational architecture