* Move SavedObjectClient files to core/public
* Initial SavedObjectsService in public Core
* Public SavedObjectsClient tests
* Import SimpleSavedObject from src/core/public
* Use types from source files for kibana.d.ts
* Add html raw loader to x-pack/jest
* Cleanup
* Drop case utilities and improve test coverage
* Update types and documentation
* Fix build breaking when importing directly from /server in /public
* Ensure that all option paramaters are picked and renamed
* Fix option mapping and introduce stronger types
* Eslint: allow imports from src/core/*/types
* Add compatibility layer for kfetch vs http.fetch error responses
* Improve documentation
* Expose SavedObjectsMigrationLogger
* Documentation and type tweaks
* Revert type changes from 73e601f and update api docs
* Refactor request into savedObjectFetch + test
* Make legacy SavedObject compatible with http.fetch exceptions
* Fix types and tests
* simple_saved_object import from src/core/server
* server imports from root instead of server/types
* Make SavedObjectsService a class
* Don't pick unkown keys from server response
* Rename SavedObjectsFindResponse to SavedObjectsFindResponsePublic
* Remove err.response from SavedObjects fetch errors
* Revert "Remove err.response from SavedObjects fetch errors"
This reverts commit 61705ca361.
* Don't introduce err.response until we deprecate err.res
* Remove flakiness from 'pollIntervalMs' test by making timing irrelevant.
* Remove flakiness from 'state' tests by increasing wait time.
* Fix flakiness with 'resets the pollIntervalMs' test by increasing the wait time.
The `nullable` type is very similar to the `maybe` type, except that
it validates nulls and undefined values to null, instead of undefined.
Eg,
maybe(T): T | undefined
nullable(T): T | null
* WIP: Clone Rollup functionality
* WIP: Course correct for better UX
* Fix formatting issues
* wip continues, refactoring to clone job pattern.
* First pass of clone functionality working end to end.
* Only re-type when necessary
* Show cloned errors immediately after choosing to clone a rollupjob
* Remove pluralised label for now
* cherry pick master changes
* First pass at new start-on-create feature with error handling
* Added tests and did a minor naming refactor for tests
* Combine job create review tests into one file, following steps performed: 1) correctly mock out http requests 2) increase the wait time given the 500ms sleep
* Go with potentially incorrect pluralisation for now
* Use JS paramter default
* Simplify on click event listener
* Cleanup use of lodash imports, fix spec after change to event listener, make code a bit more defensive
* Remove unnecessary span
* Updated checkbox copy
* Moved start after create checkbox to immediate right of start button
* Update checkbox vertical alignment
* Re-integrate changes with master
* Switch job action menu ui component to using i18n.translate
* More descriptive variable name
* Use initialState for job clear
* Simplify and rephrase comment
* Remove lodash import and add missing period to end of sentence.
* Fix defaulting to something when it should be nothing
* Fix i18n compatibility checks
* Tests for cloning jobs
* Test cleanup
* Fix whitespace noise
* Fix button labels assertion to be more robust
* Updated validation logic for rollups - rollups names are non unique
Added "-copy" to end of cloned rollup job name/id
* Whitespace
* clean up unused code and double clicking of component in test
* Update test suite name
* Added comments to create from clone test
* Added better expectations for results of smoke test
* Whitespace
* Setup Logs routing for multiple pages
* Adds nested routing for logs
* Adds an index page to handle shared concerns
* Adds the Stream page at /logs/stream
* Introduce shared settings page
* Introduces shared/settings page
* Adds shared/settings page as a tab in the Logs routes
* Removes previous source configuration flyout traces from Logs pages
* Begin styling adjustments to settings page
* Implements use of EUI Panels
* Centers page content
* Add discard button
* Add discard button to allow resetting the form
* Fix button alignment
* Align Apply and Discard buttons to the right
* Align Loading button to the right
* Add EuiDescribedFormGroup for all form fields
* Add EuiDescribedFormGroup for name panel
* Add EuiDescribedFormGroup for indices panel
* Add EuiDescribedFormGroup for fields panel
* Remove all SourceConfigurationFlyout traces from the Infrastructure UI
* Add a ViewSourceConfigurationButton
* Adds a ViewSourceConfigurationButton component that will route to the /settings page
* Replace all instances of "View Configuration" buttons that were opening the flyout with the new button
* Enable settings tab amongst Infrastructure routes
* Change navigation to mimic SIEM
* Introduces an AppNavigation component
* Amends styling / handling of RoutedTabs to match SIEM implementation
* Adds new AppNavigation component to Infrastructure and Logs indexe pages
* Functional test amendments (WIP)
* Temporarily disable certain functional tests
* Remove unused imports
* Disable imports so build can pass
* Amend I18N errors
* I18N
* Automatically fix issues with i18n (node scripts/i18n_check --fix result)
* Functional tests
* Amend tests so they pass locally. Pending CI test.
* Amend RoutedTabs (without link focus style)
* Tweak RoutedTabs and AppNavigation for better performance / visuals
* Ensure outline isn't cut off
* Ensure only the react-router instance is hit for performance
* Ensure links still have href attributes for things like "Open in a new tab" even if history.push ultimately navigates
* Fix i18n usages
* node scripts/i18n_check --fix
* Amend functional test config (post Master merge fix)
* Remove unused function and fix unused import
* Add a Prompt to notify users when form changes will be lost
* Add aria-label to Button
* EUIficate tile_map_vis_options
* Add basic options
* Get rid of vislib_basic_options
* Move wms_options directive to region_map
* Get rid if TileMapVisParams directive
* Update region_map namespaces
* Support of injecting of any dependency
* [code] Enable go langserver under non-detach mode.
* [code] Enable go langserver under non-detach mode #part 2.
* [code] Enable go langserver under non-detach mode #part 3
We should keep the kibana code data inside the 'kibana/data' . That
means go-langserver has nothing to do with dev machine except '$PATH'.
* [code] Enable go langserver under non-detach mode #part 4
Since we use socket as the process communication media, remove the
unused parameter.
Prior to this PR, the create and update http apis for actions returned
an object with the shape `{ id: <id of relevant action> }`.
This PR changes the responses to be the complete body of the action that
was created / updated, not just the `id`.
I believe this is the final piece of the "fix http apis for actions / alerts"
issue https://github.com/elastic/kibana/issues/41828
* Shim server side to new platform
* Shim public to new platfrom
* Break by services
* Add dependencies to the TSVB plugin
* Change folder structure for the shim
* Pass services as a second argument of setup() and small fixes
* Add start() to the Plugin
* Get rid of the Private
* Pass the core to setup()
* Get rid of NP folder
* Set config to timezoneProvider()
* Take an external dependency from EditorController
* Take an extra dependency out from Request Handler
* Rename metricsPlugin to Plugin
* Fix reviews
* Add types to .setup()
* Change types of TSVB
* Divide the plugin, its setup config and and entry point
* Get rid of @ts-ignore
* Add a server type to the CustomCoreSetup interface
* Revert kbn_vis_type settings
* Restructure public assets
* Move setup.js inner to the legacy.ts
* clean up
* fix PR commnets
* Add New Platform mocks for data plugin
* [Metric Vis] Shim new platform
* move metric_vis_controller to components folder
* fix PR comments
* change interpreter type for colorRange and font
* change interpreter type for colorRange and font
* Add disk space percentage to node listing
* Test modification for totalSpace
* Fix test mockup
* Add totalSpace to fixture
* Test fixup
* Remove trailing space per review suggestion
* More fixture updates
* More fixture update
* More fixture updates
* Update mock
* More fixture changes
* improving naming, add TSDoc
* re-genereate docs
* use response name in migration guide
* Apply suggestions from code review
Co-Authored-By: Josh Dover <me@joshdover.com>
* place docs near the related code
* re-generate docs
* mark code as example to reduce noise in http-service.md