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] Remove "inside only" option for treemap labels #65363

Merged
merged 4 commits into from
May 6, 2020

Conversation

wylieconlon
Copy link
Contributor

Because all text is inside the treemap, this setting did not make sense. When switching from the pie to treemap visualization, we need to remove the inside setting.

Checklist

@wylieconlon wylieconlon added Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:Lens v7.8.0 labels May 5, 2020
@wylieconlon wylieconlon requested review from cchaos, timroes, mbondyra and a team May 5, 2020 20:10
@elasticmachine
Copy link
Contributor

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

@cchaos
Copy link
Contributor

cchaos commented May 5, 2020

Thanks for tackling this so quickly. The only thing I'm noticing is that the outside labels aren't hiding in dark mode.
Screen Shot 2020-05-05 at 17 52 42 PM

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.

Nit: I'm not quite convinced about the copy, I feel like either we should put show and hide or show labels and hide labels. WDYT?
image

@wylieconlon
Copy link
Contributor Author

@mbondyra @cchaos Thanks for the feedback, just did four things:

  • Changed the text to "Show labels"
  • Fixed the bug with treemap labels in dark mode when hidden
  • Hide the groove for treemap labels when the labels are hidden
  • Hide the groove for treemaps in the suggestion bar

Screenshot 2020-05-06 13 47 36

Screenshot 2020-05-06 13 48 12

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

👍 LGTM. Tested in Chrome only but I'm glad you were able to get the groove labels to hide completly vs just transparent text

@wylieconlon wylieconlon merged commit 90de711 into elastic:master May 6, 2020
@wylieconlon wylieconlon deleted the lens/treemap-categories branch May 6, 2020 20:45
wylieconlon pushed a commit to wylieconlon/kibana that referenced this pull request May 6, 2020
* [Lens] Remove "inside only" option for treemap labels

* Fix type error

* Update from feedback
wylieconlon pushed a commit to wylieconlon/kibana that referenced this pull request May 6, 2020
* [Lens] Remove "inside only" option for treemap labels

* Fix type error

* Update from feedback
wylieconlon pushed a commit that referenced this pull request May 6, 2020
* [Lens] Remove "inside only" option for treemap labels

* Fix type error

* Update from feedback
wylieconlon pushed a commit that referenced this pull request May 6, 2020
* [Lens] Remove "inside only" option for treemap labels

* Fix type error

* Update from feedback
gmmorris added a commit to gmmorris/kibana that referenced this pull request May 7, 2020
* master: (42 commits)
  fix SavedObjectMigrationMap type (elastic#65569)
  [Uptime] Improve cert flaky test (elastic#65458)
  [Uptime] Fix monitor list result runtime type, ip can be null (elastic#65532)
  [APM] Agent configuration: Bug makes it possible to create invalid configurations (elastic#65508)
  [APM] Remove link from active page in the breadcrumb (elastic#65473)
  [SIEM] Fixes test flakiness (elastic#65510)
  [ESLint] update @kbn/eslint/no-restricted-paths rule to allow imports mocks from folder (elastic#65471)
  Migrate test plugins ⇒ NP (kbn_tp_run_pipeline) (elastic#64780)
  move core provier to NP. allows to run tests on every page (elastic#64929)
  Extended alerting documentation with information about using Kibana keystore and action types for preconfigured connectors (elastic#65201)
  [functional tests] add some missing awaits (elastic#65566)
  Fixed create new connector from alert flyout form throw an error messages in external plugins. (elastic#65539)
  [SIEM] [Cases] External services not getting all comments bug fix (elastic#65307)
  Migrate Coordinate Maps to NP (elastic#64668)
  Updating Canvas location in nav (elastic#65519)
  [SIEM][Lists] Fixes up contracts to work outside of requests
  [Lens] Remove "inside only" option for treemap labels (elastic#65363)
  [Uptime] Add TLS alert functional test (elastic#65303)
  Fix z-index of kbnLoadingIndicator (elastic#65521)
  Fixed indice assertion to loop through expected keys (elastic#64684)
  ...
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.

5 participants