I have a TSVB Markdown panel that consists of a list of links to related dashboards. I'm inserting that panel at the top of each of the related dashboards.
I'm in denial about having to create a separate version of that panel for each dashboard, just to unlink/highlight the item for the "current" dashboard. If life is too short to stuff mushrooms, then it is definitely too short for this malarkey. No, I don't want to write a script to automate generating those per-dashboard panels. I'd rather work on my mushroom-stuffing automaton.
If only:
An antecedent element in the page, such as <div id="kibana-body">, had an attribute that contained the dashboard ID, such as data-dashboard="8a9ed5e0-a899-11eb-b38d-7b8e5ab9c938", and
Kibana didn't limit the scope of all custom CSS rules for a TSVB Markdown panel by prepending them with the ID of the <div> parent of <div class="kbnMarkdown__body">
While I don't have any ideas particularly about how you can hack this behaviour together using custom css on a markdown panel, I read through your issue and can imagine some of these features being implemented.
This issue, doesn't cover all your feature requests but it could be extended to include pinning of individual dashboards, and could be made capable of being edited via stack management to set defaults for the whole space.
Changing the dashboard breadcrumbs to be context aware in this situation would be possible, but would require more effort.
Overall, this seems like a clear area of improvement for Kibana.
Having Kibana inject a CSS variable containing the dashboard ID might also work—I'll play with this and report back—and would remove the need to change how the current CSS is scoped by that prepended div id.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.