* Reenabling token auth provider test
* Re-enabling saml test
* Adding a SAML test to ensure we can't reuse refresh token after 60 seconds
* Adding token auth provider re-use refresh token after 60 seconds test
* Removing the reusuing refresh tokens after timeout
* [ftr] flatten GenericProviderTypes to fix "log" types
* [ftr/remote] typscript-ify
* remove webdriver types, since they're version 3 and we're using version 4
* simplify initWebDriver() function
* keep jest tests in the functional tests as js, mixing jest and mocha types doesn't work
* Adding legend controls
* Adding url support and finishing feature
* Moving config to right side; setting min/max to data boundries when deactivating auto
* Removing legend from max and min labels
* removing uneseccary unshift(0)
* Change autobounds behavior
## Summary
(closes#32512, closes#32508)
This fixes a bug where element stats was causing a failure due to not every element being an `expressionRenderable` all the time... when first added, `TimeFilter` is `expressionContext` and should be considered `pending`.
This PR also fixes an issue where `resolvedArgs` was not being reset between workpad loads, causing element stats to be compounded.
Co-authored-by: Spencer <email@spalger.com>
* [chromedriver] use cache from packer if available and current
* force yarn install
* Revert "force yarn install"
This reverts commit ac253111ce.
* force yarn install without short circuit
* Revert "force yarn install without short circuit"
This reverts commit caf8b09be9.
* Add user_action app with API endpoint for tracking user actions.
* Track 'Create rollup job' action and publish it in the collector.
* Extract fetchUserActions into a generic helper inside of xpack/server/lib.
* Add trackUserRequest helper.
* wip: add autocomplete kueryFilterBar.update endpoints with query.
* Create indexPattern on job change. Value is autocompleted
* Mask unrelated swimlanes on filter apply
* Only show relevant viewBy swimlane
* reload viewBy swimlane when view By change is relevant to filter
* handle various query types when building filteredFields list
* remove deprecated code from old filter bar
* Show error callout when invalid filter syntax
* remove dependency on deprecated import var
* remove all left over apm dependencies
* persist filter on refresh
* Create initial filter bar placeholder dynamically
* add description text when filter active
* switch to relevant viewBy fieldname on filter
* recalculate placeholder on job change
* Create tests for all components
* View by dropdown only contains relevant fields for filter
* fix localization message noInfluencers component
* Move indexPattern to state and viewBy option filtering to utils
* remove unnecessary setState when setting viewBy for filter
* Use preloaded jobs from mlJobService to get influencers
* Only filter viewByOptions if valid field
* use kql and move to components dir
* move filter bar to public/components/
* Initial work for new server side export API
* Revert UI changes, API only in this PR
* Remove whitespace at top of export.asciidoc
* Add tests around limitations
* Add comment
* Convert some files to typescript
* Move Boom.boomify to where the errors are created
* Use Boom.badRequest for now
* Fix lint issue
* Move files
* Update tests
* Add functional test
* Export all documents by default
* Update test assertions
* Use ~10000 saved objects in export api integration test
* Convert route to typescript, add content-type response header
* Move some tests to api_integration
* Use new sort and rename functions/variables
* Move tests to API integration
* Cleanup and finalize api integration tests
* Make type or objects required but not both in the same call
* Add spaces / security tests
* Add noTypeOrObjects to security / spaces tests
* Use json-stable-stringify and add tests for export ordering
* Address self feedback, add without kibana index test
* Only allow export API to export index-pattern, dashboard, visualization and search type objects
* Make import export size configurable and fix broken tests
* Fix broken tests
* Move test config to mock server
* Add more typescript types instead of using any
* Convert request from GET to POST
* Fix saved objects mixin test
* Update src/legacy/server/saved_objects/lib/export.ts
Co-Authored-By: mikecote <mikecote@users.noreply.github.com>
* Apply PR feedback
* Fix lint error
* Update test snapshots due to jest upgrade
* Add error handling for bulkGet
* Split export API into two endpoints
* Update src/legacy/server/saved_objects/routes/export_by_type.test.ts
Co-Authored-By: mikecote <mikecote@users.noreply.github.com>
* Update docs/api/saved-objects/export_by_type.asciidoc
Co-Authored-By: mikecote <mikecote@users.noreply.github.com>
* Update docs/api/saved-objects/export_by_type.asciidoc
Co-Authored-By: mikecote <mikecote@users.noreply.github.com>
* Update src/legacy/server/saved_objects/routes/export_objects.test.ts
Co-Authored-By: mikecote <mikecote@users.noreply.github.com>
* Apply PR feedback
* MockServer -> createMockServer
* Revert back to single API
* Re-apply PR feedback
* Some basic types for top level legacy plugin registration
* put typescript interface closer to implementation
* Use default export, you have to
* fix build and address code review comments
* [APM] fixes vertical clipping bug in StickyProperties by adding extra bottom padding to the property value
* [APM] replaces previous vertical clipping bug fix in StickyProperties by removing the extra padding & increasing the line-height to 1.2 times the font-size
- This adds more thorough error handling to retrieving annotations from the server to avoid breaking Anomaly Explorer when there's a problem retrieving annotations. The UI will silently fail and hide the annotations table if for whatever reasons annotations cannot be retrieved for the selected jobs (this could be permissions or setup related if e.g. the annotations feature index/aliases are not present). This is now the same behavior like in Single Metric Viewer. The browser console will still output an error message. This fixes an error scenario where Anomaly Explorer would fail to load if a user upgraded to 6.6 because the backend task wasn't run yet to create the annotation index/aliases.
- Disables annotations feature in Single Metric Viewer if annotations fail to load.
- Use componentDidUpdate and an update check instead of deprecated componentWillUpdate for updating the annotations table in jobs management.
* Reordering existing data and adding new ECS fields.
* Removed agent
The agent is moved its own object.
* Support 3rd level properties
* Add support for nested properties like `error.custom` and `transaction.custom`
* Bumped fontsize
* Decreased first column min-width
* Updated snapshot
* Update tests
* Fixed translation label
* Reordering existing data and adding new ECS fields.
* Removed agent
The agent is moved its own object.
* Support 3rd level properties
* Add support for nested properties like `error.custom` and `transaction.custom`
* Bumped fontsize
* Decreased first column min-width
* Updated snapshot
* Update tests
* Fixed translation label
* Decreased fontsize
On second thought, the fontsize was too large. Now matches Discover.
Fixes https://github.com/elastic/kibana/issues/32375?
In a quick debugging session with @pickypg we're guessing that the esArchiver writing documents to Elasticsearch at the same time that Kibana queried for usage status caused the circuit breaker exception seen in https://github.com/elastic/kibana/issues/32375, so in an effort to avoid that in the future I'm turning the batch size of the esArchiver down to 300 documents. If this error shows back up again in the future I'll revert this change like I did in 5c7b4790a0.
Depending on how the index pattern was loaded (saved object client vs
angular service) it might be represented by different object instances
in the panelIndexPatternMapping. We don't care which one we return, as
long as there is only one instance per ID.
* [services/pipeline_list] wait for loadingPipelines is not displayed
* run x-pack-ciGroup2 x20 times
* Revert "run x-pack-ciGroup2 x20 times"
This reverts commit 1fb4077c2c.
* Minor change to stack monitoring tooltips
In the Linux documentation and source code, cgroups are always referred to without
capitalization and should be here as well.
* Update Jest snapshots
* Update more test fixtures
* gridData id changed to i
* to.equal panel_state.ts
* clarifying return values in panel_utils
*fixed imports in dpc
consitency across id -> i for gridData, improvment made in dashboard_panel.tsx
changed DashboardPanelUiProps onPanelFocused and onPanelBlurred (panel: PanelState) to (panel: string) resolved Problems in TS
* Resolved ts testing type errors with DashboardPanelUiProps in dashboard_panel.tsx
Updated snapshot for dashboard_panel.test.tsx
* Code review from Emma with changes partial PanelState and defining size_x and size_y to numbers
adding comment to clarify panel.panelIndex.toString()
* test commit to take in Emmas feedback and show the panel_utils and types.ts modified to show panelIndex string | number
reverting panel_utils and types.ts changes with panelIndex, keeping other changes from Emmas suggestions
* Fixed panel_utils and panel_utils test to create updatedPanel object instead of mutation
Revert mutation in panel utils
removed ts-ignore statements in __tests__/panel_state.ts
* [APM] fixes#18144 by setting the container min-height to the tab with the largest rendered height
* [APM] moved HeightRetainer into its own shared component module