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

TSVB metrics that have legend (percentiles and percentile ranks) don't resize the text size properly #109483

Merged
merged 2 commits into from
Aug 30, 2021

Conversation

VladLasitsa
Copy link
Contributor

Closes: #102328

Summary

Metric should have 3 row only if we split it. In this case we have several metrics and we add min-height and min-width properties which don't allow shrink less then defined value. It was did as part of this #33245. For Percentiles and Percentile ranks in code we always split chart even if we have only one series. Because of this you can see 3 row. I fixed it and now we split chart if we have more that one series. Because of this now you can see 2 row for percentiles if don't split it by procent.

New.Dashboard.-.Elastic1.mp4

@VladLasitsa VladLasitsa self-assigned this Aug 20, 2021
@VladLasitsa VladLasitsa requested a review from alexwizp August 20, 2021 15:03
@VladLasitsa VladLasitsa added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0 release_note:fix labels Aug 20, 2021
@VladLasitsa VladLasitsa requested a review from stratoula August 20, 2021 15:04
Copy link
Contributor

@alexwizp alexwizp left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you, tested locally

@VladLasitsa
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
visTypeTimeseries 1003.7KB 1003.8KB +74.0B

History

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

cc @VladLasitsa

@stratoula stratoula marked this pull request as ready for review August 30, 2021 09:24
@stratoula stratoula requested a review from a team August 30, 2021 09:24
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@stratoula stratoula 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, I tested it locally and it works fine

@VladLasitsa VladLasitsa merged commit f3562cf into elastic:master Aug 30, 2021
VladLasitsa added a commit to VladLasitsa/kibana that referenced this pull request Aug 30, 2021
VladLasitsa added a commit that referenced this pull request Aug 30, 2021
jloleysens added a commit to jloleysens/kibana that referenced this pull request Aug 30, 2021
…eporting-to-v2

* 'master' of github.com:elastic/kibana: (120 commits)
  [Lens] should register "suffix" field formatter in setup lifecycle (elastic#110218)
  skip flaky suite (elastic#98463)
  skip flaky suite (elastic#108633)
  [Data Table] Expensive queries are causing unnecessary load and delays on Elasticsearch (elastic#98903)
  fixes failing tests (elastic#110436)
  [TSVB] Remove deprecated `IFieldType` (elastic#110404)
  [Lens] Remove deprecated `IFieldType` (elastic#109825)
  [Vega] Expensive queries are causing unnecessary load and delays on Elasticsearch (elastic#99023)
  [Visualizations] Expensive queries are causing unnecessary load and delays on Elasticsearch (elastic#99031)
  [TSVB] Expensive queries are causing unnecessary load and delays on Elasticsearch (elastic#98914)
  Don't add split part of UI if we have one series (elastic#109483)
  [Discover] Migrate angular routing to react router (elastic#107042)
  [Security Solution][Endpoint][Event Filters] Fixes missing spacers between event filters cards (elastic#110282)
  [ML] Data Grid: Fix alignment of sorting arrow when histogram charts are enabled (elastic#110053)
  [canvas] Fix image argument form issues (elastic#109767)
  Fix asset in Pitch template (elastic#109742)
  chore(NA): moving @kbn/securitysolution-list-api to babel transpiler (elastic#110265)
  chore(NA): moving @kbn/securitysolution-list-constants to babel transpiler (elastic#110269)
  [Fleet] Fix upgrade link in Fleet policy table (elastic#110228)
  [ML] APM Latency Correlations: Fix empty state (elastic#109813)
  ...

# Conflicts:
#	src/plugins/data/common/query/timefilter/types.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TSVB metrics that have legend (percentiles and percentile ranks) don't resize the text size properly
5 participants