Commit graph

1153 commits

Author SHA1 Message Date
Vadim Dalecky
a53e480881
feat: kibana-react initial setup (#37206)
* feat: 🎸 add NP TypeScript typings

* feat: 🎸 add kibana-react context provider

* feat: 🎸 add initial in-memory core implementation

* test: 💍 simplify useKibana() tests

* feat: 🎸 add useObservable() hook

* test: 💍 implement initial mock for uiSettings for testing

* feat: 🎸 add useUiSetting() hook

* docs: ✏️ update function name

* test: 💍 use core mock for testing useUiSetting() hook

* chore: 🤖 remove unused types

* chore: 🤖 fix linter error

* test: 💍 move core mock inline

Currently it fails on CI because of the relative import, so moving the
mock inline util it is resolved.
2019-06-03 16:27:13 -07:00
Chandler Prall
86fea48875
Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui (#36316)
* Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui

* update snaps

* Clicking on the svg itself once loaded

* updated snaps

* update icon in snapshots

* Fix snapshot
2019-06-03 12:01:01 -04:00
renovate[bot]
09b1af0bd3 Update d3 related packages (#37786)
* Update d3 related packages

* [ml/explorer_chart/single_metric] update assertion
2019-06-03 07:01:48 -07:00
renovate[bot]
2e14e60128 Update dependency js-yaml to v3.13.1 (#37809) 2019-06-02 09:59:55 -07:00
renovate[bot]
43f546fa8d Update dependency leaflet-draw to v0.4.14 (#37812) 2019-06-02 09:59:36 -07:00
renovate[bot]
0426d301a9 Update dependency node-fetch to v1.7.3 (#37821) 2019-06-02 09:58:15 -07:00
renovate[bot]
c80a33f8a8 Update dependency mustache to v2.3.2 (#37816) 2019-06-02 02:47:32 -07:00
renovate[bot]
a851018e90 Update dependency lru-cache to v4.1.5 (#37814) 2019-06-02 02:47:19 -07:00
renovate[bot]
65bf608232 Update dependency leaflet-responsive-popup to v0.6.4 (#37813) 2019-06-02 02:47:02 -07:00
renovate[bot]
c8bee5ce4f Update dependency json-stringify-pretty-compact to v1.2.0 (#37810) 2019-06-02 02:46:19 -07:00
renovate[bot]
84b074248c Update dependency hjson to v3.1.2 (#37800) 2019-06-01 21:35:08 -07:00
renovate[bot]
05727d750c Update dependency font-awesome to v4.7.0 (#37787)
* Update dependency font-awesome to v4.7.0

* rename license for new font-awesome version
2019-06-01 21:12:03 -07:00
renovate[bot]
a293b2d38c Update dependency image-diff to v1.6.3 (#37801) 2019-06-01 19:06:52 -07:00
renovate[bot]
47896b3ec0 Update dependency jimp to v0.6.4 (#37802) 2019-06-01 19:06:10 -07:00
spalger
8f83299cd1 Revert "Update dependency geckodriver to v1.16.2 (#37788)"
This reverts commit 2e1b275338.
2019-06-01 11:45:47 -07:00
renovate[bot]
2e1b275338 Update dependency geckodriver to v1.16.2 (#37788) 2019-06-01 11:45:08 -07:00
renovate[bot]
c1347032ce Update dependency encode-uri-query to v1.0.1 (#37765) 2019-06-01 08:10:29 -07:00
renovate[bot]
fee2ff9840 Update dependency @types/listr to ^0.14.0 (#37762) 2019-06-01 08:09:06 -07:00
renovate[bot]
996431ae7d Update dependency @types/fetch-mock (#37761) 2019-06-01 08:08:42 -07:00
renovate[bot]
55292e2f52 Update dependency @microsoft/api-documenter to v7.2.1 (#37759) 2019-06-01 08:08:12 -07:00
Dmitry Lemeshko
f82e92a077 FTR: add support for Firefox browser (#32509)
* skip and adjust functional tests for Firefox

* downgrade geckodriver to 0.22.0

* [ftr] add firefox specific config file

* remove hard coded firefox adjustments

* remove firefox specific screenshot directory

* run functional tests in firefox in x-pack

* pass the logger to readConfigFile()

* rename local var

* skip xpack firefox config

* run xpack firefox functional tests in separate command

* update report name for XPack firefox results

* adjust viz shared item test

* skip shared item test

* [test/feature_controls] increase timeout to 20 sec & use forceLogout

* FF timeout on TSVB, refresh page on failure for url navigation

* [feature_controls/visualize_security] increase timeout to 20 sec

* skip dev_tools_spaces tests on FF

* run all groups 3 times

* skip more func tests

* skip more tests

* skip all feature controls tests for Firefox

* revert back changes in feature controls tests

* rename xpack report for chrome

* skip tile map for FF, wait for render before saving

* Revert "run all groups 3 times"

This reverts commit 12b4f69627.

* revert refresh on login

* apply feedback
2019-05-31 15:49:18 -07:00
renovate[bot]
4a94aeeb4c Update dependency compare-versions to v3.4.0 (#37729) 2019-05-31 14:45:34 -07:00
renovate[bot]
35597b2d02 Update dependency dragula to v3.7.2 (#37732) 2019-05-31 14:44:48 -07:00
renovate[bot]
76fe38d49e Update dependency commander to v2.20.0 (#37715) 2019-05-31 13:11:02 -07:00
renovate[bot]
2a297432e7 Update dependency chance to v1.0.18 (#37713) 2019-05-31 13:10:28 -07:00
renovate[bot]
295466cffa Update dependency classnames to v2.2.6 (#37714) 2019-05-31 13:09:52 -07:00
renovate[bot]
58b47d9ac3 Update dependency bluebird to v3.5.5 (#37633) 2019-05-31 08:45:27 -07:00
renovate[bot]
a8cdcabd77 Update dependency angular-sortable-view to v0.0.17 (#37611) 2019-05-31 01:53:27 -07:00
renovate[bot]
6fcfff969c Update dependency angular-elastic to v2.5.1 (#37610) 2019-05-31 01:53:12 -07:00
renovate[bot]
72dd2b8f6e Update dependency JSONStream to v1.3.5 (#37609) 2019-05-31 01:52:27 -07:00
renovate[bot]
3c6efd4efa Update dependency handlebars to v4.1.2 (#37595) 2019-05-30 21:51:06 -07:00
renovate[bot]
cad3af7f5f Update karma related packages (#37556) 2019-05-30 21:19:10 -07:00
renovate[bot]
d182198ac1 Update grunt related packages (#37554) 2019-05-30 15:23:54 -07:00
renovate[bot]
c60e3491a2 chore(deps): update dependency del to v4 (#37466)
* chore(deps): update dependency del to v4

* remove @types/del since they ship with the package now
2019-05-30 13:40:35 -07:00
renovate[bot]
62893ec0bc Update gulp related packages (#37456) 2019-05-30 13:40:06 -07:00
renovate[bot]
0416dd8920 Update dependency mocha to v3.5.3 (#37458) 2019-05-30 01:26:16 -07:00
renovate[bot]
9256c74fdf Pin dependencies (#37406)
* Pin dependencies

* include core-js in babel packages

* specify core-js version when using `useBuiltIns`

* dedupe @babel/types to avoid "range of null" problem
2019-05-30 00:31:01 -07:00
renovate[bot]
fa597135bc Pin dependencies (#37404)
* Pin dependencies

* [eslint] ignore large files that take a long time to parse

* [eslint-plugin-import] force `querystring` to be considered a core module

* [eslint-plugin-import] auto-fix import order issues
2019-05-29 20:34:52 -07:00
Matthew Kime
8f693be770
bump github-checks-reporter to delay 60s on retries and retry 10x (#37358) 2019-05-29 14:03:04 -05:00
Daniil Suleiman
f6e91ccaaa Upgrade enzyme and enzyme-adapter-react-16 to the latest (#37064)
* Upgrade enzyme and enzyme-adapter-react-16 to the latest

* Skip failed expectation

* Update yarn.lock

* Update snapshot
2019-05-29 12:56:55 +03:00
Angela Chuang
ac3eb8566b
[SIEM] Replace Eui chart with elastic charts for siem kpis (#36660)
* move charts to separate components

* replace areachart

* apply custom styles

* customize barchart color

* customize color for areachart

* move reusable functions into common

* exchange x & y value in barchart dataset

* replace pure component with react memo and upgrade enzyme adapter
2019-05-29 14:57:38 +08:00
Matthew Kime
b5006f1d70
fix github checks with long runs (#36953) 2019-05-23 07:43:54 -05:00
Marco Vettorello
c75dc2c311
Update elastic-chart dependency to 4.2.6 (#36753) 2019-05-21 13:57:16 -04:00
Greg Thompson
671760e924 EUI@10.4.1 (#36711)
* update eui to 10.4.1

* revert lock
2019-05-20 18:10:32 -04:00
Spencer
e091de9e1c
[dev/precommitHook] add support for --fix flag (#36717)
* [dev/precommitHook] add support for --fix flag

* describe new --fix flag in precommit error text
2019-05-20 14:23:15 -07:00
Todd Kennedy
5f56c30ffd
[chore] upgrade wreck (#36527)
wreck has been deprecated and will receive no further security updates
in favor of @hapi/wreck
2019-05-13 15:36:22 -07:00
Søren Louv-Jansen
672a12039c
Bump backport to v4.5.5 (#36408)
**v4.5.5**
 - Support Github Enterprise by allowing custom Github hostname

**v4.5.4**
 - Add ability to customize PR title (`--prTitle`)

**v4.5.0 - 4.5.3**
 - Add ability to append text to PR description: (`--prDescription`)
 - More helpful message for handling conflict resolution
 - Gracefully handle invalid access tokens
 - Drop ssh keys requirement and use access token for everything
 - Create an official Docker image, which allows users without Node.js and/or git to use Backport

**v4.4.2:**
 - Update all dependencies to latest version
2019-05-10 14:49:50 +02:00
Chris Cowan
f632bda105
[Infra UI] Metrics Explorer (#35846)
* Returning live data

* Adding TSVB data population

* adding tests

* Adding UI

* Adding rough draft of metrics control

* Breaking out metric component; adding useCallback to callbacks; adding intl strings

* seperating out form

* Break metrics form out; change to custom color picker; create custom color palette;

* fixing bug with color picker

* changes to color palette; fix callback issue

* Fixing count label

* Fix chart label to truncate

* Changing by to graph per

* Making the metric popover wider to ease field name truncation

* critical changes to the import order

* Changing metrics behavior

* Hide metrics when choosing document count

* Updating chart tooltip; fixing types;

* Setting intial state to open metrics; Tweaking toolbar sizes

* fixing linting issues

* Allow users to filter by a grouping by clicking on the title

* Change rate to rateMax; add rateMin and rateAvg; fix title text-align

* Use relative paths to fix base path bug

* fixing typescript errors; removing rateAvg and rateMin; removing extranious files;

* Fixing formatting issues

* Fixing i18n linting errors

* Changing to elastic-charts

* fixing typing errors with charts

* Moving afterKey out of URL to fix bug with pagination

* Adding support for multiple axises

* Adding tests for useMetricsExplorerData hook

* breaking up the charting code; removing multi-axis support; changing color palette to use blue and red for first two color

* Adding drop down menu to charts for filtering and linking to TSVB

* Adding more tests for useMetricsExplorerData hook; adding error message; adding chart options to non-groupby charts

* only display groupings that have the metric fields

* Refactor page level state into custom hook; add test for options handlers;

* Fixing linting

* removing color picker

* removing useInterval

* Changing group by to use the pills; Changing context menu button; adding icons to context menu.

* Adding test for color palette

* Adding test for createFormatterForMetric()

* removing tsx extension; adding tests for createMetricLabel()

* removing tsx extension; adding tests for createMetricLabel()

* re-organizing helpers

* Moving helpers from libs to helpers; adding test for metricToFormat

* Fixing bug in tsvb link fn; adding timeRange props; adding createTSVBLink() test

* fixing timeRange fixture import; fixing aria label for action button

* removing some unecessary useCallbacks

* Adding test for MetricsExplorerChartContextMenu component

* Fixing linting issues

* Optimizing test

* Adding empty prompts for no metrics and no data

* Removing duplicate sereis def

* tcs has lost it's mind so I had to copy enzyme_helpers.tsx into our plugin

* Appeasing prettier

* Update x-pack/plugins/infra/public/components/metrics_exploerer/metrics.tsx

Co-Authored-By: simianhacker <chris@chriscowan.us>

* fixing path typo

* Adding supportFiltering to dependicy; change options to be more specific

* remove typo

* Fixing typo

* Adding logColumns to source fixture; fixing typo

* Fixing path to be more sane
2019-05-08 09:23:45 -07:00
Eli Perelman
a8d1a31a82
Revert "Handle encoding and decoding of angular route url components (#34300)" (#36226)
This reverts commit ed97dc6952.
2019-05-08 10:12:50 -05:00
Matthew Kime
272e0b3f19
github-checks-reporter repeat all failures (#36152)
* bump github-checks-reporter
2019-05-07 07:36:55 -05:00