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

Disable in-chart "Explore underlying data" by default #74332

Merged
merged 3 commits into from
Aug 6, 2020
Merged

Disable in-chart "Explore underlying data" by default #74332

merged 3 commits into from
Aug 6, 2020

Conversation

streamich
Copy link
Contributor

@streamich streamich commented Aug 5, 2020

Summary

This change swaps the default value of xpack.discoverEnhanced.actions.exploreDataInChart.enabled setting in kibana.yml from true to false, to make in-chart "Explore underlying data" action introduced in 7.9 disabled by default.

We would like to change the setting because product team decided that it is better to have this functionality as opt-it.

P.S. It is not a breaking change and it does not affect drilldowns.

@streamich streamich requested a review from a team August 5, 2020 07:35
@streamich streamich added release_note:skip Skip the PR/issue when compiling release notes review Team:AppArch v7.9.1 v8.0.0 labels Aug 5, 2020
@elasticmachine
Copy link
Contributor

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

@timroes
Copy link
Contributor

timroes commented Aug 5, 2020

This PR description is missing some details. Why should it be switched? What's the reasoning why we decided to toggle it? Also, if this flag is disabled, will that potentially break already configured drilldowns on that action if a user now suddenly has it disabled and if so in what way will they exacatly break? Because if it does this is a breaking change, and we need to be sure it will be communicated like that in the release notes.

@Dosant
Copy link
Contributor

Dosant commented Aug 5, 2020

I also missed the communication where was decided we want to turn it off,
if so, should the code backing it be removed completely? a bit less stuff to maintain and doubt that someone would use this feature with opt-in approach?

@alexh97
Copy link
Contributor

alexh97 commented Aug 5, 2020

There seems to be some pushback from product on this feature. I will be following up to better understand the "why". Let's hold off on merging this until we have the answers.

@AlonaNadler
Copy link

Currently in 7.9 BC when in the dashboard on read mode. When you click on a chart this popup appear for all panels with every click/interaction
image

In addition, it also appears in the action panel (which is the right place to have it)
image

The plan was to have explore underlining data only in the action panel (like in the second image).
interacting with chart to filter should still be the default. I'm concerned that adding the option to explore underlying data in every interaction is disturbing

@alexh97
Copy link
Contributor

alexh97 commented Aug 5, 2020

After a conversation with @AlonaNadler I agree that we should disable this feature by default. This has potential of becoming very intrusive to data analysis workflow that visualization users are used to. We should move forward with this PR and then consider adding this setting to the Advanced Settings page.

@streamich
Copy link
Contributor Author

streamich commented Aug 6, 2020

...consider adding this setting to the Advanced Settings page.

@alexh97 I'm thinking maybe we should have a per dashboard settings also and move it there.

@timroes We want to switch from opt-out to opt-in, because product decided so, no other reason. It is a new functionality released in 7.9, this flag does not affect how drilldowns work and will not break them.

...should the code backing it be removed completely?

@Dosant We are actually considering making this action more discoverable, like see @alexh97 comment above, we could move the setting into Advanced Settings.

@streamich
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, tested locally in Chrome, MacOs "Explore underlying data" in disabled by default

@streamich streamich merged commit bbfc492 into elastic:master Aug 6, 2020
streamich added a commit that referenced this pull request Aug 6, 2020
* fix: 🐛 disable in-chart "Explore underlying data" by default

* test: 💍 disable in-chart action functional test suite

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
streamich added a commit that referenced this pull request Aug 6, 2020
* fix: 🐛 disable in-chart "Explore underlying data" by default

* test: 💍 disable in-chart action functional test suite

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes review v7.9.1 v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants