kibana/docs
Liza Katz 2f081a2adb
Introduce search interceptor (#60523) (#60723)
* Add async search strategy

* Add async search

* Fix async strategy and add tests

* Move types to separate file

* Revert changes to demo search

* Update demo search strategy to use async

* Add async es search strategy

* Return response as rawResponse

* Poll after initial request

* Add cancellation to search strategies

* Add tests

* Simplify async search strategy

* Move loadingCount to search strategy

* Update abort controller library

* Bootstrap

* Abort when the request is aborted

* Add utility and update value suggestions route

* Fix bad merge conflict

* Update tests

* Move to data_enhanced plugin

* Remove bad merge

* Revert switching abort controller libraries

* Revert package.json in lib

* Move to previous abort controller

* Add support for frozen indices

* Fix test to use fake timers to run debounced handlers

* Revert changes to example plugin

* Fix loading bar not going away when cancelling

* Call getSearchStrategy instead of passing  directly

* Add async demo search strategy

* Fix error with setting state

* Update how aborting works

* Fix type checks

* Add test for loading count

* Attempt to fix broken example test

* Revert changes to test

* Fix test

* Update name to camelCase

* Fix failing test

* Don't require data_enhanced in example plugin

* Actually send DELETE request

* Use waitForCompletion parameter

* Use default search params

* Add support for rollups

* Only make changes needed for frozen indices/rollups

* Only make changes needed for frozen indices/rollups

* Add back in async functionality

* Fix tests/types

* Fix issue with sending empty body in GET

* Don't include skipped in loaded/total

* Don't wait before polling the next time

* Add search interceptor for bulk managing searches

* Simplify search logic

* Fix merge error

* Review feedback

* Add service for running beyond timeout

* Refactor abort utils

* Remove unneeded changes

* Add tests

* cleanup mocks

* Update src/legacy/core_plugins/kibana/public/dashboard/np_ready/dashboard_app.html

Co-Authored-By: Lukas Olson <olson.lukas@gmail.com>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-20 21:58:06 +02:00
..
api [DOCS] Fixed typo in dashboard import API (#57862) (#57878) 2020-02-18 10:58:22 -06:00
apm [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
canvas [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
code Remove experimental code app (#49404) (#49488) 2019-10-28 13:06:11 -04:00
dev-tools [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
developer [7.x] FTR configurable test users (#52431) (#60428) 2020-03-17 18:21:48 -07:00
development Introduce search interceptor (#60523) (#60723) 2020-03-20 21:58:06 +02:00
discover [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
epm [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
getting-started [DOCS] Clarification in tutorial (#59088) (#59899) 2020-03-11 09:12:07 -05:00
images [DOCS] Updates intro doc (#58161) (#59457) 2020-03-05 10:44:32 -08:00
infrastructure [DOCS] Updated and added jump tables (#59774) (#59839) 2020-03-11 08:21:29 -05:00
logs [DOCS] Updated and added jump tables (#59774) (#59839) 2020-03-11 08:21:29 -05:00
management [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
maps [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
migration [DOCS] Adds user section to breaking changes doc (#58073) 2020-02-20 07:43:41 -08:00
plugins Adds Query.AI to known-plugins.asciidoc (#50516) (#56510) 2020-01-31 11:54:59 -05:00
release-notes [DOCS] Fixes typo in release highlights (#57487) 2020-02-12 13:51:56 -08:00
settings Remove link to old settings 7.x (#60332) 2020-03-17 16:12:36 -04:00
setup [7.x] [DOCS] Removed Coordinate and Region Maps (#59828) (#59909) 2020-03-16 13:59:36 -05:00
siem removes beta tag (#59618) (#59674) 2020-03-09 18:17:13 +02:00
spaces [DOCS][Spaces] Adds example of of using default route setting (#54201) (#54281) 2020-01-08 09:31:07 -08:00
uptime [DOCS] Updated and added jump tables (#59774) (#59839) 2020-03-11 08:21:29 -05:00
uptime-guide [DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
user [7.x] [DOCS] Removed Coordinate and Region Maps (#59828) (#59909) 2020-03-16 13:59:36 -05:00
visualize [7.x] [DOCS] Removed Coordinate and Region Maps (#59828) (#59909) 2020-03-16 13:59:36 -05:00
accessibility.asciidoc [7.x] Adding the Accessibility Statement to docs (#57153) (#57386) 2020-02-11 17:52:02 -05:00
CHANGELOG.asciidoc [7.x] [DOCS] 7.6.1 Release Notes (#58492) (#59089) 2020-03-04 08:21:09 -06:00
gs-index.asciidoc [DOCS] Change title of Kibana book (#44957) (#45022) 2019-09-06 10:40:36 -07:00
index.asciidoc [7.x] Adding the Accessibility Statement to docs (#57153) (#57386) 2020-02-11 17:52:02 -05:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#19192) 2018-05-18 11:50:51 -07:00
limitations.asciidoc [DOCS] Condenses limitations docs (#57393) (#57475) 2020-02-12 11:17:28 -08:00
migration.asciidoc [DOCS] Adds breaking changes for 7.6 (#56437) 2020-01-30 13:23:05 -08:00
redirects.asciidoc [7.x] [DOCS] Removed Coordinate and Region Maps (#59828) (#59909) 2020-03-16 13:59:36 -05:00
release-notes.asciidoc Adds release notes for 7.0.0-alpha2 (#27237) 2018-12-19 12:10:23 -05:00
timelion.asciidoc [DOCS] Adds info about adding Timelion to side nav (#35354) 2019-04-19 12:29:29 -07:00