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

[Lens] Hide some suggestions in preparation for pie charts #64740

Merged
merged 4 commits into from
Apr 30, 2020

Conversation

wylieconlon
Copy link
Contributor

@wylieconlon wylieconlon commented Apr 29, 2020

As a reminder, suggestions are used in three different ways:

  • When dragging into the workspace panel
  • In the chart switcher
  • On the bottom row of suggestions (affected here)

This change hides some of the suggestions from the bottom row, which will be replaced soon by pie chart suggestions.

Hides table suggestions from the bottom row

Screenshot 2020-04-29 15 38 36

Hides some XY chart suggestions when looking at a different visualization

Screenshot 2020-04-29 15 50 49

Hides XY chart suggestions that require removing a dimension
Screenshot 2020-04-29 15 38 47

Improves the "reorder" suggestion when looking at 2 string fields in the XY chart

Screenshot 2020-04-29 15 39 18

Checklist

@wylieconlon wylieconlon added release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.8.0 v8.0.0 labels Apr 29, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon wylieconlon marked this pull request as ready for review April 29, 2020 20:45
@wylieconlon wylieconlon requested review from a team, mbondyra and flash1293 April 29, 2020 20:45
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

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

Copy link
Contributor

@mbondyra mbondyra left a comment

Choose a reason for hiding this comment

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

tested locally, good change! LGTM 🙆‍♀️

@@ -103,9 +103,16 @@ export interface TableSuggestion {
* * `unchanged` means the table is the same in the currently active configuration
* * `reduced` means the table is a reduced version of the currently active table (some columns dropped, but not all of them)
* * `extended` means the table is an extended version of the currently active table (added one or multiple additional columns)
* * `reorder` means the table columns have changed order, which change the data as well
Copy link
Contributor

Choose a reason for hiding this comment

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

out of curiosity, this is not possible yet in current lens?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah we were calling these "extended" tables, but that was before wanting to do special handling of these for the XY chart.

@wylieconlon wylieconlon merged commit 988b93e into elastic:master Apr 30, 2020
@wylieconlon wylieconlon deleted the lens/suggestion-tweaks branch April 30, 2020 14:52
wylieconlon pushed a commit to wylieconlon/kibana that referenced this pull request Apr 30, 2020
…4740)

* [Lens] Hide some suggestions in preparation for pie charts

* Suggest reordering the X and Break down by axis

* More tweaks
wylieconlon pushed a commit that referenced this pull request Apr 30, 2020
…64909)

* [Lens] Hide some suggestions in preparation for pie charts

* Suggest reordering the X and Break down by axis

* More tweaks

Co-authored-by: Elastic Machine <[email protected]>
@wylieconlon wylieconlon mentioned this pull request May 5, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants