* Adding multiple-isolated changes
* Working alias match tests
* Adding tests for alias match
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* ✨ Make threshold fit into view automatically
* 🐛 do not compute axis threshold extends if no threshold is present
* ✅ One more fix for 0-based extends and tests
* 📝 fix typo
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
The TSVB data view popover includes additional copy if the **Allow string indices in TSVB** Kibana setting is disabled (the default). This updates the copy to better align with changes in https://github.com/elastic/kibana/pull/110253.
* Fixes problem with one chart plotted for multiple y axis when migrationg from an old SO
* Add unit tests
* Address PR comments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Discover] redirect to main page on route not found discover error
* [Discover] remove services from dependencies
* [Discover] apply suggestions
* [Discover] return invalid link, but make it not clickable
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* fix for inactive color
* fix for inactive color
* using theme colors
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Make 1st and 2nd step of policy editor behave nicer:
* Fix UX when selected agent policy already has a limited package (like Endpoint)
* Avoid re-rendering step 1 when a new agent policy is selected in Step 2
* Remove legacy code intended to support in-line selection of a package within policy editor (i.e. "from" policy)
* Remove add integration from policy routing
* Placing back "from policy" logic and a few other fixes
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Rename method
We have to set the source from the sync logic file and this naming makes more sense
* Wire up Enable Synchronization toggle
* Remove sync controls from source settings
* Refactor to pass in contentSource as prop
Because we have a child logic file, SynchronizationLogic, we have to pass the content source into it for reading its values from SourceLogic. There are 3 ways to do this:
1. Access the source directly at SourceLogic.values.contentSource
- This how we normally do it. The problem here is that SourceLogic is not mounted when the default values are set in the reducers. This caused the UI to break and I could not find a way to safely mount SourceLogic before this logic file needed it.
2. Use the connect property and connect to Sourcelogic to access contentSource
- This actually worked great but our test helper does not work well with it and after an hour or so trying to make it work, I punted and decided to go with #3 below.
3. Pass the contentSource as a prop
- This works great and is easy to test. The only drawback is that all other components that use the SynchronizationLogic file have to also pass in the content source. This commit does just that.
* Add logic for Objects and assets view
* Add content to Objects and assets view
* Add fallback for `nextStart` that is in the past
This is slightly beyond the scope of this PR but trying to make the final PR more manageable.
There is an edge case where a running job lists the nextStart in the past if it is is running. After a lengthy Slack convo, it was decided to catch these in the UI and show a fallback string instead of something like “Next run 3 hours ago”
* reduce -> map
From previous PR feedback
* Fix casing on i18n ID
While Elasticsearch ingest pipelines require a node with the `ingest`
role, we don't need to include `ingest node` in the feature name.
There are no official plans, but the Elasticsearch team has discussed removing
the `ingest` role in the future. This also better aligns the Kibana UI with the
Elasticsearch docs.
The PR also makes some related changes to the Kibana docs.
Relates to https://github.com/elastic/elasticsearch/pull/70253.