Commit graph

1208 commits

Author SHA1 Message Date
Tyler Smalley aaa4795b83
[CI] Preparation for APM tracking on CI (#80399)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-10-26 15:42:38 -07:00
Liza Katz 046c840b7c
[Search] Error Alignment 2 (#80965)
* Improve the display of ES errors and Http errors

* fixes

* Improve text

* fix ts

* update limit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 14:36:20 +02:00
Ahmad Bamieh 82ba41c30d
[Plugin generator] Update readme (#81131) 2020-10-25 14:35:28 +02:00
renovate[bot] 67f46ae223
Update dependency @elastic/charts to v24 (#80982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 18:21:13 +02:00
Alison Goryachev 6ec817b8d0
Move painless lang support to @kbn/monaco (#81010) 2020-10-22 08:28:03 -04:00
Tiago Costa 23142afa9b
chore(NA): add spec-to-console and plugin-helpers as devOnly dependencies (#81357) 2020-10-22 00:02:36 +01:00
Nathan L Smith 99e90aa120
Use Storybook Controls instead of Knobs (#80705)
* Change an example in embeddable to use controls instead of knobs
* Add controls to SyncBadge APM story
* Convert both to [CSF](https://storybook.js.org/docs/react/api/csf)
* Remove the Knobs addon from the default Storybook configuration

Do not remove the Knobs addon package, since Canvas is still using it and this does not change anything in Canvas.
2020-10-21 15:43:57 -05:00
Spencer 3db19d60b4
[junit] make sure that report paths are unique (#81255)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-21 12:46:45 -07:00
Mikhail Shustov 93473e4f58
bump elastic/elasticsearch-js version to 7.10.0-rc1 (#81288) 2020-10-21 21:36:19 +02:00
Robert Austin a74cea30c5
[Security Solution] reduce optimizer limits (#80997) 2020-10-19 18:04:21 -04:00
Chandler Prall 42a1744af6
Upgrade EUI to v29.5.0 (#80753)
* Upgraded eui to v29.5.0; snapshot updates

* Cleaned up some types

* addresses feedback on types change

* Update EuiIcon snapshots in jest integration tests

* Updated snapshot from rebasing on master
2020-10-19 14:48:33 -06:00
Mikhail Shustov ef2be2c725
server logs config paths to use for runner (#52980)
* server logs config paths to use for runner

* fix eslint issue

* do not log config path for default config

* update snapshots

* fix other tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-17 09:48:58 +02:00
Mikhail Shustov 2e37bd0703
Add script to identify plugin dependencies for TS project references migration (#80463)
* move kbn-dev-utils plugin helpers under a dedicated folder

* use getPluginSearchPaths in kbn-config & kbn-optimizer

* add a script to find plugin dependencies not migrated to TS project refs

* update docs

* add a script reporting all circular deps between plugins

based on kibana.json declaration, so it doesn't provide all the cases

* fix optimizer scan logic. removed by mistake

* revert changes. fails on CI

* remove prod depenedency on kbn/dev-utils

* remove last export

* only run plugin discovery once to speed up circular dep detection

* address comments

* address comments

* update fixtures

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-16 11:55:46 +02:00
Nathan L Smith 5f3e2c05e8
Add Storybook a11y addon (#80069) 2020-10-15 17:25:34 -05:00
Spencer ff32bb1716
[kbn/optimizer] tweak split chunks options (#80444)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-15 14:24:29 -07:00
Spencer 07c1284e9d
[kbn/bootstrap] validate that certain deps don't ship in production (#80549)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-15 09:56:10 -07:00
Spencer 8940091cf9
[ci-stats] record async chunk count (#80606)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-15 08:07:17 -07:00
Spencer bc4093a0cb
[kbn/optimizer] add support for --focus option (#80436)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-14 08:16:27 -07:00
Spencer 869ca46ef0
[kbn/std] update rxjs helpers to use simple operators (#80416)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-14 07:11:10 -07:00
Uladzislau Lasitsa ba8e9a52b6
Timelion y-axis label not displayed (#80007)
* Moved flot in ui-shared-deps and leavt only one version.

* Removed unneeded import

* use commonJS so we can execute code between loading specific modules

* prefix i18n keys with flot.

* Fix Internationalization

* remove duplicate pie plugin

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-14 16:58:35 +03:00
Spencer b5c5bf706d
[kbn/optimizer/node/cache] support up to 500 readers (#80354)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-13 09:24:36 -07:00
Tyler Smalley 8da824e100
[CI] Correctly resolve repository root for JUnit reports (#80226)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-10-12 16:57:16 -07:00
Tyler Smalley 92bb8e7cfc
Migrate Jest JUnit reporter to TS (#79919)
* Converts Jest JUnit reporter to TS

Also moves reporter to @kbn/test package

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-10-11 21:03:20 -07:00
Mikhail Shustov 5d71db0427
store sorted bundleRefExportIds (#80011)
* store sorted bundleRefExportIds

* sort consistently
2020-10-09 09:52:41 +02:00
Spencer f5fc765576
[kbn/std] add observable helpers to aid with rxjs 7 upgrade (#79752)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-08 17:45:51 -07:00
Spencer 769bd75c1a
[kbn/optimizer] bump low or add missing limits when updating automatically (#80013)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-08 11:22:51 -07:00
Ahmad Bamieh 70549c2ffa
[Telemetry] Telemetry tools check all makeUsageCollector calls (#79840) 2020-10-08 14:42:23 +03:00
Spencer fd066f7b63
[kbn/optimizer] report limits with ci metrics (#78205)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 15:43:14 -07:00
Spencer 3c7529147e
[release notes] extract "dev docs" comment too (#79351)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 15:20:31 -07:00
Spencer 8f41c59be0
share tslib across bundles (#79915)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-07 14:47:21 -07:00
spalger 4ce3e1ce03 remove entire suite as partial skips aren't doing the trick 2020-10-07 14:30:12 -07:00
spalger 37f9db4224 remove skipped snapshots 2020-10-07 12:12:33 -07:00
spalger 6ee48d85bf skip flaky tests (#79891) 2020-10-07 11:51:58 -07:00
Greg Thompson 8c54b39708
add --no-validate option to bypass validateYarnLock (#79878) 2020-10-07 12:45:27 -06:00
Dima Arnautov 827f0c06fe
[ML] Replace swim lane implementation with elastic-charts Heatmap (#79315)
* [ML] replace swim lane vis

* [ML] update swimlane_container, add colors constant

* [ML] update swimlane_container, add colors constant

* [ML] update swimlane_container, add colors constant

* [ML] unfiltered label for Overall swim lane

* [ML] tooltip content

* [ML] fix styles, override legend styles

* [ML] hide timeline for overall swimlane on the Anomaly Explorer page

* [ML] remove explorer_swimlane component

* [ML] remove dragselect dependency

* [ML] fix types

* [ML] fix tooltips, change mask fill to white

* [ML] fix highlightedData

* [ML] maxLegendHeight, fix Y-axis tooltip

* [ML] clear selection

* [ML] dataTestSubj

* [ML] remove jest snapshot for explorer_swimlane

* [ML] handle empty string label, fix translation key

* [ML] better positioning for the loading indicator

* [ML] update elastic/charts version

* [ML] fix getFormattedSeverityScore and showSwimlane condition

* [ML] fix selector for functional test

* [ML] change the legend alignment

* [ML] update elastic charts
2020-10-06 20:51:23 +02:00
Alejandro Fernández Haro ed825398c6
[Telemetry Tools] Merge array of constraints (#79654) 2020-10-06 16:41:40 +01:00
renovate[bot] 745b5c1271
Update dependency @elastic/charts to v23.1.1 (#78459)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-05 16:12:34 -07:00
Ahmad Bamieh 025af1ad3f
remove react-intl from kibana and keep it inside only i18n package (#78956)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 01:41:49 +03:00
Josh Dover c3076a8011
Prepare APM agent configuration for production use (#78697) 2020-10-05 15:01:04 -06:00
Chandler Prall 3bad1fc328
Upgraded EUI to v29.3.0 (#78870)
* Upgraded EUI to v29.2.0

* Remove hacks on top of EuiHeaderLink(s)

* Actual update to eui@29.2.0

* Resolve typescript issue when omitting a key over a union

* Resolve nav menu test's expectations

* Fix lint issue

* Update to 29.3.0

* Revert vega snapshot update

I don’t think this was intended to change when I ran the updater

* [ui-shared-deps] strip proptypes from ui-shared-deps production build

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-05 12:44:29 -06:00
Patryk Kopyciński 8a8066ffe8
Cleanup yarn.lock from duplicates (#66617) 2020-10-03 11:53:03 +02:00
Spencer ddf2d82e44
[kbn/optimizer] implement more efficient auto transpilation for node (#79052)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-02 18:36:25 -07:00
Spencer dc0bccf8f8
[babel/register] remove from build (take 2) (#79379)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-02 16:30:16 -07:00
spalger f7a18e6454 Revert "[babel/register] remove from build (#79176)"
This reverts commit 511eb0f23b.
2020-10-02 14:49:01 -07:00
Spencer 511eb0f23b
[babel/register] remove from build (#79176)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-02 13:24:39 -07:00
Alejandro Fernández Haro 9973667f4c
[Usage Collection] [schema] apm (#79000) 2020-10-02 19:24:08 +01:00
Nick Partridge e9fd3902c5
upgrade @elastic/charts to v23.0.0 (#79226)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-02 19:48:40 +02:00
Spencer bb4ad196ea
normalize paths before printing them into the generated plugin list (#79232)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-02 09:50:49 -07:00
Tiago Costa e5d8d49164
chore(NA): assures a single version for the same dependency across the entire project (#78825)
* chore(NA): script to check for multiple version of same dependency

* chore(NA): remove multiple versions for the same dependency

* chore(NA): hook single_version_dependencies script into the CI

* chore(NA): remove grunt from the CI hook integration

* chore(NA): update kbn pm dist

* chore(NA): fix typechecking

* chore(NA): update code to run under last extract-zip version

* fix(NA): multiple versions of the same type dependency

* move validation to bootstrap (#13)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* chore(NA): todo to remove logic to validate single version deps once we move into a single package.json

* chore(NA): remove verify dependency versions jenkins task

* chore(NA): update kbn pm dist file

* chore(NA): remove last mention to verify_dependency_versions.sh fom tasks.groovy

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-02 00:46:00 +01:00
Spencer 0ee253e9e0
[optimizer] strip proptypes from plugin bundles in production (#79221)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-01 16:43:13 -07:00