Commit graph

27678 commits

Author SHA1 Message Date
Aleh Zasypkin
b9e45fedf3
[7.x] Correctly process paths in map_of and record_of. Do not swallow and use indent for nested one_of error messages. (#49507) 2019-10-28 21:40:47 +02:00
Wylie Conlon
bbca758a09
[7.x] [Expressions] [Lens] Implement a loading state and error state in the ExpressionRenderer (#48841) (#49406)
* Add loading indicator to Lens workspace panel

* [Expressions] [Lens] Handle loading and errors in ExpressionRenderer

* Using loading$ observable and improve tests

* Using CSS and to handle layout of expression renderer

Added TODO for using chart loader when area is completely empty

* Improve error handling and simplify code

* Fix cleanup behavior

* Fix double render and prevent error cases in xy chart

* Fix context for use in dashboards

* Remove className from expression rendere component

* Improve handling of additional interpreter args

* More layout fixes

- Hide chart if Empty not Loading
- Fix relative positioning for progress bar since className is no longer passed (super hacky)
2019-10-28 14:58:18 -04:00
Tim Roes
0ee9d714dc
Fix missing html formatting in Doc_Viewer (#49326) (#49504)
* Add detection if a value has been formatted, conditional rendering

* Use markup by formatters, it's escaped for dangerouslySetInnerHTML

* Enable dangerouslySetInnerHTML for displaying values

* Use regex for replace
2019-10-28 19:43:50 +01:00
patrykkopycinski
ceb8ec6800
[SIEM] Refactor hosts routing (#47459) (#49472) 2019-10-28 19:33:10 +01:00
Tim Roes
d50e3c8814
Improve "Create new" UI in dashboard (#49189) (#49497)
* Change create new UI

* Implement review feedback

* Fix types in tests

* Remove obsolete translations

* Remove unnecessary flexbox
2019-10-28 19:31:56 +01:00
Tim Roes
2e054e6dfc Bug fix:Adds a migration for transforming TSVB vis split_filters (#49000) (#49492)
* Bug fix:Adds a migration for transforming TSVB visualization split_filters from strings to query:language objects to 7.5

* Changes hard coded migration version to get the version number from the saved object's migrationVersion in failing functional test

* Changes migration number from '7.5.0' to '7.4.2', fixes typo, changes test expectations to more explicit ones
2019-10-28 11:18:30 -07:00
Nick Partridge
f7388744d4
Update dependency @elastic/charts to ^13.5.9 (#49390) (#49431) 2019-10-28 13:02:50 -05:00
Steph Milovic
29b97c8ba7
[SIEM] N-flow ecs bug fix (#49266) (#49383) 2019-10-28 12:23:49 -05:00
Court Ewing
1a09516209
Remove experimental code app (#49404) (#49488)
* Fix erroneous code plugin import in apm

* Stop running legacy code plugin

* Stop testing code app and apis

* Remove code plugin source and deprecate config

* Remove code plugin docs

* Remove xpack.code translations

* Remove code import on api_integration

* Remove code privilege from security test

* remove two more mentions of code

* remove code es_archives

* remove code doc images
2019-10-28 13:06:11 -04:00
Jean-Louis Leysens
39190735a6
[Console] Restore completer behaviour (#49422) (#49481)
* Restore completer behaviour

* Move ace logic into shim and update getCursor -> getCursorPosition
2019-10-28 17:29:25 +01:00
Dmitry Lemeshko
0cff839a5f
FTR: clear browser storage between test suites (#48683) (#49475)
* clear browser storage on test suite completion

* [logstash/pipeline_list] fix tests dependency

* always load new index data
2019-10-28 11:04:14 -04:00
Maryia Lapata
702443311d
[Vis: Default editor] Unit tests for number list (#48412) (#49469)
* Add unit tests for number list

* Remove unused dependency

* Fix code review comments

* Refactor NumberList to set model validity in one place
2019-10-28 17:20:25 +03:00
Jean-Louis Leysens
771ee6abc2
[Console][Legacy Editor] Ace Range implementation not being used (#49352) (#49470)
* Use ace Range implementation, not interface, for instantiating

* Add simple smoke test for use of Ace ranges

* Update test title
2019-10-28 15:19:34 +01:00
Maryia Lapata
77de03ed61
[Vis: Default editor] Fix validation for bounds margin (#48216) (#49468)
* Fix validation for bounds margin

* Update custom_extents_options.tsx

* Rename isValid property

* Revert boundsMargin type
2019-10-28 16:56:43 +03:00
Jean-Louis Leysens
405d12a086
[Console] Token Iterator (#46793) (#49463)
* Start of token provider and token iterator

* Update Range interface

* Implement early feedback

* getTokenAt tests and update

* First pass! Autocomplete.js -> Autocomplete.ts

A lot of things broke!

* Added factories and models

* Lots of WiP

* Initial wiring up of new token iterator

* Fix types

* Minor updates to token iterator

* Fixed legacy editor.test.js tests (they were never running properly)
Update token iterator and token provider behviour to go to the first token BEHIND the cursor
Update test coverage
Get legacy tests working with new token iterator

* Address documentation Todos and implement missing `insert` method.
Cleaned up interface arguments for existing insert method too.

* Document range and line mode

* Fix broken async test in token provider (done callback)

* Fix path

* Slight update to token_provider and token_iterator to make code more readable

* Implement PR feedback (including fix for open documentation)

* Remove token_iterator interface

* initializeInput -> initializeEditor for quarantined integration tests

* Update input init mock
2019-10-28 13:55:11 +01:00
Marjorie Jones
35c2fe6a8b
Change Configuration button to Settings tab (#47960) (#49459) 2019-10-28 11:33:56 +00:00
Marjorie Jones
5a7f41e3de
[DOCS] Changes to support the split of the Metrics Guide and the Logs Guide (#48633) (#49461)
* Linking to new Metrics and Logs documents

* Linking to new Metrics and Logs documents
2019-10-28 11:27:16 +00:00
Liza Katz
82629bd856
Allow plugins to register top nav menu items (regression fix) (#48542) (#49456)
* Move top nav menu to its own plugin
Allow registering additional options from other plugins
Added demo plugin

* Added functional test to validate top nav registration

* Improved names

* Rename array

* Fixed lens tests

* Deleted old NavBarExtensionsRegistryProvider

* Fixed top nav menu test

* Attempt fixing test by clearing ui_actions on stop

* temporary disable test
2019-10-28 12:21:55 +02:00
Joe Reuter
de9cef42a9
ensure loading order (#49316) (#49353) 2019-10-28 10:27:30 +01:00
Matthias Wilhelm
27b91f93c6
Centralize dependencies in kibana_services.ts (#48072) (#49454) 2019-10-28 10:21:21 +01:00
Casper Hübertz
844236a95e
[APM] Update metadata order (#49313) (#49325)
Reordering the metadata sections for transactions, errors and spans.
2019-10-28 08:41:05 +01:00
patrykkopycinski
d930c1baa7
[SIEM] Fix host details page redirect (#48720) (#49446) 2019-10-27 10:45:25 -07:00
Justin Kambic
5f82d068dd
[Uptime] Do not drop edge buckets (#48157) (#49429)
* Checkpoint first uptime bucket

* Add code to specify interval for histogram chart, delete obsolete formatting code.

* Revert file to master version.

* Update usages of modified helper function.

* Delete obslete snapshot.

* Modify outdated tests and refresh snapshots.

* Update API test fixtures and several tests to avoid flakiness.

* Remove unneeded size field.

* Rename a type.

* Split concerns to two separate functions.

* Update chart formatting label stops and casing to fit latest charts.

* Remove addition of interval to x domain.

* Update tests to accommodate new changes.
2019-10-27 13:39:14 -04:00
Nick Peihl
8da924469e
Remove mapping type from example url (#49425) (#49433) 2019-10-26 15:50:55 -07:00
Dmitry Lemeshko
10df30e0aa
[kbn-expect] add optional error message (#48895) (#49438)
* [kbn-expect] add optional error message

* review feedback: replace error message with provided one

* add optional message for contain/string
2019-10-26 13:01:08 -04:00
Matthias Wilhelm
0bd8a6d7b9
Fix merge conflicts (#48457) 2019-10-26 12:22:09 +02:00
Mikhail Shustov
3cda518241
watch ignores resolved to plugins internals (#48629) (#49432) 2019-10-26 08:05:58 +02:00
Michael Marcialis
c54c04e287
[SIEM] Map Docs Link & Intrinsic Ratios (#49267) (#49420)
* rough out markup and intrinsic ratio poc

* reorganize comps

* media queries for aspect ratios

* disable ratio when error; add translations

* unit tests, translations & cleanup

* update copy per ben’s suggestions

* snapshots and translations

* move paddingSize prop inline

* change panel selector

* fix FormattedMessage id

* update snapshots
2019-10-25 20:09:33 -04:00
gchaps
75ed4c64c7
[DOCS] Adds docs for API Keys UI (#49135) (#49414)
* [DOCS] Adds docs for API Keys UI

* [DOCS] Incorporates review comments into API keys doc

* [DOCS] Fixes typo
2019-10-25 14:45:04 -07:00
Tim Sullivan
a053fa7a27
[Reporting] Fix scroll timeout logging bug (#49111) (#49395)
* [Reporting] Fix scroll timeout logging bug

* test cancellation token

* test time out
2019-10-25 14:44:55 -07:00
gchaps
2275e0be84
[DOCS] Updates Snapshot docs to include retention (#49007) (#49416)
* [DOCS] Updates Snapshot docs to include retention

* [DOCS] Creates tutorial for snapshot & restore

* [DOCS] Incorporates review comments for Snapshot doc

* [DOCS] Fixes typo

* [DOCS] Adds x-pack label
2019-10-25 14:42:24 -07:00
Peter Pisljar
2c285c98c9 adding loading$ observable (#48748) (#48908)
# Conflicts:
#	src/legacy/core_plugins/expressions/public/np_ready/public/loader.test.ts
#	src/legacy/core_plugins/expressions/public/np_ready/public/loader.ts
2019-10-25 16:34:40 -04:00
Tyler Smalley
7dccb5b923
Removes unused babel-plugin-inline-react-svg package (#49271) (#49360)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 12:49:59 -07:00
James Gowdy
847216d355
[ML] Fixing advanced detector field selects enablement (#49348) (#49370) 2019-10-25 20:17:10 +01:00
Spencer
11dc7f5111
[7.x] Update dependency @elastic/charts to ^13.5.8 (#49327) (#49362) 2019-10-25 12:11:30 -07:00
Wylie Conlon
f4b6815a60
[task manager] Kibana should start without task manager (#48568) (#49363)
* [task manager] Kibana should not fail to start without task manager

* Check for task manager in maps

* Lower log level

* Update task registration
2019-10-25 14:07:42 -04:00
Tyler Smalley
4ab4157e8c
[npm] Removes react-clipboard.js and redux-test-utils (#49283) (#49361)
* [npm] Removes react-clipboard.js

Added in the original commit of APM, but does not appear to still be used.

* [npm] Remove redux-test-utils

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 10:59:28 -07:00
Tyler Smalley
0e56969ec2
[npm] Removes stream-to-observable (#49272) (#49344)
Added in https://github.com/elastic/kibana/pull/18885 as part of the
RxJS 6 upgrade and used in the screenshot stictcher, however it is not
longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 10:56:23 -07:00
Tyler Smalley
947afac799
[npm] Removes unused dependencies (#49287) (#49357)
* [npm] Remove mochawesome-report-generator
* [npm] Remove babel-plugin-transform-react-remove-prop-types
* [npm] Removing popper.js
* [npm] Remove stream-stream
* [npm] Remove react-redux-request

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 10:46:42 -07:00
Tim Schnell
253b9e777a
[skip ci] Function Reference Docs Update (#48791) (#49369)
* setting up function reference pattern

* adding functions A-F

* grammar fixes

* Apply suggestions from code review

Co-Authored-By: Catherine Liu <catherineqliu@outlook.com>

* more review updates
2019-10-25 12:40:39 -05:00
James Gowdy
e152730cac
[ML] Fixing edit buttons in advanced wizard summary (#49324) (#49346) 2019-10-25 18:38:24 +01:00
Wylie Conlon
3423573c14
[Lens] Text updates (#48964) (#49354)
* [Lens] Text updates

* Update per comments

* Update text for datapanel

* Fix tests
2019-10-25 13:30:38 -04:00
Justin Kambic
806a9ce0a1
Add render for empty donut chart. (#48583) (#49331) 2019-10-25 13:18:36 -04:00
Brandon Kobel
13c80ba54d
Fixing kibana.yml doc comments for elasticsearch.ssl.certificate/key (#49262) (#49351) 2019-10-25 09:42:02 -07:00
Tyler Smalley
56f9287b2c
[npm] Removes rsync (#49285) (#49335)
Amungst one of the first dependencies added to X-Pack and does not
appear to still be used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:28:07 -07:00
Tyler Smalley
10819cf8eb
[npm] Removes react-select (#49284) (#49336)
Added when X-Pack was closed-source and
import/no-extraneous-dependencies was implemented. Does not appear to
still be used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:27:56 -07:00
Tyler Smalley
1c5698284f
[npm] Removes humps (#49282) (#49337)
Added with the original commit of APM, but is no longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:27:43 -07:00
Tyler Smalley
fbc8d5a0fb
[npm] Removes dataloader (#49281) (#49338)
Originally added in https://github.com/elastic/kibana/pull/24068,
however, it doesn't appear to have ever been used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:27:32 -07:00
Tyler Smalley
322be7683c
[npm] Removes trunc-html and trunc-text (#49278) (#49339)
Originally added in https://github.com/elastic/kibana/pull/6791 as part
of custom notification banners, however it's no longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:27:23 -07:00
Tyler Smalley
fe9c019640
[npm] Remove babel-plugin-mock-imports and gulp-multi-process (#49276) (#49341)
* [npm] Remove babel-plugin-mock-imports

Originally added as part of
https://github.com/elastic/kibana/pull/22695, however, it doesn't appear
to have ever actually been used.

* [npm] Removes gulp-multi-process

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:27:10 -07:00