* Update http route registration in migration guide and examples
* Migration examples: added more types, table of contents
* Use __legacy namespace within CoreSetup
* Inject legacy dependencies as third argument into plugins
* Legacy third argument for browserside and other updates
* Clarify comments
* Edits
We've migrated the old syntax at query time for a long time, but when creating a phrase filter we still used the old (now invalid) syntax. This could be confusing to users since the raw query DSL is viewable in the filter editor. Also, since map_phrase.ts only expected the old syntax, it wouldn't detect a match_phrase filter if the user entered the new syntax into the raw DSL editor.
This PR updates all of the filter generation code that I know of to use the new syntax, and it updates the map_phrase.ts file to accept both syntaxes.
* WIP, trying things.
* Delete call to hapi register function, use route for bootstrapping GQL.
* Add files to use for new platform shim.
* Add server shim.
* Update mock in test file to conform to new shim interface.
* Delete unneeded import and var declaration.
* Fix broken type files.
* Add plugin shim initializer to app bootstrapper.
* Extract plugins to separate param for shim.
* Rename interface and update tests.
* Delete unneeded file.
Fixes missing notification messages in the expanded row of the transform list by updating the notification index name to '.transform-notifications-read'.
* Don't set the timezone anywhere in APM since it's already set in autoload
For the chart X-axes:
* Create nice ticks for the configured timezone (ie at 1w, 1d, 12hrs interval) by offsetting the xMin/xMax
* Explicitly pass those tick values to the x-axis
* When formatting, use scaleUtc to format everything as UTC, and offset the time again with the configured timezone.
Fixes#47832Fixes#48355
* 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
The Kibana management section pages default to a max-width of 1200px. The transform creation wizard had a max-width of 100% when it was part of the ML plugin. Because of the existing two-column layout, the new default width can be a bit narrow for table with a lot of columns.
This PR provides an override to replicate the previous full-page-width of the transforms creation wizard. We might revisit this for future versions to blend in more with the overall design of the Kibana management section.
* Update eslint related packages
* add errorMessage to no-restricted-paths validation
* add license to eslintrc file
* ignore broken plugin fixture
* upgrade tangled peer deps
* give name to unnamed func to avoid typescript-eslint/typescript-eslint#1078
* migrate away from removed prefer-interface
* migrate away from removed no-angle-bracket-type-assertions rule
* migrate away from removed no-triple-slash-reference rule
* old config was invalid and made this rule a noop
* fix array-type rule config
* fix readonly paramProperties that weren't being checked
* fix propType ordering
* remove references to non-existent rules
* remove unnecessary disable that is improperly formatted
* fix comment-related spacing
* fix typo/invalid namespace overrides
* rename fn to avoid hook-alike behavior
* remove reference to old removed rule
* use caret version for prettier
* reference babel-eslint with absolute path
This fixes#48219 by adding the option for the user to select a subset of the configured log indices during the setup process. It also surfaces the errors returned by Kibana when the setup fails.