## Summary
Adding `functional_search` suite with a set of test for the search
solution navigation. But this suite will also grow to test search
solution pages that do not require the enterprise search node.
### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
## 📓 Summary
Closes#193319Closes#193320
This work is part of the effort to progressively deprecate the existing
Logs Stream feature.
Changes taken on this PR consist of:
- Create a new uiSettings `observability:enableLogsStream` which
defaults to `false` on the stateful/cloud deployments and is not
available in serverless ones (still, defaults to `false` behind the
scene).
- When `observability:enableLogsStream` is `false`, the Logs Stream page
route is not registered, and neither is its deep link for global search.
- When `observability:enableLogsStream` is `false`, the panels list on
Dashboard won't show anymore the option `Logs Stream (Deprecated)` to
prevent usage of this embeddable in new dashboards. The embeddable is
still registered for retro-compatibility with active dashboards, and it
has now a callout explaining the status of this embeddable
(unmaintained/deprecated).
- Rename logs ML to "Logs Anomalies" and "Logs Categories".
Other minor improvements regard:
- Remove duplicate Xstate utils and use the relative package instead.
- Remove the duplicated `useBoolean` hook used in the deprecation
callout.
- Sync deep links registration with available routes through a single
`getLogsRoutes` util.
## 🎥 Recordings
### Logs Stream app removed
https://github.com/user-attachments/assets/f4173294-8789-4abd-9972-29c9b7c197ed
### Logs Stream dashboard panel entry removed
https://github.com/user-attachments/assets/7f99ca2a-c030-4867-b976-8fdc1df09d29
### Logs Stream app removed from project nav
https://github.com/user-attachments/assets/de51bdd6-820a-4c03-8b64-fb1a6ced0a12
### Embeddable deprecation callout
<img width="949" alt="Screenshot 2024-10-02 at 10 22 09"
src="https://github.com/user-attachments/assets/99fd5554-004b-45e4-81db-cb23947e210e">
### Unavailable setting in serverless
https://github.com/user-attachments/assets/91bf6c37-0845-4918-a485-b6250bbd96bf
---------
Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mike Birnstiehl <114418652+mdbirnstiehl@users.noreply.github.com>
## Summary
Removing search home usage from serverless search and enterprise search.
The search home page project is on hold while we re-assess requirements.
Until we know when we are starting that back up I'm removing the feature
flagged usage to simplify other work. When we spin this back up usage
will likely be different anyway with other projects like onboarding and
the updating navigation refactor in enterprise_search.
---------
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
<strike>Depends on https://github.com/elastic/kibana/issues/193526,
WON'T FIX</strike>
Fixes https://github.com/elastic/kibana/issues/192803
Fixes https://github.com/elastic/kibana/issues/191509
This PR updates the nav hierarchy for stateful/cloud and changes the
`accordion` to `panelOpener`. The menu items have been updated according
to the Figma file and the discussions happening in this
[issue](https://github.com/elastic/kibana/issues/192050). I took a video
below of how the new navigation looks like with the new changes
https://github.com/user-attachments/assets/e73c8dd9-b674-4146-bcde-443490569502
## What was changed
- AI & ML menu is removed and split into
- `AI Assistant`
- `Machine learning`: this menu was already present in the footer, it
was moved in the body (after Infrastucture)
- `Applications` now opens a `panelOpener` instead of an `accordion`
- Synthetics was moved to a new section
- “User Experience” was renamed to “User experience”
- `Infrastucture` now opens a `panelOpener` instead of an `accordion`
- Universal Profiling was moved to a separate section below
- Metrics Explorer was renamed to Metrics explorer
- `Machine learning` now opens a `panelOpener` instead of an `accordion`
- `Supplied Configurations` was added under the Machine learning >
Anomaly Detection section.
- The machine learning `link:
'securitySolutionUI:machine_learning-landing'` was completely removed.
Clicking on the `Machine learning` link will slide out the panel instead
(same behavior with clicking on the icon). More details about why I
removed this
[here](https://github.com/elastic/kibana/pull/192805#issuecomment-2359368851)
- Use sentence/case for the menu items
- `Other tools` now opens a `panelOpener` instead of an `accordion`
- Logs anomalies was added here
- Logs categories was added here
- Visualize library was added
- Clicking on the 1st level menu items (Applications, Infrastructure,
Machine learning, Other tools) toggles the panel on the right
(arrowRight).
- The icon was changed from the four small squares to the right-facing
caret
- The sub-nav menu slides out to the right whenever the label OR the
icon are clicked
- `Getting started` in the footer was renamed to `Add data`
- `Data Set Quality` was added under `Stack Management > Data` section
below `Index Management`
## Functional Tests
Some tests have been added that test:
- toggling of the panel when clicking on the link button
- `AI assistant` changes
- `Infrastructure` changes
- `Other Tools` changes
- `Machine Learning` changes
## What this PR doesn't do
I faced some issues with the footer, so footer will be separately
handled in this [issue](https://github.com/elastic/kibana/issues/192865)
---------
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
## Summary
This PR adds experimental features to the integration_assistant plugin.
I used the fleet and security solutions plugins as references, and
implemented them exactly as they have. Currently nothing is actually
using this.
To be able to utilize this, add
`xpack.integration_assistant.enableExperimental: ['testFeature']` to the
config.
Tested by adding to the config and verifying correct output in console
via [test
logs](74ddf3786e (diff-177cfac6e94662a2089f6c56000726e1a1924f9222caaf8bcb1312a7583c110eR60)).
## Summary
Close https://github.com/elastic/kibana-team/issues/1017
This PR removes the unused Cloud Chat functionality from Kibana. The
chat was not used for some time. Moreover, we've seen some issues with
it where users saw it when it wasn't expected. Given the absence of
automated tests and the fact that the feature is no longer needed, we
are removing it to improve the overall maintainability and reliability
of the codebase. This will also decrease the amount of code loaded for
trial users of Kibana in cloud making the app slightly faster.
## Summary
What I tried before pushing
1. Better specificity - Couldn't get it just right (due to the dom
structure)
1. Changing dom structure - Couldn't do that how I would like, due to
the structure of `.tsx` file
So, I went with adding a service method that simply filters down by two
table dropdowns, instead of one.
_Sadly I spend most of my time with the specificity (different css
combinators), so lesson learned there_.
Also, cleaned up the test code to simply call the service method and
nothing more.
### Note
~~Will probably drop the other added service method
(`openEditFlyoutByRowNumber`)~~ ✅
Resolves: https://github.com/elastic/kibana/issues/194662
Fixing `getRowIndicatorProvider should render log.level row indicators on Surrounding documents page` by waiting a bit longer for the table to be rendered.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [@elastic/charts](https://togithub.com/elastic/elastic-charts) |
dependencies | major | [`66.1.1` ->
`67.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/66.1.1/67.0.0)
|
---
### Breaking changes
Elastic-charts theme API for line and area charts has changed:
- the `point.visible` type for line and area charts is now a union
between `'always' | 'never' | 'auto'`. Always and Never will replace the
previous boolean configuration, `auto` instead will provide a logic to
show the points only of the distance between consecutive points is
bigger than the `pointVisibilityMinDistance`.
- the isolatedPoint style for line and area doesn't contain the `radius`
parameter anymore. The radius is derived from the `line.strokeWidth`
parameter.
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
## Summary
Test suite for LogsDB in Kibana
Adding tests for the following scenarios:
* [x] All Lens operations (aggs) should work fine with a LogsDB stream
* Mixed index scenarios
* [x] LogsDB stream (upgraded from regular stream)
* [x] LogsDB stream without `host.name` field in the mapping
* [x] LogsDB stream (upgraded from regular stream) + regular index
* [x] LogsDB stream (upgraded from regular stream) + TSDB stream
* [x] LogsDB stream (upgraded from regular stream) + another LogsDB
stream
* [x] LogsDB stream (upgraded from regular stream) + TSDB stream
downsampled
* [x] Data stream (downgraded from LogsDB stream)
* [x] Data stream without `host.name` field in the mapping
* [x] Data stream (downgraded from LogsDB stream) + regular index
* [x] Data stream (downgraded from LogsDB stream) + TSDB stream
* [x] Data stream (downgraded from LogsDB stream) + another LogsDB
stream
* [x] Data stream (downgraded from LogsDB stream) + TSDB stream
downsampled
For the mixed scenario suite the following tests are performed:
* Create a date histogram vs `count(bytes)`
* same test but using the `utc_time` field rather than `@timestamp`
* Create a chart with an annotation layer
* same test but using the `utc_time` for both data and annotation layer
* use the `host.name`, `utc_time`, `@timestamp` as extra field in the
annotation tooltip
* Create a visualization with ES|QL using `STATS`
---------
Co-authored-by: dej611 <dej611@gmail.com>
`v95.11.0`⏩`v95.12.0-backport.0`
> [!note]
> A few fun highlights from this release:
> - Content within `EuiDataGrid`, `EuiBasicTable`, and
`EuiInMemoryTable`, when manually selected/highlighted by users, should
now more cleanly copy and paste into various spreadsheet apps
> - `EuiProvider` will now detect the user's system-level dark or light
mode and default to that if no `colorMode` prop is passed manually
_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_
---
## [`v95.12.0`](https://github.com/elastic/eui/releases/v95.12.0)
- Enhanced `EuiDataGrid` and `EuiBasic/InMemoryTable` to clean content
newlines/tabs when users copy and paste from their tabular data
([#8019](https://github.com/elastic/eui/pull/8019))
- Updated `EuiResizableButton` with a new `accountForScrollbars` prop
([#8021](https://github.com/elastic/eui/pull/8021))
- Updated `EuiProvider` to inherit from the user's OS/system light/dark
mode setting if a `colorMode` prop has not been passed
([#8026](https://github.com/elastic/eui/pull/8026))
**Bug fixes**
- Fixed `EuiDatePicker`'s `onClear` button to not appear when the input
is `disabled` ([#8020](https://github.com/elastic/eui/pull/8020))
- Fixed several `EuiDataGrid` row height bugs:
([#8025](https://github.com/elastic/eui/pull/8025))
- Fixed row heights not recalculating when
`rowHeightOptions.lineHeight`, `gridStyles.fontSize`, or
`gridStyles.cellPadding` changed
- Fixed incorrect height calculations for `rowHeightOptions.rowHeights`
with `lineCount`s
- Fixed control column content to align better with multi-line row
heights, as well as custom line-heights
##
[`v95.12.0-backport.0`](https://github.com/elastic/eui/releases/v95.12.0-backport.0)
**This is a backport release only intended for use by Kibana.**
**Bug fixes**
- Fixed `EuiProvider`'s system color mode detection causing errors
during server-side rendering
([#8040](https://github.com/elastic/eui/pull/8040))
- Fixed an `EuiDataGrid` rendering bug that was causing bouncing
scrollbar issues ([#8041](https://github.com/elastic/eui/pull/8041))
## 📓 Summary
Closes https://github.com/elastic/logs-dev/issues/165
This work introduces a Summary column as a replacement for the Document
one for the Discover logs contextual experience.
> We also decided to port this change as a replacement for the
**resource** and **content** virtual columns in Logs Explorer to have a
better alignment between the 2 apps.
## 🎥 Demo
https://github.com/user-attachments/assets/3dfca483-768e-471c-8735-d5fc8bbd5d00
## 💡 Reviewer hints
I left notes through the changes to help answer some questions.
The notable changes on this PR are:
- Rename `Document` column to `Summary`.
- Refactor `resource` and `content` virtual columns into a single
`Summary` column, which replaces the default Summary content for the
logs' contextual experience.
- Provide support for the plugin services to the context awareness
profiles.
- Disable virtual columns (clean up will go in a follow-up work) in Logs
Explorer and rely on the Summary column as the default selection.
---------
Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
`v95.10.1`⏩`v95.11.0`
> [!note]
> The bulk of this release is **EuiDataGrid**. The component has been
fully converted to Emotion, and several UX changes have been made to
data cell actions. We recommend QA testing any data grid(s) that have
custom styles applied to them.
_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_
---
## [`v95.11.0`](https://github.com/elastic/eui/releases/v95.11.0)
- Updated `EuiText`, `EuiTextColor`, and `EuiTextAlign` with a new
`component` prop that allows changing the default rendered `<div>`
wrapper to a `<span>` or `<p>` tag.
([#7993](https://github.com/elastic/eui/pull/7993))
- Updated `EuiDataGrid`'s cell actions to always consistently be
left-aligned, regardless of text content alignment
([#8011](https://github.com/elastic/eui/pull/8011))
- Increased `EuiDataGrid`'s cell actions hover zone to reduce UX
friction when mousing over from the grid cell to its actions
([#8011](https://github.com/elastic/eui/pull/8011))
**Bug fixes**
- Fixed `EuiPopover` to correctly inherit from `EuiProvider`'s
`componentDefaults.EuiPortal.insert`
([#8003](https://github.com/elastic/eui/pull/8003))
- Fixed push `EuiFlyoutResizable`s to not potentially block scrollbars
on outside content ([#8010](https://github.com/elastic/eui/pull/8010))
- Fixed an `EuiDataGrid` bug where the `setCellProps` callback passed by
`renderCellValue` was not correctly applying custom `data-test-subj`s
([#8011](https://github.com/elastic/eui/pull/8011))
**Accessibility**
- Updated the `EuiBasicTable` actions button's `aria-label` by adding a
reference to the current row
([#7994](https://github.com/elastic/eui/pull/7994))
**CSS-in-JS conversions**
- Converted `EuiDataGrid`'s toolbar controls to Emotion
([#7997](https://github.com/elastic/eui/pull/7997))
- Removed `$euiDataGridPopoverMaxHeight`
- Converted `EuiDataGrid` to Emotion
([#7998](https://github.com/elastic/eui/pull/7998))
- Removed `$euiZDataGrid`
- Removed `$euiZHeaderBelowDataGrid`
- Converted `EuiDataGrid`'s `gridStyle`s to Emotion; Removed the
following Sass variables and mixins:
([#8006](https://github.com/elastic/eui/pull/8006))
- `$euiDataGridCellPaddingS`
- `$euiDataGridCellPaddingM`
- `$euiDataGridCellPaddingL`
- `$euiDataGridVerticalBorder`
- `$euiDataGridPrefix`
- `$euiDataGridStyles`
- `@euiDataGridSelector`
- `@euiDataGridStyles`
- Converted `EuiDataGrid`'s cell popover, actions, and focus outline to
Emotion; Removed the following Sass variables and mixins:
([#8011](https://github.com/elastic/eui/pull/8011))
- `$euiZDataGridCellPopover`
- `@euiDataGridCellFocus`
- Converted `EuiDataGrid`'s row, header, and footer cells to Emotion;
Removed the following Sass variables and mixins:
([#8013](https://github.com/elastic/eui/pull/8013))
- `$euiDataGridColumnResizerWidth`
- `@euiDataGridRowCell`
- `@euiDataGridHeaderCell`
- `@euiDataGridFooterCell`
## Summary
Renames the text-based-editor to esql-editor
I tried to also rename components, data-test-subj, classNames and files.
My focus is mostly on the plugin and package of the esql editor
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Closes https://github.com/elastic/kibana/issues/145454
This PR allows users with a dashboard with an expanded (maximized) panel
to be shared to other users via url or the share modal link. To
implement this, the expanded panel Id is added to the url:
`/app/dashboard/{dashboardID}/{expandedPanelID}_g()_a()`
### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
Co-authored-by: Hannah Mudge <hannah.wright@elastic.co>