Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Drilldowns] Improve URL Drilldown experience for table visualizations #78289

Closed
Tracked by #42845
Dosant opened this issue Sep 23, 2020 · 9 comments · Fixed by #83167
Closed
Tracked by #42845

[Drilldowns] Improve URL Drilldown experience for table visualizations #78289

Dosant opened this issue Sep 23, 2020 · 9 comments · Fixed by #83167
Labels
Feature:Drilldowns Embeddable panel Drilldowns

Comments

@Dosant
Copy link
Contributor

Dosant commented Sep 23, 2020

Describe the feature:

This is an umbrella issue for drilldowns experience in Saved Search and table visualisations panels.
Currently drilldowns are not supported in Saved Search panels and have limited support in table visualization.

Describe a specific use case for the feature:

Issue specific to Saved Search panels: #73283 described the use case in details. Tables visualisations have similar use case.
We should consider this use-case: #73283 (comment)

Challenges

For #73283 (comment) we probably should make triggers more dynamic and generate those from table columns. See technical details here: #76226

Part of: #42845

@Dosant Dosant added Team:AppArch Feature:Drilldowns Embeddable panel Drilldowns labels Sep 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@Dosant Dosant changed the title [Drilldowns] Drilldowns in Saved Search and table visualisations panels [Drilldowns] Drilldowns in Saved Search and table visualizations panels Sep 23, 2020
@Dosant
Copy link
Contributor Author

Dosant commented Oct 15, 2020

For reference:

  1. Note from @elastic-jb about limitation that it is impossible to Drilldown on aggregated value on a table now: [Drilldows] Url Drilldown basic template helpers #80500 (comment)
  2. Quick POC with exposing event.row which at least gives access to the whole row. But it is still impossible to click on aggregated value: [discuss][Drilldowns][URL drilldown] Expose "event.row" in VALUE_CLICK_TRIGGER #79157

@streamich
Copy link
Contributor

streamich commented Oct 22, 2020

  • Row click trigger.
  • Option in URL config UI to select column.
  • Helper for being able to pick columns in template editor conditional.

@Dosant
Copy link
Contributor Author

Dosant commented Oct 22, 2020

  • New trigger: row trigger
    • use dummy values approach for preview
    • give event.columns array probably
  • Ability to value click on aggregated value
  • Use new conditional helpers + weaken the validation to be able to attach a drilldown to specific column
  • POC column picker inside drilldown editor

@Dosant
Copy link
Contributor Author

Dosant commented Oct 22, 2020

4 different tables:

image

@streamich
Copy link
Contributor

image

@streamich
Copy link
Contributor

streamich commented Oct 30, 2020

Variables for row trigger:

{{event.rowIndex}}
{{event.values.[0]}}
{{event.keys.[0]}} - fallback to column name on missing (check if VALUE_CLICK has it, add)
{{event.columnNames.[0]}} - if easy

@streamich
Copy link
Contributor

streamich commented Nov 5, 2020

Template:

{{event.values}}

Preview:

NO PREVIEW FOR NOW
{{event.values}}
column-1,column-2,column-3,...
Real name 1, Real name 2, Real name 3,...

@mbudge
Copy link

mbudge commented Nov 26, 2020

It would be good if users could use drill-downs from the options menu as well as the field level.

That way users can apply multiple filters before going to the options menu to move to another dashboards.

Currently they have to apply the filters to the query, then click on one of the fields to find the drill-down menu.

Having the drill-down menu in options would allow drill-downs to work with both visuals and saved search dashboards.

The user would be able to move to any dashboard of their choosing. Not just the dashboards paths configured for them.

@streamich streamich changed the title [Drilldowns] Drilldowns in Saved Search and table visualizations panels [Drilldowns] Improve URL Drilldown experience for table visualizations Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Drilldowns Embeddable panel Drilldowns
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants