Dashboard avoid reliance on broadcast emits #14789
Labels
chore
Feature:Dashboard
Dashboard related features
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Currently dashboard relies on a signal 'ready:vis' being emitted from root scope from the visualizations. That emit causes issues with visualizations embedded in tooltips, but taking it off rootscope broke dashboard (#14674).
Dashboard and embeddables should be able to be written in any framework so we need to break this reliance and put it back on the embeddable API, to give a way for the embeddables to communicate to dashboard that they have finished rendering.
Why do we even need this knowledge? Well currently, it's used to re-fetch a request in courier to trigger a fetch on saved searches (hence the bug). Other than that, I believe it's useful for plugins to know when the dashboard is completely finished loading.
The text was updated successfully, but these errors were encountered: