elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.7k stars 8.12k forks source link

Add user details as a context "variable" available to markdown #160001

Open philippkahr opened 1 year ago

philippkahr commented 1 year ago

Describe the feature:

When creating markdown in a dashboard it would be cool to create something like:

Hello {{ user.first_name }}

You are viewing the dashboard xyz

{{ user.name }}  => philippkahr {{ user.friendly_name }} => Philipp Kahr {{ user.first_name }} => Philipp ....

Describe a specific use case for the feature:

Personified greetings in markdown

E.g.

image (32)

elasticmachine commented 1 year ago

Pinging @elastic/kibana-presentation (Team:Presentation)

elasticmachine commented 1 year ago

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

stratoula commented 1 year ago

I am adding both teams hare as:

ThomThomson commented 10 months ago

I'm going to remove the Presentation team from this issue as I'd argue that these kinds of context variables would be better suited for the heavier Lens version of markdown.

stratoula commented 10 months ago

@ThomThomson I don't think we have concluded that the new markdown is going to be a Lens chart. There are conversations about being a dashboard flyout if I am not wrong. Just fyi

ThomThomson commented 10 months ago

Ah - I thought that the Lens Markdown was already planned, and the Dashboard inline markdown was envisioned to be something smaller. I think we'll need some input on product from this. @teresaalvarezsoler what is the latest communication regarding the new markdown?

teresaalvarezsoler commented 10 months ago

We are still in discussions but the vision is to have only one markdown panel and it will likely be part of dashboards since it does not make sense to have markdown panels as a stand alone viz outside dashboards.

philippkahr commented 10 months ago

It could make sense for canvas as well.