Skip to content

Commit 00fdd91

Browse files
authored
[Streams] Move feature identify files out of data_management dir (#239534)
## Summary Move feature identify files out of data_management dir, this is done to avoid trigeering code reviews from obs-ux-logs management team.
1 parent db6da91 commit 00fdd91

23 files changed

+32
-32
lines changed

x-pack/platform/plugins/shared/streams_app/public/components/data_management/stream_detail_management/classic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import React from 'react';
88
import { i18n } from '@kbn/i18n';
99
import type { Streams } from '@kbn/streams-schema';
1010
import { EuiBadgeGroup, EuiCallOut, EuiFlexGroup, EuiSpacer, EuiToolTip } from '@elastic/eui';
11+
import { StreamDescription } from '../../stream_detail_features/stream_description';
1112
import { useStreamsAppParams } from '../../../hooks/use_streams_app_params';
1213
import { RedirectTo } from '../../redirect_to';
1314
import type { ManagementTabs } from './wrapper';
@@ -19,7 +20,6 @@ import { ClassicStreamBadge, LifecycleBadge } from '../../stream_badges';
1920
import { useStreamsDetailManagementTabs } from './use_streams_detail_management_tabs';
2021
import { StreamDetailDataQuality } from '../../stream_data_quality';
2122
import { StreamDetailSchemaEditor } from '../stream_detail_schema_editor';
22-
import { StreamDescription } from './stream_description';
2323

2424
const classicStreamManagementSubTabs = [
2525
'processing',

x-pack/platform/plugins/shared/streams_app/public/components/data_management/stream_detail_management/unmanaged_elasticsearch_assets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { i18n } from '@kbn/i18n';
99
import type { Streams } from '@kbn/streams-schema';
1010
import { EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiHorizontalRule, EuiSpacer } from '@elastic/eui';
1111
import type { IndexManagementLocatorParams } from '@kbn/index-management-shared-types';
12+
import { StreamFeatureConfiguration } from '../../stream_detail_features/stream_feature_configuration';
1213
import { useStreamsPrivileges } from '../../../hooks/use_streams_privileges';
13-
import { StreamFeatureConfiguration } from './stream_feature_configuration';
1414
import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch';
1515
import { useKibana } from '../../../hooks/use_kibana';
1616
import { ComponentTemplatePanel } from './component_template_panel';

x-pack/platform/plugins/shared/streams_app/public/components/data_management/stream_detail_management/wired_advanced_view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import { i18n } from '@kbn/i18n';
1010
import type { Streams } from '@kbn/streams-schema';
1111
import { isRoot } from '@kbn/streams-schema';
1212
import { EuiCallOut, EuiSpacer } from '@elastic/eui';
13-
import { StreamFeatureConfiguration } from './stream_feature_configuration';
13+
import { StreamFeatureConfiguration } from '../../stream_detail_features/stream_feature_configuration';
14+
import { StreamDescription } from '../../stream_detail_features/stream_description';
1415
import { IndexConfiguration } from './advanced_view/index_configuration';
1516
import { DeleteStreamPanel } from './advanced_view/delete_stream';
1617
import { ImportExportPanel } from './advanced_view/import_export';
1718
import { useStreamsPrivileges } from '../../../hooks/use_streams_privileges';
18-
import { StreamDescription } from './stream_description';
1919

2020
export function WiredAdvancedView({
2121
definition,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import {
1717
import { i18n } from '@kbn/i18n';
1818
import type { Streams } from '@kbn/streams-schema';
1919
import React from 'react';
20+
import { ConnectorListButton } from '../connector_list_button/connector_list_button';
2021
import { useStreamDescriptionApi } from './stream_description/use_stream_description_api';
21-
import { ConnectorListButton } from '../../connector_list_button/connector_list_button';
2222

2323
export interface AISummaryProps {
2424
definition: Streams.all.GetResponse;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import { Streams } from '@kbn/streams-schema';
1010
import { omit } from 'lodash';
1111
import { i18n } from '@kbn/i18n';
1212
import { useAbortController } from '@kbn/react-hooks';
13-
import { getFormattedError } from '../../../../util/errors';
14-
import { useAIFeatures } from '../../../stream_detail_significant_events_view/add_significant_event_flyout/generated_flow_form/use_ai_features';
15-
import { useUpdateStreams } from '../../../../hooks/use_update_streams';
16-
import { useKibana } from '../../../../hooks/use_kibana';
17-
import { useTimefilter } from '../../../../hooks/use_timefilter';
13+
import { useAIFeatures } from '../../stream_detail_significant_events_view/add_significant_event_flyout/generated_flow_form/use_ai_features';
14+
import { getFormattedError } from '../../../util/errors';
15+
import { useUpdateStreams } from '../../../hooks/use_update_streams';
16+
import { useKibana } from '../../../hooks/use_kibana';
17+
import { useTimefilter } from '../../../hooks/use_timefilter';
1818

1919
export const useStreamDescriptionApi = ({
2020
definition,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { i18n } from '@kbn/i18n';
99
import type { Streams, Feature } from '@kbn/streams-schema';
1010
import { EuiPanel, EuiText, EuiFlexGroup, EuiFlexItem, EuiButton, EuiSpacer } from '@elastic/eui';
1111
import { useStreamFeatures } from './stream_features/hooks/use_stream_features';
12-
import { useAIFeatures } from '../../stream_detail_significant_events_view/add_significant_event_flyout/generated_flow_form/use_ai_features';
13-
import { useStreamFeaturesApi } from '../../../hooks/use_stream_features_api';
12+
import { useAIFeatures } from '../stream_detail_significant_events_view/add_significant_event_flyout/generated_flow_form/use_ai_features';
13+
import { useStreamFeaturesApi } from '../../hooks/use_stream_features_api';
1414
import { StreamFeaturesFlyout } from './stream_features/stream_features_flyout';
1515
import { StreamFeaturesAccordion } from './stream_features/stream_features_accordion';
1616

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type { Condition } from '@kbn/streamlang';
1010
import type { Feature } from '@kbn/streams-schema';
1111
import { i18n } from '@kbn/i18n';
1212
import useToggle from 'react-use/lib/useToggle';
13-
import { EditableConditionPanel } from '../../shared/condition_display';
13+
import { EditableConditionPanel } from '../../data_management/shared';
1414

1515
export const FeatureDetailExpanded = ({
1616
feature,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import { conditionToESQL } from '@kbn/streamlang';
1717
import type { DiscoverAppLocatorParams } from '@kbn/discover-plugin/common';
1818
import { DISCOVER_APP_LOCATOR } from '@kbn/discover-plugin/common';
1919
import { useStreamFeatureEventsData } from './hooks/use_stream_feature_events_data';
20-
import { useKibana } from '../../../../hooks/use_kibana';
21-
import { useStreamDetail } from '../../../../hooks/use_stream_detail';
20+
import { useKibana } from '../../../hooks/use_kibana';
21+
import { useStreamDetail } from '../../../hooks/use_stream_detail';
2222

2323
export const FeatureEventsData = ({ feature }: { feature: Feature }) => {
2424
const chartBaseTheme = useElasticChartsTheme();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import type { Streams, Feature } from '@kbn/streams-schema';
99

1010
import React, { useMemo } from 'react';
11-
import { PreviewDataSparkPlot } from '../../../stream_detail_significant_events_view/add_significant_event_flyout/common/preview_data_spark_plot';
11+
import { PreviewDataSparkPlot } from '../../stream_detail_significant_events_view/add_significant_event_flyout/common/preview_data_spark_plot';
1212

1313
export const FeatureEventsSparkline = ({
1414
feature,

0 commit comments

Comments
 (0)