Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] AIOps: Adds Pattern analysis tab in Discover #178916

Merged
Merged
Show file tree
Hide file tree
Changes from 134 commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
9b695eb
[ML] [AIOps] Pattern analysis tab in Discover
jgowdyelastic Mar 18, 2024
98d3262
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 19, 2024
0dba6b8
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 19, 2024
8661326
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 19, 2024
8e053d0
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 21, 2024
aa0b8cc
adding wider time range selection
jgowdyelastic Mar 22, 2024
a67ae4e
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 22, 2024
5c1dd84
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 27, 2024
6a1a025
fixing timefilter updates
jgowdyelastic Mar 28, 2024
6279c24
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 28, 2024
129e410
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 28, 2024
a77e001
types fixes after merge with main
jgowdyelastic Mar 28, 2024
4700b07
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Mar 28, 2024
7dd6e13
fixes after merge with main
jgowdyelastic Mar 28, 2024
792ae38
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Apr 2, 2024
f3676a4
allow no minimum time range
jgowdyelastic Apr 2, 2024
b601338
changing pattern count in tab
jgowdyelastic Apr 2, 2024
571f863
fixing options menu and discover tabs
jgowdyelastic Apr 4, 2024
8c0d25b
code clean up
jgowdyelastic Apr 4, 2024
3b4f47f
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Apr 4, 2024
342fd4d
code clean up
jgowdyelastic Apr 4, 2024
e7c6463
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Apr 4, 2024
3971813
fixing update on index change
jgowdyelastic Apr 4, 2024
fbff484
translations
jgowdyelastic Apr 4, 2024
5ae47c6
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Apr 5, 2024
18b9783
options menu refactor
jgowdyelastic Apr 5, 2024
b1caafe
fix race condition when switching index
jgowdyelastic Apr 5, 2024
667e4c1
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 8, 2024
976e3ab
fixing multiple refresh bug
jgowdyelastic Apr 9, 2024
7a663ef
clear pattern count on config change
jgowdyelastic Apr 9, 2024
55625f4
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 10, 2024
e6bb056
updating info when no text fields
jgowdyelastic Apr 10, 2024
953120d
removing run pattern analysis button from field list
jgowdyelastic Apr 10, 2024
e75a1f4
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Apr 12, 2024
8194d5d
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Apr 12, 2024
fef75c8
translations
jgowdyelastic Apr 12, 2024
d6e8f21
fixing unused closePopover
jgowdyelastic Apr 12, 2024
a0ec3b0
fixing duplicate id
jgowdyelastic Apr 12, 2024
a94c076
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 12, 2024
3f1de99
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 12, 2024
ee9e17c
fixing tests
jgowdyelastic Apr 12, 2024
683b07e
updating tests
jgowdyelastic Apr 12, 2024
eafe2e3
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Apr 12, 2024
a516436
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 12, 2024
c479cd7
adding constant
jgowdyelastic Apr 12, 2024
8d6e59d
testing bundle size
jgowdyelastic Apr 12, 2024
7a390c9
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 12, 2024
cd8deea
better loading state
jgowdyelastic Apr 12, 2024
dffa68c
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 15, 2024
e59c412
Merge branch 'pattern-analysis-tab-in-discover' of github.com:jgowdye…
jgowdyelastic Apr 15, 2024
84a6109
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 22, 2024
458ecff
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 22, 2024
6b650e6
fixing bundle size
jgowdyelastic Apr 22, 2024
50f6f18
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 22, 2024
5df238d
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 23, 2024
c5eb185
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 24, 2024
9fb9eb6
refactoring table header
jgowdyelastic Apr 24, 2024
2859bb0
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic Apr 25, 2024
8917824
adding multiselect buttons
jgowdyelastic Apr 25, 2024
1f12dd5
fixing cancel button
jgowdyelastic Apr 25, 2024
4720ebc
reverting unrelated change
jgowdyelastic Apr 25, 2024
8fc020a
reverting type change
jgowdyelastic Apr 25, 2024
19ae839
fixing behavour when adding filter
jgowdyelastic Apr 26, 2024
a5f3044
fixing filter in discover
jgowdyelastic Apr 26, 2024
e4f45ae
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic Apr 29, 2024
9324d33
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Apr 29, 2024
9dccb07
renaming log categorization for discover code
jgowdyelastic Apr 29, 2024
8853668
comments
jgowdyelastic Apr 29, 2024
83b4bc8
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 1, 2024
b355965
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 1, 2024
2679b87
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 1, 2024
0b91fe7
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 3, 2024
0f76a35
removing embeddable
jgowdyelastic May 3, 2024
d9e7986
fixing import paths
jgowdyelastic May 3, 2024
ee332cc
moving types file
jgowdyelastic May 3, 2024
ae16652
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 3, 2024
621e5d3
moving tabs to separate component
jgowdyelastic May 3, 2024
c1c4d54
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine May 3, 2024
7c3a4e9
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 7, 2024
d21e5e6
Merge branch 'pattern-analysis-tab-in-discover' of github.com:jgowdye…
jgowdyelastic May 7, 2024
410b82f
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 7, 2024
3fe28cb
include path after merge with main
jgowdyelastic May 7, 2024
701c7ef
fixing include
jgowdyelastic May 8, 2024
38b3696
switching to document view type icons
jgowdyelastic May 8, 2024
bd1ec93
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 8, 2024
5e258f6
tooltips
jgowdyelastic May 8, 2024
6c3322e
cleaning up types
jgowdyelastic May 8, 2024
4b1f27c
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 8, 2024
1fc4258
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine May 8, 2024
f2a4d29
aria labels
jgowdyelastic May 9, 2024
94dd2c4
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 9, 2024
e00867d
adding license checks
jgowdyelastic May 9, 2024
ee45170
updating saved search schema
jgowdyelastic May 9, 2024
a47003b
improving bundle size
jgowdyelastic May 9, 2024
baaaf6c
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 9, 2024
29db733
improve license check
jgowdyelastic May 9, 2024
efd5051
[CI] Auto-commit changed files from 'node scripts/jest_integration -u…
kibanamachine May 9, 2024
5580f5d
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 9, 2024
5647d7f
fixing tabs when field stats is disabled
jgowdyelastic May 9, 2024
618710a
fixing non time based data views
jgowdyelastic May 9, 2024
f02edf9
updating tests
jgowdyelastic May 9, 2024
a614c6d
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 9, 2024
da0a229
fixing bundle size
jgowdyelastic May 10, 2024
53021cf
updating mocks
jgowdyelastic May 10, 2024
1415bc3
fixing tests
jgowdyelastic May 10, 2024
93d1b1a
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 10, 2024
523b8e2
splitting data viz tests for trial and basic
jgowdyelastic May 10, 2024
ca1ad4f
fixing test
jgowdyelastic May 10, 2024
9ddf4ee
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 10, 2024
8c83f02
fixing test
jgowdyelastic May 12, 2024
9d17213
removing test which has been replaced by two different license versions
jgowdyelastic May 13, 2024
49a4f61
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 13, 2024
1328cfc
fixing test
jgowdyelastic May 13, 2024
869adb3
skipping flyout test
jgowdyelastic May 13, 2024
5067d36
Merge branch 'pattern-analysis-tab-in-discover' of github.com:jgowdye…
jgowdyelastic May 13, 2024
2e39d15
updating pattern analysis functional tests
jgowdyelastic May 13, 2024
d64593f
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 13, 2024
94b0193
fixing typo
jgowdyelastic May 13, 2024
02b5be0
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 14, 2024
4b9fb77
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 14, 2024
57f8bde
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 14, 2024
d5ed385
fixing refresh behaviour
jgowdyelastic May 15, 2024
3ea27fc
fixing random sampling rounding
jgowdyelastic May 15, 2024
ddc049e
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 15, 2024
c0a1daf
adding tooltip
jgowdyelastic May 15, 2024
c890187
remembering pagination
jgowdyelastic May 15, 2024
820b2be
adding field name to examples title
jgowdyelastic May 15, 2024
104b368
changing embedding origin
jgowdyelastic May 15, 2024
186f78b
renaming function
jgowdyelastic May 15, 2024
a7ddc2a
updating tests
jgowdyelastic May 15, 2024
1fa22ce
updating comment
jgowdyelastic May 15, 2024
a6b73ba
adding mounted check
jgowdyelastic May 15, 2024
3c2f13e
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 16, 2024
d17f7f1
fixing types and test
jgowdyelastic May 16, 2024
299621c
code clean up based on review
jgowdyelastic May 16, 2024
9118eaf
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 16, 2024
8ae58c2
Update x-pack/plugins/aiops/public/components/log_categorization/crea…
jgowdyelastic May 17, 2024
3fcb146
Update x-pack/plugins/aiops/public/components/log_categorization/crea…
jgowdyelastic May 17, 2024
2b115e2
Update x-pack/plugins/aiops/public/components/log_categorization/samp…
jgowdyelastic May 17, 2024
8721bf3
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 17, 2024
2ead31d
moving field select to separate menu
jgowdyelastic May 17, 2024
b632ed2
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 20, 2024
13e4b30
style changes
jgowdyelastic May 20, 2024
6213bf0
fixing types after merge with main
jgowdyelastic May 21, 2024
9962621
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 21, 2024
1aaa89f
type import change
jgowdyelastic May 21, 2024
245e557
Merge remote-tracking branch 'origin/main' into pattern-analysis-tab-…
jgowdyelastic May 21, 2024
10ef4fe
renaming onAddFilter
jgowdyelastic May 21, 2024
35aa588
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 21, 2024
1cc3aad
Merge branch 'pattern-analysis-tab-in-discover' of github.com:jgowdye…
jgowdyelastic May 21, 2024
4760aaa
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 22, 2024
49fcbba
Merge branch 'pattern-analysis-tab-in-discover' of github.com:jgowdye…
jgowdyelastic May 22, 2024
fd42267
truthy changes
jgowdyelastic May 22, 2024
ec9b46e
Merge branch 'main' into pattern-analysis-tab-in-discover
jgowdyelastic May 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@
*/

import React, { useEffect, useState } from 'react';
import { EuiPopoverFooter, EuiSpacer } from '@elastic/eui';
import { EuiPopoverFooter } from '@elastic/eui';
import { type FieldVisualizeButtonProps, getFieldVisualizeButton } from '../field_visualize_button';
import { FieldCategorizeButtonProps, getFieldCategorizeButton } from '../field_categorize_button';
import { ErrorBoundary } from '../error_boundary';

export type FieldPopoverFooterProps = FieldVisualizeButtonProps | FieldCategorizeButtonProps;
export type FieldPopoverFooterProps = FieldVisualizeButtonProps;

const FieldPopoverFooterComponent: React.FC<FieldPopoverFooterProps> = (props) => {
const [visualizeButton, setVisualizeButton] = useState<JSX.Element | null>(null);
const [categorizeButton, setCategorizeButton] = useState<JSX.Element | null>(null);

useEffect(() => {
getFieldVisualizeButton(props)
Expand All @@ -25,21 +23,9 @@ const FieldPopoverFooterComponent: React.FC<FieldPopoverFooterProps> = (props) =
// eslint-disable-next-line no-console
console.error(error);
});
getFieldCategorizeButton(props)
.then(setCategorizeButton)
.catch((error) => {
// eslint-disable-next-line no-console
console.error(error);
});
}, [props]);

return visualizeButton || categorizeButton ? (
<EuiPopoverFooter>
{visualizeButton}
{visualizeButton && categorizeButton ? <EuiSpacer size="s" /> : null}
{categorizeButton}
</EuiPopoverFooter>
) : null;
return visualizeButton ? <EuiPopoverFooter>{visualizeButton}</EuiPopoverFooter> : null;
};

export const FieldPopoverFooter: React.FC<FieldPopoverFooterProps> = (props) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ function UnifiedFieldListItemComponent({
contextualFields={workspaceSelectedFieldNames}
originatingApp={stateService.creationOptions.originatingApp}
uiActions={services.uiActions}
closePopover={() => closePopover()}
/>
)}
</>
Expand Down
1 change: 0 additions & 1 deletion packages/kbn-unified-field-list/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@kbn/ebt-tools",
"@kbn/shared-ux-button-toolbar",
"@kbn/field-utils",
"@kbn/ml-ui-actions",
"@kbn/visualization-utils",
"@kbn/esql-utils",
"@kbn/search-types"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"risk-engine-configuration": "aea0c371a462e6d07c3ceb3aff11891b47feb09d",
"rules-settings": "892a2918ebaeba809a612b8d97cec0b07c800b5f",
"sample-data-telemetry": "37441b12f5b0159c2d6d5138a494c9f440e950b5",
"search": "7598e4a701ddcaa5e3f44f22e797618a48595e6f",
"search": "4579401660a4089d5122b2fc8624825cb97b0480",
"search-session": "b2fcd840e12a45039ada50b1355faeafa39876d1",
"search-telemetry": "b568601618744720b5662946d3103e3fb75fe8ee",
"security-rule": "07abb4d7e707d91675ec0495c73816394c7b521f",
Expand Down
Loading