* Using license plugin to check if es security is enabled
* Adding unit tests and updating legacy health route
* Updating UI copy and docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* First draft migrate timelion to elastic-charts
* Some refactoring. Added brush event.
* Added title. Some refactoring
* Fixed some type problems. Added logic for yaxes function
* Fixed some types, added missing functionality for yaxes
* Fixed some types, added missing functionality for stack property
* Fixed unit test
* Removed unneeded code
* Some refactoring
* Some refactoring
* Fixed some remarks.
* Fixed some styles
* Added themes. Removed unneeded styles in BarSeries
* removed unneeded code.
* Fixed some comments
* Fixed vertical cursor across Timelion visualizations of a dashboad
* Fix some problems with styles
* Use RxJS instead of jQuery
* Remove unneeded code
* Fixed some problems
* Fixed unit test
* Fix CI
* Fix eslint
* Fix some gaps
* Fix legend columns
* Some fixes
* add 2 versions of Timeline app
* fix CI
* cleanup code
* fix CI
* fix legend position
* fix some cases
* fix some cases
* remove extra casting
* cleanup code
* fix issue with static
* fix header formatter
* fix points
* fix ts error
* Fix yaxis behavior
* Fix some case with yaxis
* Add deprecation message and update asciidoc
* Fix title
* some text improvements
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* Add new runtime types for parsing on client/server.
* Add more runtime types.
* Remove dead code.
* Mark parameter as unused.
* Improve typing for failed journey request function.
* Add new API functions, improve typing in a few others.
* Modify API calls to work with new screenshot_ref data.
* Fix untested refactor error.
* Add required fields to runtime type.
* Update typing in failed steps component.
* Adapt client to work with old screenshots as well as new screenshot_ref.
* Refactor composite code to reusable hook.
* Implement screenshot blocks endpoint.
* TEMP COMMIT.
* Add new runtime types for parsing on client/server.
* Add more runtime types.
* Remove dead code.
* Mark parameter as unused.
* Improve typing for failed journey request function.
* Add new API functions, improve typing in a few others.
* Modify API calls to work with new screenshot_ref data.
* Fix untested refactor error.
* Add required fields to runtime type.
* Update typing in failed steps component.
* Adapt client to work with old screenshots as well as new screenshot_ref.
* Refactor composite code to reusable hook.
* Implement screenshot blocks endpoint.
* Define runtime types for full-size screenshots.
* Delete dedicated screenshot and ref queries.
* Optimize screenshot endpoint by combining queries.
* Handle parsing error.
* Clean up screenshot/ref typings.
* Remove dead types. DRY a type out.
* Simplify types.
* Improve typing in step screenshot components.
* Prefer PNG to JPG for canvas composite op.
* Simplify and clean up some code.
* Remove reliance on `Ping` type, clean up types.
* Add a comment.
* Add a comment.
* Fix typing for `FailedStep` component.
* Standardize loading spinner sizes.
* Add comments to composite code.
* Remove unnecessary optional chaining.
* Reformat error string.
* Remove unneeded key from request return object.
* Add a comment to a return object explaining very large cache value.
* Make type annotation more accurate.
* Resolve some type and test errors.
* Clean up remaining type errors.
* Move type definitions to simplify imports.
* Simplify `PingTimestamp` interface.
* Refactor failing unit test to use RTL and actually test things.
* Add tests for new helper functions.
* Add a comment.
* Test `PingTimestamp` for screenshot ref data.
* Test `StepImageCaption` for ref data.
* Improve typing for step list column definitions.
* Harden a test.
* Extract code to avoid repeated declarations.
* Create centralized mock for `useCompositeImage`.
* Add test for ref to `StepScreenshotDisplay`.
* Add tests for `getJourneyDetails`.
* Extract search results wrapper to helper lib.
* Add tests for `getJourneyFailedSteps`.
* Add support for aggs to result helper wrapper.
* Write tests for `getJourneyScreenshot` and simplify type checking.
* Write tests for `getJourneyScreenshotBlocks`.
* Add new runtime types for parsing on client/server.
* Add more runtime types.
* Remove dead code.
* Mark parameter as unused.
* Improve typing for failed journey request function.
* Add new API functions, improve typing in a few others.
* Modify API calls to work with new screenshot_ref data.
* Fix untested refactor error.
* Add required fields to runtime type.
* Update typing in failed steps component.
* Adapt client to work with old screenshots as well as new screenshot_ref.
* Refactor composite code to reusable hook.
* Implement screenshot blocks endpoint.
* Define runtime types for full-size screenshots.
* Delete dedicated screenshot and ref queries.
* Optimize screenshot endpoint by combining queries.
* Handle parsing error.
* Clean up screenshot/ref typings.
* Remove dead types. DRY a type out.
* Simplify types.
* Improve typing in step screenshot components.
* Prefer PNG to JPG for canvas composite op.
* Simplify and clean up some code.
* Remove reliance on `Ping` type, clean up types.
* Add a comment.
* Add a comment.
* Fix typing for `FailedStep` component.
* Standardize loading spinner sizes.
* Add comments to composite code.
* Remove unnecessary optional chaining.
* Reformat error string.
* Remove unneeded key from request return object.
* Add a comment to a return object explaining very large cache value.
* Make type annotation more accurate.
* Resolve some type and test errors.
* Clean up remaining type errors.
* Move type definitions to simplify imports.
* Simplify `PingTimestamp` interface.
* Refactor failing unit test to use RTL and actually test things.
* Add tests for new helper functions.
* Add a comment.
* Test `PingTimestamp` for screenshot ref data.
* Test `StepImageCaption` for ref data.
* Improve typing for step list column definitions.
* Harden a test.
* Extract code to avoid repeated declarations.
* Create centralized mock for `useCompositeImage`.
* Add test for ref to `StepScreenshotDisplay`.
* Add tests for `getJourneyDetails`.
* Extract search results wrapper to helper lib.
* Add tests for `getJourneyFailedSteps`.
* Add support for aggs to result helper wrapper.
* Write tests for `getJourneyScreenshot` and simplify type checking.
* Write tests for `getJourneyScreenshotBlocks`.
* Simplify prop types for `FailedStep`.
* Remove unused type.
* Fix regression in step navigating for new style screenshots.
* Add type check function.
* Simplify and refactor merge issues.
* Add pruning effects for block cache.
* Handle pruning in redux store, write tests.
* Revert an unwanted change.
* Fix broken unit tests.
* Add throttle to reduce request volume.
* Resolve type issues.
* Add tests and fix a bug for journey screenshot route.
* Fix new test to provide expected values to tested route.
* Simplify blocks route.
* Add tests to blocks route.
* Remove unneeded function.
* Combine redundant selectors into single one.
* Add tests for composite image hook.
* Add a test for compose image.
* Fix bug found during code review.
* Remove double-bang assertions.
* Extract reducer logic to separate functions to improve readability.
* Remove `_source` clause from query.
* Fix issue where journey detail thumbnails would not update on page change.
* Fix https://github.com/elastic/kibana/issues/107308.
* Remove unneeded error skipping.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Here's the logic
* Added GenericEndpointInlineEditableTable
* small component test suggestions
- clarify relationship between onX props and logic actions
- assert on a few props (isLoading override and title ...rest)
* [opinionated] remove EndpointRoute generic
I'm not sure I see the benefit of DRYing this type - it makes it less clear that the prop is a function, and when all the other onX props are standard typescript function defs and repeated a bunch next to them, it seems a bit futile
In this scenario I'd rather us be explicit if repetitive (and be able to skim all props/actions at once) than obtuse but super DRY
* Fix reorderItems ts-ignores
- remove unnecessary hasReorderProps fn in favor of an early return
- destructure props
- remove confusing itemsFromResponse destructure in favor of a 2nd line
* Fix TODO where we don't actually set table loading state to true for the async call
* Fix ts-ignored
+ prefer 2nd const over confusing destructure
* [opinionated] clean up unnecessary separate types
since reorder props are optional anyway, I don't see a reason to separate them out into a completely different type
* Refactor stripIdAndCreatedAtFromItem to a util file, write tests, and attempt to address type TODO
- not really sure the type change is accurate, but ? should minimize the impact
* [opinionated] Remove saveAndCallback fn in favor of straightforward try/catch http calls
- easier to read and requires less jumping back and forth through the file to see what's happening in what order
- matches the flow/pattern of all our other logic files http calls
- it's actually 16 less total lines in any case heh
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
Co-authored-by: Constance Chen <constance.chen.3@gmail.com>
* migrate integration tests to the new es client
* error field does not exist on result
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [dev-utils/run] support --info flag when default log level changed
* update kbn/pm dist and remove excess --debug flag
Co-authored-by: spalger <spalger@users.noreply.github.com>
* [Reporting CSV] Fix scroll ID bug for deprecated csv export
* fix unit test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* check analyzed_fields exists
* update DataFrameAnalyticsConfig type to make analyzed_fields optional
* updating accessing analyzed_fields for type update
* add isClearable function for checking notifications index
* clear messages from multiple indices when messages stored in multiple indices
* only return clearable indices. update disable clear button check
* add unit test
* [Lens] Formats correctly the falsy values on the x axis
* Address PR comments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [ILM] Server to use new in_use_by property returned by ES API
* [ILM] Cleaning up the PR changes
* [ILM] Fixed functional test
* [ILM] Fixed 'modifiedDate' display in the table
* [ILM] Fixed sorting test
* [ILM] Removed a not needed function declaration
* [ILM] Added index templates flyout to the policies list
* [ILM] Added test for the index templates flyout
* [ILM] Added an a11y test for the index templates flyout
* Update x-pack/plugins/index_lifecycle_management/public/application/components/index_templates_flyout.tsx
Co-authored-by: debadair <debadair@elastic.co>
* [ILM] Fixed jest test and made 0 index templates to not open the flyout
* [ILM] Fixed a11y test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: debadair <debadair@elastic.co>