Commit graph

1008 commits

Author SHA1 Message Date
Dmitry Lemeshko
6f57fa0b2d
Report page load asset size (#66224)
* performance_tests: draft version

* update cli runner and script

* ingest metrics

* save asset type for plugins

* Update src/dev/performance/ingest_metrics.ts

Co-authored-by: Spencer <email@spalger.com>

* follow review comments

* fix size calc, add FTR config, move src to kbn/test

* fix import, remove unused interface

* Update packages/kbn-test/src/page_load_metrics/capture_page_load_metrics.ts

Co-authored-by: Spencer <email@spalger.com>

* start chromium with no-sandbox

* add logging

* check page contains expected element, cut apps to 5

* fix locator & typo

* Update packages/kbn-test/src/page_load_metrics/navigation.ts

Co-authored-by: Spencer <email@spalger.com>

* Update navigation.ts

* Update navigation.ts

* bump puppeteer version

* fix typo

* update navigation script

* update config file

* update yarn.lock

* fix

* take screenshot on failure

* update screenshot title

* fix screenshot saving and error

* invalid locator

* Revert "invalid locator"

This reverts commit 3007539a69.

* run script in a loop 10 times

* Revert "run script in a loop 10 times"

This reverts commit 6cfa219140.

* path config value directly

* fix screenshots directory setup

* update maps locator, common for landing and new map

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2020-06-05 16:42:55 +02:00
Pierre Gayvallet
3602f0f9aa
implements extends to ObjectSchema (#68067)
* implements `extends` to `ObjectSchema`

* add unit tests

* use expectType for types assertions

* allow to extends options

* add comment about deep extend
2020-06-04 20:55:03 +02:00
Jean-Louis Leysens
1346b154ad
[ES UI Shared] Monaco XJSON (#67485)
* First iteration of xjson in monaco

* Throwaway implementation in painless lab - THIS MUST BE REVERTED

* WiP on build process for new kbn-lang package

* new @kbn/langs package and update ui-shared-deps

* Update jest config for new work files

* Update painless lab -- REVERT THIS COMMIT

* Create shared useXJson mode hook

* Final update to using the new shared useXJsonMode hook -- REVERT

* Created @kbn/monaco and share through shared deps

* always access monaco through `@kbn/monaco`

* use path.resolve to create path

* add basic readme

* remove console.log call

* remove typescript support from ui-shared-deps webpack config

* use `@kbn/babel-preset`

* include the monaco styles in the kbn-ui-shared-deps

* sort package.json

* build worker at bootstrap rather than commiting to repo

* only build worker, don't pre-bundle monaco

* fix type check errors

* remove section from readme about committed dist

* keep editor.worker.js postfix

* forgot to save update to import

* license package as apache-2.0

* Added regenerator runtime for worker bundle

* revert changes to painless lab

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 13:43:21 +02:00
Spencer
3b43821401
upgrade elastic/numeral and complete migration away from numeral (#68035)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-03 10:07:11 -07:00
Spencer
728a4b23e6
share core bundle with plugins (#67892)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-02 14:18:37 -07:00
Spencer
402018856e
[kbn/optimizer] update public path before imports (#67561)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-05-29 14:21:14 -07:00
Spencer
6288096f62
[kbn/optimizer] use execa to fork workers (#67730)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-05-29 10:34:58 -07:00
Spencer
55679d75dd
[kbn/optimizer] exclude "cache" config from cache key, diff actually compared values (#67232)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 12:01:29 -07:00
Spencer
778b01b11a
[ci/stats] fix merge base detection (#67030)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-27 11:22:04 -07:00
restrry
66a0e67450 update kbn-pm again 2020-05-22 11:25:54 +02:00
restrry
e98113e08c update kbn-pm build 2020-05-22 10:32:34 +02:00
restrry
bf04235dae apply prettier styles 2020-05-22 09:08:58 +02:00
restrry
64ad4f3f92 bump prettier version to v2 2020-05-22 08:51:10 +02:00
spalger
dcfa485009 Revert "[kbn/optimizer] poll parent process to avoid zombie processes (#67059)"
This reverts commit e824ac3ba9.
2020-05-21 20:52:55 -07:00
spalger
556ae523c8 Revert "[kbn/optimizer] remove disconnect listener (#67161)"
This reverts commit 90fc521d21.
2020-05-21 20:52:43 -07:00
Spencer
93c3a6319e
[bootstrap/styles] add early support for v8 themes (#66673) 2020-05-21 14:08:58 -07:00
Greg Thompson
204fd5b5a2
Upgrade EUI to v23.3.1 (#65877)
* eui to 23.2.0

* nav drawer ts updates

* eui to 23.3.0

* src snapshot updates

* makeId -> htmlIdGenerator mocks

* EuiCodeBlock testenv element lookup

* x-pack snapshot updates

* remove obsolete EuiCode and EuiCodeBlock mocks

* eui to 23.3.1

* patch updates

* searchbar type update

* docViewer tabs use valid DOMString id

* docViewer snapshot

* header updates

* cert_search field wrapper update
2020-05-21 14:31:26 -05:00
Spencer
7db72531fd
[kbn/optimizer] ensure build script can prime cache (#67020) 2020-05-21 10:01:09 -07:00
Spencer
90fc521d21
[kbn/optimizer] remove disconnect listener (#67161) 2020-05-21 09:58:15 -07:00
Tyler Smalley
c675301a87
[build] Removes commonjs transforms (#66506)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 09:43:31 -07:00
Spencer
ffe7341f27
[kbn/optimizer] require fsevents on macos (#67147) 2020-05-21 02:20:14 -07:00
Spencer
e824ac3ba9
[kbn/optimizer] poll parent process to avoid zombie processes (#67059) 2020-05-20 07:40:46 -07:00
patrykkopycinski
2d32034f96
Bump styled-component dependencies (#66611) 2020-05-20 16:03:44 +02:00
Spencer
4e0921d41e
[kbn/plugin-helpers] typescript-ify (#66513) 2020-05-15 10:35:44 -07:00
Mikhail Shustov
0cc5d133d9
lint import from restricted zones for export exressions (#66588)
* line restricted zones for export exressions

* more robust rule

* fix or mute eslint errors

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-15 17:21:42 +02:00
Spencer
77a89c2c3b
[kbn/es] retry fetching native realm users (#66511) 2020-05-14 12:03:39 -07:00
John Dorlus
8c36a37770
Added a check to ensure that source.url.path exists before iterating through them. (#66505) 2020-05-13 22:50:59 -04:00
Spencer
12216d75fc
[plugin-helpers] remove outdated postinstall task (#66324) 2020-05-12 17:19:36 -07:00
Brian Seeders
c0c7dccac7
Throw error in kbn-es when no reserved users found (#65911) 2020-05-12 10:25:12 -04:00
Spencer
cbe559745a
[procrunner] avoid waiting for processes forever (#65909) 2020-05-11 11:04:23 -07:00
Tiago Costa
d7f847e91d
fix(NA): noParse regex for windows on kbn optimizer (#65755) 2020-05-08 00:45:57 +01:00
Spencer
d988ebee97
Collect more build metrics (#65408) 2020-05-07 10:37:07 -07:00
Michail Yasonik
35e10273d3
New nav (#64018)
Notably, also removes aria-hidden from many visualizations
2020-05-05 23:14:14 -05:00
Spencer
dc647a6e4c
[pre-commit script] refactor for speed (#65202) 2020-05-05 16:13:48 -07:00
Spencer
65ab0c6b35
[interpreter] remove unused code (#65332) 2020-05-05 16:03:45 -07:00
dependabot[bot]
23282a2f37
Bump jquery from 3.4.1 to 3.5.0 (#64884) 2020-05-05 13:31:49 -04:00
Marco Vettorello
4928978557
update elastic/charts to 19.2.0 (#65279) 2020-05-05 19:14:25 +02:00
Larry Gregory
6a6deef151
Deprecate kibana user in favor of kibana_system user (#63186) 2020-05-05 11:36:40 -04:00
Marco Vettorello
2d4dc801c3
Update dependency @elastic/charts to v19.1.2 (#64759)
* build: upgrade @elastic/charts to 19.0.0

* refactor: onBrushEnd breaking changes

* fix: missing onBrushEnd argument changes

* fix: update ech to 19.1.1

* fix: lens onBrushEnd breaking changes

* update to 19.1.2
2020-05-04 18:42:58 -05:00
Spencer
99aed58fe2
[ui-shared-deps] only compress in production build mode (#65151) 2020-05-04 15:09:44 -07:00
Josh Dover
306a5fe55e
Use brotli compression for some KP assets (#64367) 2020-05-04 10:53:06 -06:00
Spencer
0d4cfba4b4
share single data plugin bundle (#64549) 2020-04-29 09:44:56 -07:00
Spencer
7a4d97cec8
[kbn/pm] use mtime of untracked files in bootstrap cache key (#64293) 2020-04-27 16:43:18 -07:00
Spencer
00ec971b6e
Implement basic CI metric reporting (#64263) 2020-04-27 13:24:52 -07:00
Thomas Watson
3c5eee7526
Bump karma dev-dependency from 3.1.4 to 5.0.2 (#64403) 2020-04-27 08:41:17 +02:00
Nick Partridge
3a898a159c
update charts library to 18.4.2 (#64438) 2020-04-24 17:47:59 -05:00
Maryia Lapata
2ace269a26
[NP] Vega migration (#63849)
* Vega migartion

* Move mocha tests to legacy

* Fix TS

* Update .i18nrc.json

* Move mocks to vis_type_vega

* Fix issue with babel and vega deps

* Update mocha test

* Mock services

* Update vega_request_handler.ts

* don't parse vega-lib/build/vega.js

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-04-24 16:25:08 +03:00
Tiago Costa
e3ee02c687
chore(NA): reduce siem bundle size using babel-plugin-transfor… (#63269)
* chore(NA): reduce siem bundle size using babel-plugin-transform-imports for lodash

* fix(NA): dont use preventFullImport

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 17:43:34 -07:00
Nick Partridge
bc6291349c
Update elastic charts v18.4.1 (#64257) 2020-04-23 11:59:19 -05:00
Josh Dover
3e0907fabf
Use runtime publicPath for KP plugin bundles (#64226) 2020-04-23 09:13:00 -06:00