Commit graph

1216 commits

Author SHA1 Message Date
Tiago Costa 0eeaafa722
chore(NA): move into single pkg json (#80015)
* chore(NA): update gitignore to include first changes from moving into a single package.json

* chore(NA): update gitignore

* chore(NA): move all the dependencies into the single package.json and apply changes to bootstrap

* chore(NA): fix types problems after the single package json

* chore(NA): include code to find the dependencies used across the code

* chore(NA): introduce pure lockfile for install dependencies on build

* chore(NA): update clean task to not delete anything from xpack node_modules

* chore(NA): update gitignore to remove development temporary rules

* chore(NA): update notice file

* chore(NA): update jest snapshots

* chore(NA): fix whitelisted licenses to include a new specify form of an already included one

* chore(NA): remove check lockfile symlinks from child projects

* chore(NA): fix eslint and add missing declared deps on single pkg json

* chore(NA): correctly update notice

* chore(NA): fix failing jest test for storyshots.test.tsx

* chore(NA): fix cypress multi reporter path

* chore(NA): fix Project tests check

* chore(NA): fix problem with logic to detect used dependes on oss build

* chore(NA): include correct x-pack plugins dep discovery

* chore(NA): discover entries under dynamic requires on vis_type_timelion

* chore(NA): remove canvas

* test(NA): fix jest unit tests

* chore(NA): remove double react declaration from storyshot test file

* chore(NA): try removing isOSS check

* chore(NA): support for plugin development

* chore(NA): update logic to fix unit tests and typechecking

* chore(NA): support to run npm scripts in child kbn projects across all envs

* chore(NA): support github checks reporter on x-pack and remove cpy types as the package correctly provides them

* chore(NA): update cpy version

* chore(NA): include last kbn pm changes

* chore(NA): update style on build_production_projects.ts

* chore(NA): remove any cast fom telemetry opt in stats

* chore(NA): remove del and re-use rm -rf again

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-02 21:18:52 +00:00
Greg Thompson 6fdc7eb1fa
Upgrade EUI to v30.1.1 (#81499)
* eui to v30.0.0

* removed unused RecentLinks component

* update compressed -> display prop

* euiformrow compressed -> display

* euipopover remove withtitle

* euibuttongroup prop updates

* remove euibuttontoggle

* src snapshot updates

* tutorial euibuttongroup update

* x-pack snapshot updates

* euibuttongroup test updates

* TODO

* misc. js file updates

* remove euinavdrawer scss references

* translation removals

* more x-pack snapshot updates

* update data-test-subj lookup

* icons logoAMP -> logoObservability

* cypress selector updates

* update euibuttontoggle onchange, test interaction

* Fix auto-update toggle in Visualize

* some more change -> click test updates

* idtoselectedmap change

* Fix feature table button group

* Remove empty SASS file

* Fix feature table button group II

* Using `compressed` to also dictate dual range row

* Fix a few security labels

* An ML fix

* Apply suggestions from code review

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* remove unused translation

* update view_type_toggle snapshot

* more snapshot updates

* eui to 30.1.0

* undo temp ts-ignore

* more x-pack snapshot updates

* eui to 30.1.1

* update feature privilege text

* Update x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/feature_table/sub_feature_form.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* reuse i18n token

* Adapt log entry action button to new `minWidth` prop

* clean up label

* Combine auto apply strings into one

* ternary fix

* cases status useCallback

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
2020-10-30 16:18:27 -06:00
igoristic c1294f0177
[Monitoring] Thread pool rejections alert (#79433)
* Thread pool rejections first draft

* Split search and write rejections to seperate alerts

* Code review feedback

* Optimized page loading and bundle size

* Increased monitoring bundle limit

* Removed server app import into the frontend

* Fixed tests and bundle size

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-30 10:50:34 -04:00
Ahmad Bamieh 4f717708b4
[Telemetry] [Schema] remove number type and support all es number types (#81774) 2020-10-30 04:34:20 +02:00
Joe Reuter afd5fe3b8a
Date column utilities (#81007) 2020-10-29 16:47:34 +01:00
Tyler Smalley 3af1099ba8
[browserlist] Excludes browsers not supporting es6-class (#81431)
* Updates browserlist to exclude those not supporting es6-class

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-10-28 16:38:59 -07:00
Mikhail Shustov 2782204cc1
Get rid of global types (#81739)
* move global typings to packages/kbn-utility-types

* update all imports

* add tests

* mute error

* update docs

* ok

* rename kbn-utility-types/test --> kbn-utility-types/jest
2020-10-28 11:03:04 +01:00
Spencer 72ff6b8741
[kbn/optimizer] ignore missing metrics when updating limits with --focus (#81696)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-26 18:38:36 -07:00
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