* Add properties tab to flyout
* Better id for i18n title
* Update i18n ids
* Fix test and styling
* Style changes, add support for collapsing array fields
* Add loading indicators
* Fix type check
* Fix another test
* Fix tests for pods
* Add link to node details page
* Only show the overlay when viewing hosts
* Take into account cores when showing cpu
* Make it easier to read
* Remove unnecessary cast
* Fix PR feedback
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Initial copy/paste of component tree
Only does linting changes and:
- lodash imports
- Replace unescaped apostrophes with '
- Fix ternary function call to if block:
if (isAdding) {
actions.onSchemaSetFormErrors(errors);
} else {
actions.onSchemaSetError({ flashMessages: { error: errors } });
}
* Remove local flash messages from component
* Update paths
- Adds getReindexJobRoute method to routes
- Repalces legacy Rails routes helper with hard-coded paths
* Add types and constants
* Update paths
* Replace local flash message logic with gobal
* Update with newly added types
Added here: https://github.com/elastic/kibana/pull/84822
* Update server routes
* Replace Rails http with kibana http
* Set percentage to 0 when updating
Without this, the IndexingStatus never shows.
* Fix route paths
* Fix server route validation
The empty object was breaking the UI since `schema.object({})` is actually an empty object. This is more explicit and correct.
* Add i18n
* Make sure i18n key is unique
* Lint
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
* Deprecating `xpack.reporting.index` setting
* Adding unit test
* Now with more standard deprecation messages
* Updating the xpack.reporting.index docs
* Fixing tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This replaces the log item API with a single-log-entry search strategy. This is used to fetch the data for display in the details flyout. There should be no significant visual difference to the user.
* Fix schema errors button
When migrated, the button was wrapping the link and it should be the other way around. This caused a blue link color.
* Remove redundant true value
* TIL EuiButtonTo
* modify file route to handle uploaded packge file paths
* update messaging
* improve tests
* fix bug and add test to check the version of the uploaded package before failing
* fix similar bug for getting package info from registry when a different version is uploaded
* Implement exceptions for ML rules
* Remove unused import
* Better implicit types
* Retrieve ML rule index pattern for exception field suggestions and autocomplete
* Add ML job logic to edit exception modal
* Remove unnecessary logic change
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Move schema types to shared
We use the Schema types in Workplace Search as well, so moving these to shared. Also, we have a component called IndexingStatus so reverting to the prefixed IIndexingStatus interface name
* Fix misspelled interface
* Endpoint: add `withSecurityContext` HOC + refactor endpoint policy edit lazy component to use it
* Endpoint: refactor Policy Details to separate form from view
* Endpoint: Enable the Redux store for the Policy form when displayed via Fleet
* Fleet: Allow partial package policy updates to be sent via `onChange()`
* Add IndexingStatusLogic
* Replace IndexingStatusFetcher with logic
* Refactor out unnecessary conditional
onComplete is not optional so these if blocks can be consolidated
* Misc styling - destructuring and typing
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Misc styling - imports
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Remove div
* Refactor test
* Replace method with string for statusPath
In ent-search, we use Rails helpers to generate paths. These were in the form of routes.whateverPath(). We passed these method to the IndexingStatus component to generate the app-specific rotues in the shared component.
In Kibana, we will not have these generators and should instead pass the path strings directly
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* remove unused parameter in "read" function
* add cache for uiSettings client
* add tests for ui_settings client caching
* address comments
* do not mutate ui_settings_client cache