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

Upgrade elastic/charts to 8.1.6 #42518

Merged
merged 5 commits into from
Aug 9, 2019
Merged

Conversation

markov00
Copy link
Member

@markov00 markov00 commented Aug 2, 2019

Summary

This PR upgrade @elastic/chartsdependency to 8.1.6

The breaking change between v7 and v8 is the following from elastic/elastic-charts@99c5e9f: LineStyle, AreaStyle and BarSeriesStyle types differs on the optional values. Using stroke and fill on the series style now override the computed series color.

I've removed the border style: it is no more available in line/area.
I've also removed all the stroke and fill styles as this color is already enforced by the customSeriesColor prop.
If you use the predefined computed colors or if you issue a custom series color, it's better to avoid overriding the style stroke and fill. If you specify a string for one of these two property it will be used to color that series. If set to a non valid color, like an empty string (as in one case on this PR), that property will be colored with a default color (not sure if it's a black or white).

@jgowdyelastic @angorayc @simianhacker @justinkambic @cjcenizal please check if the newly updated chart library change anything in the style of your current charts.

In a near future, I'd also like to add some visual regression tests on every app that use @elastic/charts. I don't think we have some extensive functional tests for SIEM, uptime, Infra and watcher, so be aware that I will ask you to add some small test there.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@markov00 markov00 added release_note:skip Skip the PR/issue when compiling release notes dependencies Pull requests that update a dependency file labels Aug 2, 2019
@markov00 markov00 requested review from a team as code owners August 2, 2019 13:06
@elasticmachine
Copy link
Contributor

💔 Build Failed

@cjcenizal cjcenizal requested review from alisonelizabeth and removed request for cjcenizal August 2, 2019 20:23
@markov00 markov00 changed the title Upgrade elastic/charts to 8.1.4 Upgrade elastic/charts to 8.1.6 Aug 5, 2019
Copy link
Contributor

@alisonelizabeth alisonelizabeth left a comment

Choose a reason for hiding this comment

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

tested the chart in watcher and did not find any regressions

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

ML changes LGTM

Copy link
Contributor

@angorayc angorayc left a comment

Choose a reason for hiding this comment

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

Thank you so much for upgrading elastic charts. It works well with SIEM's charts.

Copy link
Member

@simianhacker simianhacker left a comment

Choose a reason for hiding this comment

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

          _____            _____                _____                    _____          
         /\    \          /\    \              /\    \                  /\    \         
        /::\____\        /::\    \            /::\    \                /::\____\        
       /:::/    /       /::::\    \           \:::\    \              /::::|   |        
      /:::/    /       /::::::\    \           \:::\    \            /:::::|   |        
     /:::/    /       /:::/\:::\    \           \:::\    \          /::::::|   |        
    /:::/    /       /:::/  \:::\    \           \:::\    \        /:::/|::|   |        
   /:::/    /       /:::/    \:::\    \          /::::\    \      /:::/ |::|   |        
  /:::/    /       /:::/    / \:::\    \        /::::::\    \    /:::/  |::|___|______  
 /:::/    /       /:::/    /   \:::\ ___\      /:::/\:::\    \  /:::/   |::::::::\    \ 
/:::/____/       /:::/____/  ___\:::|    |    /:::/  \:::\____\/:::/    |:::::::::\____\
\:::\    \       \:::\    \ /\  /:::|____|   /:::/    \::/    /\::/    / ~~~~~/:::/    /
 \:::\    \       \:::\    /::\ \::/    /   /:::/    / \/____/  \/____/      /:::/    / 
  \:::\    \       \:::\   \:::\ \/____/   /:::/    /                       /:::/    /  
   \:::\    \       \:::\   \:::\____\    /:::/    /                       /:::/    /   
    \:::\    \       \:::\  /:::/    /    \::/    /                       /:::/    /    
     \:::\    \       \:::\/:::/    /      \/____/                       /:::/    /     
      \:::\    \       \::::::/    /                                    /:::/    /      
       \:::\____\       \::::/    /                                    /:::/    /       
        \::/    /        \::/____/                                     \::/    /        
         \/____/                                                        \/____/         
                                                                                        

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@markov00 markov00 merged commit ec17632 into elastic:master Aug 9, 2019
@markov00 markov00 deleted the update-ech-8x branch August 9, 2019 12:57
markov00 added a commit to markov00/kibana that referenced this pull request Aug 9, 2019
jloleysens added a commit to jloleysens/kibana that referenced this pull request Aug 9, 2019
…p-metrics-selectall

* 'master' of github.com:elastic/kibana: (306 commits)
  [ML] Adding job overrides to the module setup endpoint (elastic#42946)
  [APM] Fix missing RUM url (elastic#42940)
  close socket timeouts without message (elastic#42456)
  Upgrade elastic/charts to 8.1.6 (elastic#42518)
  [ML] Delete old AngularJS data visualizer and refactor folders (elastic#42962)
  Add custom formatting for Date Nanos Format (elastic#42445)
  [Vega] Shim new platform - vega_fn.js -> vega_fn.js , use ExpressionFunction (elastic#42582)
  add socket.getPeerCertificate to KibanaRequest (elastic#42929)
  [Automation] ISTANBUL PRESET PATH is not working fine with constructor(private foo) (elastic#42683)
  [ML] Data frames: Updated stats structure. (elastic#42923)
  [Code] fixed the issue that the repository can not be deleted in some cases. (elastic#42841)
  [kbn-es] Support for passing regex value to ES (elastic#42651)
  Connect to Elasticsearch via SSL when starting kibana with `--ssl` (elastic#42840)
  Add Elasticsearch SSL support for integration tests (elastic#41765)
  Fix duplicate fetch in Visualize (elastic#41204)
  [DOCS] TSVB and Timelion clean up (elastic#42953)
  [Maps] [File upload] Fix maps geojson upload hanging on index step (elastic#42623)
  [APM] Use rounded bucket sizes for transaction distribution (elastic#42830)
  [yarn.lock] consistent resolve domain (elastic#42969)
  [Uptime] [Test] Repurpose unit test assertions to avoid flakiness (elastic#40650)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file release_note:skip Skip the PR/issue when compiling release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants