Skip to content

Commit

Permalink
Merge branch 'main' into display-markers-for-scheduled-events-distrib…
Browse files Browse the repository at this point in the history
…ution-anomaly-charts
  • Loading branch information
rbrtj authored Sep 16, 2024
2 parents e60fc2a + 4405f94 commit 6932c44
Show file tree
Hide file tree
Showing 193 changed files with 5,915 additions and 2,330 deletions.
12 changes: 6 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ src/plugins/field_formats @elastic/kibana-data-discovery
packages/kbn-field-types @elastic/kibana-data-discovery
packages/kbn-field-utils @elastic/kibana-data-discovery
x-pack/plugins/fields_metadata @elastic/obs-ux-logs-team
x-pack/plugins/file_upload @elastic/kibana-gis @elastic/ml-ui
x-pack/plugins/file_upload @elastic/kibana-presentation @elastic/ml-ui
examples/files_example @elastic/appex-sharedux
src/plugins/files_management @elastic/appex-sharedux
src/plugins/files @elastic/appex-sharedux
Expand Down Expand Up @@ -583,11 +583,11 @@ packages/kbn-management/settings/types @elastic/kibana-management
packages/kbn-management/settings/utilities @elastic/kibana-management
packages/kbn-management/storybook/config @elastic/kibana-management
test/plugin_functional/plugins/management_test_plugin @elastic/kibana-management
packages/kbn-mapbox-gl @elastic/kibana-gis
x-pack/examples/third_party_maps_source_example @elastic/kibana-gis
src/plugins/maps_ems @elastic/kibana-gis
x-pack/plugins/maps @elastic/kibana-gis
x-pack/packages/maps/vector_tile_utils @elastic/kibana-gis
packages/kbn-mapbox-gl @elastic/kibana-presentation
x-pack/examples/third_party_maps_source_example @elastic/kibana-presentation
src/plugins/maps_ems @elastic/kibana-presentation
x-pack/plugins/maps @elastic/kibana-presentation
x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation
x-pack/plugins/observability_solution/metrics_data_access @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team
x-pack/packages/ml/agg_utils @elastic/ml-ui
x-pack/packages/ml/anomaly_utils @elastic/ml-ui
Expand Down
2 changes: 1 addition & 1 deletion docs/setup/access.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ For example:
* When {kib} is unable to connect to a healthy {es} cluster, errors like `master_not_discovered_exception` or `unable to revive connection` or `license is not available` errors appear.
* When one or more {kib}-backing indices are unhealthy, the `index_not_green_timeout` error appears.

For more information, refer to our https://www.elastic.co/blog/troubleshooting-kibana-health[walkthrough on troubleshooting Kibana Health].
You can find a Kibana health troubleshooting walkthrough in https://www.elastic.co/blog/troubleshooting-kibana-health[this blog] or in link:https://www.youtube.com/watch?v=AlgGYcpGvOA[this video].
6 changes: 6 additions & 0 deletions packages/kbn-check-mappings-update-cli/current_fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,12 @@
"entity-discovery-api-key": [
"apiKey"
],
"entity-engine-status": [
"filter",
"indexPattern",
"status",
"type"
],
"epm-packages": [
"additional_spaces_installed_kibana",
"es_index_patterns",
Expand Down
17 changes: 17 additions & 0 deletions packages/kbn-check-mappings-update-cli/current_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,23 @@
}
}
},
"entity-engine-status": {
"dynamic": false,
"properties": {
"filter": {
"type": "keyword"
},
"indexPattern": {
"type": "keyword"
},
"status": {
"type": "keyword"
},
"type": {
"type": "keyword"
}
}
},
"epm-packages": {
"properties": {
"additional_spaces_installed_kibana": {
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-doc-links/src/get_doc_links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
searchApplicationsSearch: `${ELASTICSEARCH_DOCS}search-application-client.html`,
searchLabs: `${SEARCH_LABS_URL}`,
searchLabsRepo: `${SEARCH_LABS_REPO}`,
semanticSearch: `${ELASTICSEARCH_DOCS}semantic-search.html`,
searchTemplates: `${ELASTICSEARCH_DOCS}search-template.html`,
semanticTextField: `${ELASTICSEARCH_DOCS}semantic-text.html`,
start: `${ENTERPRISE_SEARCH_DOCS}start.html`,
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-doc-links/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export interface DocLinks {
readonly searchApplicationsSearch: string;
readonly searchLabs: string;
readonly searchLabsRepo: string;
readonly semanticSearch: string;
readonly searchTemplates: string;
readonly semanticTextField: string;
readonly start: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-expandable-flyout/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export { ExpandableFlyout } from './src';
export { useExpandableFlyoutApi } from './src/hooks/use_expandable_flyout_api';
export { useExpandableFlyoutState } from './src/hooks/use_expandable_flyout_state';

export { type FlyoutState as ExpandableFlyoutState } from './src/state';
export { type FlyoutPanels as ExpandableFlyoutState } from './src/store/state';

export { ExpandableFlyoutProvider } from './src/provider';
export { withExpandableFlyoutProvider } from './src/with_provider';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,24 @@ import {
PREVIEW_SECTION_TEST_ID,
} from './test_ids';
import { TestProvider } from '../test/provider';
import { State } from '../state';
import { State } from '../store/state';

describe('PreviewSection', () => {
const context = {
right: {},
left: {},
preview: [
{
id: 'key',
const context: State = {
panels: {
byId: {
flyout: {
right: undefined,
left: undefined,
preview: [
{
id: 'key',
},
],
},
},
],
} as unknown as State;
},
};

const component = <div>{'component'}</div>;
const left = 500;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import {
openPreviewPanelAction,
openRightPanelAction,
previousPreviewPanelAction,
} from '../actions';
import { useDispatch } from '../redux';
} from '../store/actions';
import { useDispatch } from '../store/redux';
import { FlyoutPanelProps, type ExpandableFlyoutApi } from '../types';

export type { ExpandableFlyoutApi };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import { REDUX_ID_FOR_MEMORY_STORAGE } from '../constants';
import { useExpandableFlyoutContext } from '../context';
import { selectPanelsById, useSelector } from '../redux';
import { selectPanelsById, useSelector } from '../store/redux';

/**
* This hook allows you to access the flyout state, read open right, left and preview panels.
Expand Down
140 changes: 77 additions & 63 deletions packages/kbn-expandable-flyout/src/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from '@elastic/eui';
import { ExpandableFlyout } from '.';
import { TestProvider } from './test/provider';
import { State } from './state';
import { State } from './store/state';

export default {
component: ExpandableFlyout,
Expand Down Expand Up @@ -103,13 +103,15 @@ const registeredPanels = [

export const Right: Story<void> = () => {
const state: State = {
byId: {
memory: {
right: {
id: 'right',
panels: {
byId: {
memory: {
right: {
id: 'right',
},
left: undefined,
preview: undefined,
},
left: undefined,
preview: undefined,
},
},
};
Expand All @@ -126,15 +128,17 @@ export const Right: Story<void> = () => {

export const Left: Story<void> = () => {
const state: State = {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
panels: {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
},
preview: undefined,
},
preview: undefined,
},
},
};
Expand All @@ -151,19 +155,21 @@ export const Left: Story<void> = () => {

export const Preview: Story<void> = () => {
const state: State = {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
},
preview: [
{
id: 'preview1',
panels: {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
},
],
preview: [
{
id: 'preview1',
},
],
},
},
},
};
Expand All @@ -180,22 +186,24 @@ export const Preview: Story<void> = () => {

export const MultiplePreviews: Story<void> = () => {
const state: State = {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
},
preview: [
{
id: 'preview1',
panels: {
byId: {
memory: {
right: {
id: 'right',
},
{
id: 'preview2',
left: {
id: 'left',
},
],
preview: [
{
id: 'preview1',
},
{
id: 'preview2',
},
],
},
},
},
};
Expand All @@ -212,13 +220,15 @@ export const MultiplePreviews: Story<void> = () => {

export const CollapsedPushVsOverlay: Story<void> = () => {
const state: State = {
byId: {
memory: {
right: {
id: 'right',
panels: {
byId: {
memory: {
right: {
id: 'right',
},
left: undefined,
preview: undefined,
},
left: undefined,
preview: undefined,
},
},
};
Expand All @@ -232,15 +242,17 @@ export const CollapsedPushVsOverlay: Story<void> = () => {

export const ExpandedPushVsOverlay: Story<void> = () => {
const state: State = {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
panels: {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
},
preview: undefined,
},
preview: undefined,
},
},
};
Expand All @@ -254,15 +266,17 @@ export const ExpandedPushVsOverlay: Story<void> = () => {

export const DisableTypeSelection: Story<void> = () => {
const state: State = {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
panels: {
byId: {
memory: {
right: {
id: 'right',
},
left: {
id: 'left',
},
preview: undefined,
},
preview: undefined,
},
},
};
Expand Down
Loading

0 comments on commit 6932c44

Please sign in to comment.