Commit graph

27137 commits

Author SHA1 Message Date
Nik Everett 21cc988bd8
Docs: Fix asciidoctor compatibility (#43473)
This modifies the asciidoc files so they can be built by asciidoctor.
The biggest change is removing callouts that aren't at the end of the
line. To do that I break the examples from one giant line into many
shorter lines.
2019-08-22 14:55:41 -04:00
Matthias Wilhelm 59e632afe5
Catch fetchSurroundingDocs missing anchor (#43661) 2019-08-22 20:17:57 +02:00
Catherine Liu 90edcf2b10
[Canvas] Added formatnumber and formatdate UIs to sidebar (#43059)
* Added formatnumber and formatdate transform UIs

* Added rounddate transform

* Changed default custom format

* Changed to UTC date

* Fixed ts error

* Fixed help text

* Added type def for arguments

* Added types for tranforms

* Added snapshots

* Fixed prop
2019-08-22 11:03:03 -07:00
Catherine Liu c8cac164b6
[Canvas] Query default index when index is unspecified (#41515)
* Queries default index in esdocs, essql, and timelion if index is not provided

* Refactored essql
2019-08-22 11:01:36 -07:00
Melissa Alvarez 5a0fb2c16a
[ML] DataFrame bulk actions (#43331)
* wip: add selection and actions icon

* add bulk delete functionality. use existing delete action component

* add start bulk action

* add stop bulk action

* add label for number of transforms selected

* Action components only accept items array. Update endpoint calls for array param

* update tests

* fix translation error

* update start modal translation

* transformDelete to server side for synchronous looping through ids

* transformsStart to server side for synchronous looping through ids

* transformsStop to server side for synchronous looping through ids

* change request method for delete.

* update deprecated functional component type

* ensure bulk actions disabled when appropriate

* handle timeouts for start,stop,delete actions

* rename DataFrameTransformEndpointRequest type

* disable all row actions when selected items

* fix localization error
2019-08-22 13:23:13 -04:00
Peter Pisljar 21958809de removes usage of EventsProvider in vislib (#38533)
* removing EventsProvider usage in Vislib
2019-08-22 10:40:26 -05:00
Josh Dover c2ef2c8f51
Add support for dynamic imports (#43716) 2019-08-22 09:48:39 -05:00
Daniil Suleiman e568c3dfde
[Vis: Default editor] EUIficate gauge/goal options tab (#43265)
* Euificate gauge options

* Changes params places

* Add ranges validation

* Get rid of legacy translates

* Fix functional tests

* Split gauge to panel components

* Disable alignment option
2019-08-22 16:01:55 +03:00
Kerry Gallagher 7602710bdc
[LogsUI] Add analysis results screen (#43471)
* Add empty analysis tab

* Add ml capabilities check

* Add job status checking functionality

* Add a loading page for the job status check

* Change types / change method for deriving space ID / change setup requirement filtering check

* Use new structure

* Add a loading page

* Initial timeRange URL state hookup

* Hook up params to data fetching

* Fleshing out EUI structure

* Change tab syntax

* i18n translate message prop

* Fix import

* Add structural visual components

* Split section in to independent component

* Real loading and no data states

* Add initial chart rendering (WIP)

* Tick formatting for x axis

* Add series styling, tickFormatter etc

* Base bucketDuration on time range for a sensible number of data points (naieve version)

* Add auto refresh

* Adjust bucketDuration algorithm

* Add some dark theme support

* Call the functions

* Extract chart helpers

* Amend io-ts types

* i18n translations

* Add types for graph data

* Allow ability to toggle model bounds

* Add anomaly series

* Format date correctly

* Add anomalies detected text

* Simplify syntax

* Update title

* Render panel within a page

* Add ability to switch between chart and table view

* Fix typechecking errors

* Add a Beta badge to the analysis tab
2019-08-22 13:57:25 +01:00
Zacqary Adam Xeper 40b28c7d7f [Logs UI] Create screen to set up analysis ML jobs (#43413)
* Add empty analysis tab

* Add ml capabilities check

* Add job status checking functionality

* Add a loading page for the job status check

* Change types / change method for deriving space ID / change setup requirement filtering check

* Use new structure

* Add module setup to log analysis jobs hook

* Add ID to path

* [Logs UI] Add analyis setup landing screen

* Add function to set up ML module on click

* Use partial type for start and end props

* Add start and end time selection

* Fix syntax

* Change seconds timestamp to ms

* Update wording

* Use FormControlLayout to clear datepickers

* Update wording about earlier start date

* Remove specific point in time wording

* Fix typechecking

* Reload analysis page on successful job creation

* Add error handling for setup failure

* Update description ton of feature to reflect 7.4 feature set

* Add toggleable default message

* Revert to EuiFormControlLayout until eui changes are pushed

* Remove sample data index if user has it set
2019-08-22 13:55:26 +01:00
Filip Rydzi 3da522d42b Threshold line on bar/line/area charts (#42632)
* first steps towards threshold line (histogram)

* threshold line added for all point_series charts

* added settings for threshold line

* last fixes

* fixed typo

* default values for thresholdLineOptions

* resolving conflicts

* threshold line not displayed when out of the canvas

* linting

* added color picker for threshold line

* fixed assigning of a static color and i18 select options

* changing default color and lintings

* Fix remaining TS issues
2019-08-22 14:44:36 +02:00
Nick Partridge b596edd6d9 upgrade elastic-charts to 10.0.1 (#43732) 2019-08-22 14:44:19 +02:00
James Gowdy 1f0981246c
[ML] Allow index patterns containing commas in recogniser modules (#43686)
* [ML] Allow index patterns containing commas in recogniser modules

* fixing issue where only 'indexes' is the allowed datafeed index list
2019-08-22 08:14:09 +01:00
Sébastien Loix 1b164c1902
[Console] Update autocomplete api definition (#43651) 2019-08-22 07:35:35 +02:00
Yulong d83e3a6917
[Code] fix git for large repos (#43669)
add an abstraction for git operations
2019-08-22 11:17:33 +08:00
Mengwei Ding c4f483a394
[Code]: exclude from getting write privilege when choosing all (#43700)
* [Code]: exclude from getting write privilege when choosing all

* adjust api integration test

* minor change of the role name
2019-08-21 20:00:10 -07:00
Thomas Neirynck bcd079571b mod sample data (#43487) 2019-08-21 18:11:45 -06:00
Kaarina Tungseth 9b23ce3cfb
[DOCS] Fixes workpad and element links (#43727)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* [DOCS] Fixes workpad and element links
2019-08-21 18:40:42 -05:00
Kaarina Tungseth 06b37dbad3
[DOCS] Fixes element link (#43725)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Fixed link issue
2019-08-21 17:46:48 -05:00
Larry Gregory 608e2391d0
Copy Saved Objects to Spaces API (#38014) 2019-08-21 17:27:55 -04:00
Kaarina Tungseth 5fe9d0e780
[DOCS] Canvas elements (#42473)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Export image

* Final clean up
2019-08-21 16:12:22 -05:00
Matt Bargar e233e419cf
Implement saved queries and filters (#39140)
Introduces "saved queries". Saved queries are a new saved object type similar to saved searches but more limited in scope. They allow users to store the the query string in the query bar and optionally the set of filters and timefilter in order to reload them anywhere a query is expected: Discover, Visualize, Dashboard, anywhere that uses our full SearchBar component.
2019-08-21 16:53:19 -04:00
Matthias Wilhelm cb8133aee5
Fix date_nanos formatting for formats without fractional seconds (#43114)
* Fix formatting for formats without S... part

* Add jest test catching the bug
2019-08-21 22:42:16 +02:00
Nathan Reese 0d4e979778
[Maps] allow embeddables to hide filtering controls (#43703)
* [Maps] allow embeddables to hide filtering controls

* fix typos in embeddable docs
2019-08-21 13:44:07 -06:00
Josh Dover 5071c74945
Replace CSP 'nonce-<base64>' directive with 'self' directive (#43553) 2019-08-21 14:11:38 -05:00
Mike Côté 90532673fd
Add spaces only tests for alerting and actions (#43616)
* Add spaces only tests

* Rename some tests to make more sense in spaces only context

* Modify test suite titles

* Apply changes from master

* Loop only one scenario for now

* Reduce amount of tests spaces_only runs

* Fix failing test

* Remove looping in spaces only tests
2019-08-21 13:23:06 -04:00
spalger e4a72e4aa8 skip flaky test suite (#43557) 2019-08-21 08:47:47 -07:00
spalger 10c4b3e609 skip flaky test (#39163) 2019-08-21 08:45:42 -07:00
Dmitry Lemeshko 9b9801f470
functional tests for input control range (#42483)
* [apps/visualize] functional tests for input control range

* update jest test to have 100% combined coverage with functional
2019-08-21 17:22:54 +02:00
James Gowdy a9032035b0
[ML] Population wizard layout improvements (#43664)
* [ML] Population wizard layout improvements

* updating string id
2019-08-21 16:04:47 +01:00
spalger 48ceb29185 disable flaky test (#43655) 2019-08-21 07:39:25 -07:00
Dario Gieselaar 4d54b5fa5e
[APM] migrate to io-ts (#42961)
* [APM] migrate to io-ts

* Migrate remaining routes to io-ts

* Infer response type for useFetcher()

* Review feedback

* Use createRangeType util

* Extract & test runtime types

* Simplify runtime types

* Tests for createApi and callApmApi

* Use more readable variable names in runtime types

* Remove UIFilters query param for API endpoints where it is not supported

* Fix issues w/ default parameters in create_api
2019-08-21 15:51:41 +02:00
Yulong 4a82b9541d
[Code] fix a launching embed ctag-langserver problem (#43561) 2019-08-21 21:45:05 +08:00
Alexey Antonov 3e75f304b2
[Inspector Views] [Data View] - Migrate inspector_views to new platform (#43349)
* [Inspector Views] [Data View] - Migrate inspector_views to new platform

* fix PR comments
2019-08-21 16:40:12 +03:00
Corey Robertson 54e2edce19
[Canvas] Canvas embeddable (#39839)
* Adds embeddable objects to canvas

* Handle embeddable_api -> NewPlatform changes

* Addressing PR feedback

* Properly mock new platform

* Snake case filenames{

* Switch relative paths to src/
2019-08-21 08:08:15 -05:00
Walter Rafelsberger 6ab5be15f0
[ML] Data frame analytics: Outlier detection results page (#43578)
Introduces a page to view results of outlier detection jobs. Users can navigate from the analytics jobs list to the results page by clicking on the View button.
2019-08-21 05:40:12 -07:00
Daniil Suleiman db0e080cb0
Fix loading options tab in goal vis (#43345)
* Fix loading options tab in goal vis
2019-08-21 13:57:11 +03:00
Joe Reuter 9dd4369a33
Expression datatable formatting hints (#43091) 2019-08-21 12:52:25 +02:00
Maryia Lapata abfc1ad26c
[Vis: Default editor] Markdown settings tab (#43179)
* Move settings to separate tab

* Textarea fills the entire height of the sidebar

* Update styles

* Update markdown_options.tsx
2019-08-21 13:22:25 +03:00
Joe Reuter 36d10b26f9
Improve wording for autocomplete timeout message (#43512) 2019-08-21 12:15:46 +02:00
Gidi Meir Morris 21c4430d0e
[Alerting] Refactored External Service Simulators (#43570) 2019-08-21 10:01:28 +01:00
James Gowdy 74e7af9df6
[ML] Updating wizard help text (#43464)
* [ML] Updating wizard help text

* adding population placeholder text

* updating population description

* updating split field description
2019-08-21 09:16:15 +01:00
WangQianliang 806af68d5a
fix(code/frontend): fix search filters (#43426) 2019-08-21 12:31:41 +08:00
Yulong 33e9e0c1a9
[Code] fix workspace dir case-sensitive problem (#43571) 2019-08-21 11:10:22 +08:00
Patrick Mueller ba470f9fb1
i18n-ize messages from actions (#43239)
Where appropriate, use i18n support for messages coming from the
x-pack actions plugin.
2019-08-20 20:44:58 -04:00
Nathan Reese aa8c55a2e2
[Maps] Add cancel draw button and draw instructions (#43593)
* cancel draw

* show tooltip with draw instructions

* add jest test for ToolsControl

* throttle mousemove callback
2019-08-20 17:16:26 -06:00
Søren Louv-Jansen 7fc24c9438
Bump backport to 4.6.4 (#43622) 2019-08-21 00:37:05 +02:00
Mengwei Ding dee690ded3
[Code] Initial commit Indexer (#39599)
* [Code] change

* [Code] initial commit indexer

* initial call of git commit api

* sync to update-to-date

* Add checkpointing to commit indexer

* fix lint errors

* add git api to pull all commits

* calculate progresses

* unit tests for commit indexer

* add some comments

* minor change
2019-08-20 15:03:48 -07:00
Mengwei Ding ec6d067a32
[Code] fix functional test (#43599) 2019-08-20 14:55:16 -07:00
Mike Côté bb6aa330e8
Disable security plugin in spaces only test suite (#43608) 2019-08-20 17:00:31 -04:00