* Add “Actions” table header to tables
- Also adds missing i18n to SourcesTable
- Replaces bespoke TableHeader component with EUI comonents
- TableHeader is only used in one other place, GroupUsersTable, and that component itself is no longer used. Will delete both in a separate PR
* Refactor ViewContentHeader and ContentSection
Before using EuiTitle for sizing, we used conditional headings. We now only need to know if this is the top-level ViewContentHeader or nested in a ContentSection. ContentSections will use h3 and the top-level ViewContentHeader will use h2. The Personal Dashboard does not have an h1 tag, so we will add an h1 in the sidebar on those pages.
* Add some i18n
* Change headings to be semantically correct
- Removed unnecessary strong tag from heading
- Replaces instances of EuiText wrapping headings with EuiTitle
- For the Content Source Overview, spans were used for chldren of h6’s since h6 has special styling and there is no h7
* Add labels
* Hide Action header from Personal dashboard org sources
* Fix icon label
AXE was complaining because the text (name of the source) was the same as the alt text. Added ‘ logo’ to differentiate
* - Configured Sources list
- Connect instance heading
Also removes unused imports from 16d089acfd (diff-a4761afc86544a299d0129b749e3001625f5b194b95ebc31303824f8f95f4381)
Will create a separate PR to clean up this code more.
* Add roles to Personal Dashboard
* Update Platinum Feature badge for a11y
After discussion, it was determined to remove all custon styles and use the 'accent' built-in color for this badge
* Fix failing tests
* Flip boolean from isPersonal to isOrganization
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* New types
* Add crawlDomainValidationToResult to crawler utils
* Add domainValidationStateToPanelColor and domainValidationFailureResultChange to add domain utils
* New ValidationStateIcon component
* New ValidationStepPanel component
* New AddDomainValidation component
* Add AddDomainValidation to AddDomainForm
* Updates to AddDomainLogic to support multi-step validation
* i18n-itize all text
* Update AddDomainFormSubmitButton to use new allowSubmit selector
* Added displayValidation selector to AddDomainLogic
* Clean up AddDomainLogic tests
* Clean-up crawlDomainValidationToResult tests
* Clean-up AddDomainForm tests
* Clean-up ValidationStepPanel component and tests
* Clean-up AddDomainLogic tests
* Destructure index API request bodies consistently.
* Remove unnecessary calls to encodeURIComponent on the server.
* Migrate routes to handleEsError. Delete wrapEsError helpers. Remove unused isEsError and parseEsError dependencies. Remove isEsError from es_ui_shared.
* Update tests and migrate API integration tests.
* Clarify test details in CCR README. Update Index Management README with steps for testing Cloud-managed index templates and steps for testing indices and data streams that contain special characters.
* add version to csv params
* fix ts
* fix api tests
* use kibana version from packageInfo
* use kibana version from packageInfo
* clean up ide warnings
* utility to log and set a default params version
* fix baseparams ts
* update snapshot
* check version in enqueue job
* add temporary ts-ignore for canvas
* clarify comment
* fix hardcoded version in png_pdf_panel
* clarify the UNVERSIONED_VERSION variable with a comment
* fix canvas jest test
* fix ts in example app
* fix types
* send version param to canvas util for job params
* update jest snapshot
* Update utils.test.ts
* fix snapshot
* remove browserTimezone and version from integration boilerplate
* wip ensure version is always populated in job params inside of the service
* wip2
* wip3
* wip4
* wip5
* wip6
* update note
* update example plugin
* wip7
* improve tests
* fix dynamic job params
* better testing
* improve enqueue_job test
* more tests
* fix types
* fix types
* fix example ts
* simplify props
* fix test
* --wip-- [skip ci]
* consolidate baseparams back into one interface
* fix rison encoding of apiClient param
* clean up
* reorganize imports
* back out functional change
* fix 400 error in download csv
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Stop tracking line numbers
* Updated api docs
* Fix type error and update tests
* wrap label in encodeURIComponent for the links
* Update docs after encodeUriComponent change
* 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>