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

Remove redundant formatting of percentage column #64948

Merged

Conversation

kertal
Copy link
Member

@kertal kertal commented Apr 30, 2020

Summary

Fixes #64939

Fixes #64621

Fixes an issue with Count percentage value rounding in Visualize Data Table. When using the default setting of format:percent:defaultPattern:

Bildschirmfoto 2020-04-30 um 19 52 34

The Count percentage of products priced >= 0 ands < 11 in this example was displayed 14.8% instead of 14.771

Bildschirmfoto 2020-04-30 um 19 59 16
The reason for this was that the number was formatted and rounded twice.

Checklist

Delete any items that are not applicable to this PR.

@kertal kertal added the Feature:Data Table Data table visualization feature label Apr 30, 2020
@kertal kertal requested a review from myasonik May 5, 2020 10:10
@kertal kertal self-assigned this May 5, 2020
@kertal kertal added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label May 5, 2020
@elasticmachine
Copy link
Contributor

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

@kertal kertal marked this pull request as ready for review May 5, 2020 13:16
@kertal kertal requested a review from a team May 5, 2020 13:16
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

Copy link
Contributor

@myasonik myasonik 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 FF locally as well

@wylieconlon
Copy link
Contributor

Do you think this also fixes #64621 ? It seems like a similar issue

Copy link
Contributor

@wylieconlon wylieconlon left a comment

Choose a reason for hiding this comment

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

LGTM!

@kertal kertal merged commit 9dc5c7d into elastic:master May 6, 2020
kertal added a commit to kertal/kibana that referenced this pull request May 6, 2020
* Remove redundant formatting of percentage column

* Fix functional test

* Fix browser test
kertal added a commit that referenced this pull request May 6, 2020
* Remove redundant formatting of percentage column

* Fix functional test

* Fix browser test
gmmorris added a commit to gmmorris/kibana that referenced this pull request May 6, 2020
* master: (72 commits)
  add tsvb tests to Firefox suite (elastic#65425)
  Fix flaky ServerMetricsCollector integration test (elastic#65420)
  [APM] Custom links section inside the Actions menu is showing outside of the menu (elastic#65428)
  [ML] Adds docs_per_second to transform edit form. (elastic#65365)
  update apm index pattern (elastic#65424)
  add direct build command (elastic#65431)
  [ML] Adding daily_model_snapshot_retention_after_days to types and schemas (elastic#65417)
  [chore] Improve request cancelation handling in vis embeddable (elastic#65057)
  [Alerting] migrates acceptance and functional test fixtures to KP (elastic#64888)
  [ML] Fixes reordering in view by selection when overall cell selected (elastic#65290)
  Additional branding updates (elastic#64712)
  Remove redundant formatting of percentage column (elastic#64948)
  [SIEM][CASE] Configuration pages UI redesign (elastic#65355)
  New nav (elastic#64018)
  [Ingest pipelines] Address copy feedback (elastic#65175)
  bug fixing (elastic#65387)
  skip whole suite blocking snapshots (elastic#65377)
  add related event generation to ancestor nodes (fixes a bug) (elastic#64950)
  [Canvas] move files from legacy/plugins to plugins (elastic#65283)
  [SIEM] template timeline UI (elastic#64439)
  ...
@kertal kertal added the v7.8.0 label May 18, 2020
@kertal kertal deleted the kertal-pr-2020-04-30-fix-data-table-rounding branch July 1, 2020 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Table Data table visualization feature release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.8.0 v7.9.0 v8.0.0
Projects
None yet
5 participants