[8.x] 🌊 Codeownership restructure (#212337) (#212473)

# Backport

This will backport the following commits from `main` to `8.x`:
- [🌊 Codeownership restructure
(#212337)](https://github.com/elastic/kibana/pull/212337)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Joe
Reuter","email":"johannes.reuter@elastic.co"},"sourceCommit":{"committedDate":"2025-02-26T08:01:55Z","message":"🌊
Codeownership restructure (#212337)\n\nAs a first step towards making
parts of streams owned by different teams\nworking on it, this PR gives
some of the things to the logs UX team.\n\nThese routes and views are
clearly associated with the workstreams the\nlogs UX team moves forward.
It's still expected that a lot of changes\n(but probably not all) will
have at least a portion outside of this code\narea, but it's meant to
put a starting point into place to make the\nseparation stronger over
time.\n\nFor the API it's just about certain route handlers. For the UI,
the\nrelevant components are pulled into a separate directory to
encapsulate\nthem somewhat.\n\n---------\n\nCo-authored-by: Milton
Hultgren
<miltonhultgren@gmail.com>","sha":"d348f746ff907587e26931e9ab44b984861d04c5","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"🌊
Codeownership
restructure","number":212337,"url":"https://github.com/elastic/kibana/pull/212337","mergeCommit":{"message":"🌊
Codeownership restructure (#212337)\n\nAs a first step towards making
parts of streams owned by different teams\nworking on it, this PR gives
some of the things to the logs UX team.\n\nThese routes and views are
clearly associated with the workstreams the\nlogs UX team moves forward.
It's still expected that a lot of changes\n(but probably not all) will
have at least a portion outside of this code\narea, but it's meant to
put a starting point into place to make the\nseparation stronger over
time.\n\nFor the API it's just about certain route handlers. For the UI,
the\nrelevant components are pulled into a separate directory to
encapsulate\nthem somewhat.\n\n---------\n\nCo-authored-by: Milton
Hultgren
<miltonhultgren@gmail.com>","sha":"d348f746ff907587e26931e9ab44b984861d04c5"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212337","number":212337,"mergeCommit":{"message":"🌊
Codeownership restructure (#212337)\n\nAs a first step towards making
parts of streams owned by different teams\nworking on it, this PR gives
some of the things to the logs UX team.\n\nThese routes and views are
clearly associated with the workstreams the\nlogs UX team moves forward.
It's still expected that a lot of changes\n(but probably not all) will
have at least a portion outside of this code\narea, but it's meant to
put a starting point into place to make the\nseparation stronger over
time.\n\nFor the API it's just about certain route handlers. For the UI,
the\nrelevant components are pulled into a separate directory to
encapsulate\nthem somewhat.\n\n---------\n\nCo-authored-by: Milton
Hultgren
<miltonhultgren@gmail.com>","sha":"d348f746ff907587e26931e9ab44b984861d04c5"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
This commit is contained in:
Kibana Machine 2025-02-26 21:11:09 +11:00 committed by GitHub
parent 6ff38cb637
commit 61ff8872b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
81 changed files with 75 additions and 69 deletions

5
.github/CODEOWNERS vendored
View file

@ -1247,6 +1247,11 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql
/x-pack/solutions/observability/plugins/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
/x-pack/test/common/utils/server_route_repository @elastic/obs-knowledge-team
## Streams parts owned by Logs UX
/x-pack/platform/plugins/shared/streams/server/routes/streams/processing @elastic/obs-ux-logs-team
/x-pack/platform/plugins/shared/streams/server/routes/streams/schema @elastic/obs-ux-logs-team
/x-pack/platform/plugins/shared/streams_app/public/components/data_management @elastic/obs-ux-logs-team
# Infra Monitoring tests
/x-pack/test/api_integration/apis/infra @elastic/obs-ux-infra_services-team
/x-pack/test/functional/apps/infra @elastic/obs-ux-infra_services-team

View file

@ -0,0 +1 @@
Components in this folder are only relevant for data management concerns (routing, enrichment, schema, lifecycle)

View file

@ -32,7 +32,7 @@ import {
EMPTY_EQUALS_CONDITION,
alwaysToEmptyEquals,
emptyEqualsToAlways,
} from '../../util/condition';
} from '../../../util/condition';
export function ConditionEditor(props: {
condition: Condition;

View file

@ -8,7 +8,7 @@
import React from 'react';
import { EuiButton, EuiButtonEmpty, EuiFlexGroup, EuiToolTip, EuiToolTipProps } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { useDiscardConfirm } from '../../hooks/use_discard_confirm';
import { useDiscardConfirm } from '../../../hooks/use_discard_confirm';
interface ManagementBottomBarProps {
confirmButtonText?: string;

View file

@ -10,12 +10,12 @@ import { EuiButtonIcon, EuiContextMenu, EuiPopover, useGeneratedHtmlId } from '@
import { i18n } from '@kbn/i18n';
import { useBoolean } from '@kbn/react-hooks';
import { toMountPoint } from '@kbn/react-kibana-mount';
import { StreamsAppContextProvider } from '../streams_app_context_provider';
import { StreamsAppContextProvider } from '../../streams_app_context_provider';
import { SchemaEditorFlyout } from './flyout';
import { useSchemaEditorContext } from './schema_editor_context';
import { SchemaField } from './types';
import { UnpromoteFieldModal } from './unpromote_field_modal';
import { useKibana } from '../../hooks/use_kibana';
import { useKibana } from '../../../hooks/use_kibana';
export const FieldActionsCell = ({ field }: { field: SchemaField }) => {
const context = useKibana();

View file

@ -7,7 +7,7 @@
import { EuiBadge, EuiLink } from '@elastic/eui';
import React from 'react';
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
export const FieldParent = ({
parent,

View file

@ -19,7 +19,7 @@ import React, { useMemo } from 'react';
import { FormattedMessage } from '@kbn/i18n-react';
import { getAdvancedParameters } from '@kbn/streams-schema';
import { SchemaField } from '../types';
import { useKibana } from '../../../hooks/use_kibana';
import { useKibana } from '../../../../hooks/use_kibana';
const label = i18n.translate('xpack.streams.advancedFieldMappingOptions.label', {
defaultMessage: 'Advanced field mapping parameters',

View file

@ -10,7 +10,7 @@ import { EuiCallOut, EuiLink } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
import { RoutingDefinition } from '@kbn/streams-schema';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
import { useStreamsAppRouter } from '../../../../hooks/use_streams_app_router';
export const ChildrenAffectedCallout = ({
childStreams,

View file

@ -8,7 +8,7 @@ import { EuiFlexGroup, EuiFlexItem, EuiSelect } from '@elastic/eui';
import React, { useEffect } from 'react';
import { EcsRecommendation } from './ecs_recommendation';
import { FieldType } from '../field_type';
import { useKibana } from '../../../hooks/use_kibana';
import { useKibana } from '../../../../hooks/use_kibana';
import { EMPTY_CONTENT, FIELD_TYPE_MAP, FieldTypeOption } from '../constants';
import { MappedSchemaField, SchemaField } from '../types';

View file

@ -17,7 +17,7 @@ import {
import React from 'react';
import { i18n } from '@kbn/i18n';
import { WiredStreamDefinition } from '@kbn/streams-schema';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
import { useStreamsAppRouter } from '../../../../hooks/use_streams_app_router';
import { FieldParent } from '../field_parent';
import { FieldStatusBadge } from '../field_status';
import { FieldFormFormat, typeSupportsFormat } from './field_form_format';

View file

@ -10,11 +10,11 @@ import { css } from '@emotion/react';
import { i18n } from '@kbn/i18n';
import { EuiCallOut } from '@elastic/eui';
import { WiredStreamDefinition } from '@kbn/streams-schema';
import { useKibana } from '../../../hooks/use_kibana';
import { getFormattedError } from '../../../util/errors';
import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch';
import { useKibana } from '../../../../hooks/use_kibana';
import { getFormattedError } from '../../../../util/errors';
import { useStreamsAppFetch } from '../../../../hooks/use_streams_app_fetch';
import { PreviewTable } from '../../preview_table';
import { LoadingPanel } from '../../loading_panel';
import { LoadingPanel } from '../../../loading_panel';
import { MappedSchemaField, SchemaField, isSchemaFieldTyped } from '../types';
import { convertToFieldDefinitionConfig } from '../utils';

View file

@ -14,11 +14,11 @@ import {
import { isEqual, omit } from 'lodash';
import { useMemo, useCallback } from 'react';
import { useAbortController } from '@kbn/react-hooks';
import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch';
import { useKibana } from '../../../hooks/use_kibana';
import { useStreamsAppFetch } from '../../../../hooks/use_streams_app_fetch';
import { useKibana } from '../../../../hooks/use_kibana';
import { SchemaField, isSchemaFieldTyped } from '../types';
import { convertToFieldDefinitionConfig } from '../utils';
import { getFormattedError } from '../../../util/errors';
import { getFormattedError } from '../../../../util/errors';
export const useSchemaFields = ({
definition,

View file

@ -18,7 +18,7 @@ import {
getProcessorType,
} from '@kbn/streams-schema';
import { DetectedField, ProcessorDefinitionWithUIAttributes } from '../types';
import { useKibana } from '../../../hooks/use_kibana';
import { useKibana } from '../../../../hooks/use_kibana';
import { processorConverter } from '../utils';
export interface UseDefinitionReturn {

View file

@ -20,11 +20,11 @@ import { IHttpFetchError, ResponseErrorBody } from '@kbn/core/public';
import { APIReturnType } from '@kbn/streams-plugin/public/api';
import { i18n } from '@kbn/i18n';
import { flattenObjectNestedLast } from '@kbn/object-utils';
import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch';
import { useKibana } from '../../../hooks/use_kibana';
import { useStreamsAppFetch } from '../../../../hooks/use_streams_app_fetch';
import { useKibana } from '../../../../hooks/use_kibana';
import { DetectedField, ProcessorDefinitionWithUIAttributes } from '../types';
import { processorConverter } from '../utils';
import { useDateRange } from '../../../hooks/use_date_range';
import { useDateRange } from '../../../../hooks/use_date_range';
export type Simulation = APIReturnType<'POST /api/streams/{name}/processing/_simulate'>;
export type ProcessorMetrics =

View file

@ -23,7 +23,7 @@ import { useUnsavedChangesPrompt } from '@kbn/unsaved-changes-prompt';
import { css } from '@emotion/react';
import { isEmpty } from 'lodash';
import { UseDefinitionReturn, useDefinition } from './hooks/use_definition';
import { useKibana } from '../../hooks/use_kibana';
import { useKibana } from '../../../hooks/use_kibana';
import { RootStreamEmptyPrompt } from './root_stream_empty_prompt';
import { DraggableProcessorListItem } from './processors_list';
import { SortableList } from './sortable_list';

View file

@ -19,8 +19,8 @@ import { i18n } from '@kbn/i18n';
import { TimeRange } from '@kbn/es-query';
import { isEmpty } from 'lodash';
import { SampleDocument } from '@kbn/streams-schema';
import { useKibana } from '../../hooks/use_kibana';
import { StreamsAppSearchBar, StreamsAppSearchBarProps } from '../streams_app_search_bar';
import { useKibana } from '../../../hooks/use_kibana';
import { StreamsAppSearchBar, StreamsAppSearchBarProps } from '../../streams_app_search_bar';
import { PreviewTable } from '../preview_table';
import {
DocsFilterOption,
@ -28,8 +28,8 @@ import {
UseProcessingSimulatorReturn,
docsFilterOptions,
} from './hooks/use_processing_simulator';
import { AssetImage } from '../asset_image';
import { useDateRange } from '../../hooks/use_date_range';
import { AssetImage } from '../../asset_image';
import { useDateRange } from '../../../hooks/use_date_range';
interface ProcessorOutcomePreviewProps {
columns: TableColumn[];

View file

@ -11,7 +11,7 @@ import { EuiFormRow, EuiLink } from '@elastic/eui';
import { CodeEditor } from '@kbn/code-editor';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
import { useKibana } from '../../../../hooks/use_kibana';
import { useKibana } from '../../../../../hooks/use_kibana';
import { ProcessorFormState } from '../../types';
export const DissectPatternDefinition = () => {

View file

@ -29,7 +29,7 @@ import type { FindActionResult } from '@kbn/actions-plugin/server';
import { UseGenAIConnectorsResult } from '@kbn/observability-ai-assistant-plugin/public/hooks/use_genai_connectors';
import { useAbortController, useBoolean } from '@kbn/react-hooks';
import useObservable from 'react-use/lib/useObservable';
import { useKibana } from '../../../../hooks/use_kibana';
import { useKibana } from '../../../../../hooks/use_kibana';
import { GrokFormState, ProcessorFormState } from '../../types';
import { UseProcessingSimulatorReturn } from '../../hooks/use_processing_simulator';
import { useSimulatorContext } from '../../simulator_context';

View file

@ -37,7 +37,7 @@ import {
isGrokProcessor,
isDissectProcessor,
} from '../utils';
import { useDiscardConfirm } from '../../../hooks/use_discard_confirm';
import { useDiscardConfirm } from '../../../../hooks/use_discard_confirm';
import { ProcessorMetrics, UseProcessingSimulatorReturn } from '../hooks/use_processing_simulator';
import { ProcessorErrors, ProcessorMetricBadges } from './processor_metrics';
import { UseDefinitionReturn } from '../hooks/use_definition';

View file

@ -11,7 +11,7 @@ import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
import { useController, useFormContext, useWatch } from 'react-hook-form';
import { ProcessorType } from '@kbn/streams-schema';
import { useKibana } from '../../../hooks/use_kibana';
import { useKibana } from '../../../../hooks/use_kibana';
import { getDefaultFormState } from '../utils';
import { ProcessorFormState } from '../types';

View file

@ -8,7 +8,7 @@
import React from 'react';
import { EuiEmptyPrompt } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { AssetImage } from '../asset_image';
import { AssetImage } from '../../asset_image';
export const RootStreamEmptyPrompt = () => {
return (

View file

@ -22,7 +22,7 @@ import {
ProcessorFormState,
WithUIAttributes,
} from './types';
import { ALWAYS_CONDITION } from '../../util/condition';
import { ALWAYS_CONDITION } from '../../../util/condition';
const defaultGrokProcessorFormState: GrokFormState = {
type: 'grok',

View file

@ -8,8 +8,8 @@
import moment from 'moment';
import { IngestStreamGetResponse } from '@kbn/streams-schema';
import { DataStreamStatServiceResponse } from '@kbn/dataset-quality-plugin/public';
import { useKibana } from '../../../hooks/use_kibana';
import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch';
import { useKibana } from '../../../../hooks/use_kibana';
import { useStreamsAppFetch } from '../../../../hooks/use_streams_app_fetch';
export type DataStreamStats = DataStreamStatServiceResponse['dataStreamsStats'][number] & {
bytesPerDoc: number;

View file

@ -23,13 +23,13 @@ import {
} from '@kbn/index-lifecycle-management-common-shared';
import { i18n } from '@kbn/i18n';
import { useAbortController } from '@kbn/react-hooks';
import { useKibana } from '../../hooks/use_kibana';
import { useKibana } from '../../../hooks/use_kibana';
import { EditLifecycleModal, LifecycleEditAction } from './modal';
import { RetentionSummary } from './summary';
import { RetentionMetadata } from './metadata';
import { IngestionRate } from './ingestion_rate';
import { useDataStreamStats } from './hooks/use_data_stream_stats';
import { getFormattedError } from '../../util/errors';
import { getFormattedError } from '../../../util/errors';
function useLifecycleState({
definition,

View file

@ -20,13 +20,13 @@ import {
EuiText,
} from '@elastic/eui';
import { AreaSeries, Axis, Chart, Settings } from '@elastic/charts';
import { useKibana } from '../../hooks/use_kibana';
import { useKibana } from '../../../hooks/use_kibana';
import { DataStreamStats } from './hooks/use_data_stream_stats';
import { useStreamsAppFetch } from '../../hooks/use_streams_app_fetch';
import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch';
import { ingestionRateQuery } from './helpers/ingestion_rate_query';
import { formatBytes } from './helpers/format_bytes';
import { StreamsAppSearchBar } from '../streams_app_search_bar';
import { useDateRange } from '../../hooks/use_date_range';
import { StreamsAppSearchBar } from '../../streams_app_search_bar';
import { useDateRange } from '../../../hooks/use_date_range';
export function IngestionRate({
definition,

View file

@ -33,7 +33,7 @@ import {
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { LifecycleEditAction } from './modal';
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
import { DataStreamStats } from './hooks/use_data_stream_stats';
import { formatBytes } from './helpers/format_bytes';

View file

@ -55,9 +55,9 @@ import {
import { i18n } from '@kbn/i18n';
import { useBoolean } from '@kbn/react-hooks';
import useToggle from 'react-use/lib/useToggle';
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
import { useWiredStreams } from '../../hooks/use_wired_streams';
import { getFormattedError } from '../../util/errors';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
import { useWiredStreams } from '../../../hooks/use_wired_streams';
import { getFormattedError } from '../../../util/errors';
export type LifecycleEditAction = 'none' | 'dsl' | 'ilm' | 'inherit';

View file

@ -8,10 +8,10 @@ import React from 'react';
import { i18n } from '@kbn/i18n';
import { UnwiredStreamGetResponse } from '@kbn/streams-schema';
import { EuiCallOut, EuiFlexGroup, EuiListGroup, EuiText } from '@elastic/eui';
import { useStreamsAppParams } from '../../hooks/use_streams_app_params';
import { RedirectTo } from '../redirect_to';
import { useStreamsAppParams } from '../../../hooks/use_streams_app_params';
import { RedirectTo } from '../../redirect_to';
import { StreamDetailEnrichment } from '../stream_detail_enrichment';
import { useKibana } from '../../hooks/use_kibana';
import { useKibana } from '../../../hooks/use_kibana';
import { ManagementTabs, Wrapper } from './wrapper';
import { StreamDetailLifecycle } from '../stream_detail_lifecycle';

View file

@ -7,8 +7,8 @@
import React from 'react';
import { i18n } from '@kbn/i18n';
import { WiredStreamGetResponse } from '@kbn/streams-schema';
import { useStreamsAppParams } from '../../hooks/use_streams_app_params';
import { RedirectTo } from '../redirect_to';
import { useStreamsAppParams } from '../../../hooks/use_streams_app_params';
import { RedirectTo } from '../../redirect_to';
import { StreamDetailRouting } from '../stream_detail_routing';
import { StreamDetailEnrichment } from '../stream_detail_enrichment';
import { StreamDetailSchemaEditor } from '../stream_detail_schema_editor';

View file

@ -8,7 +8,7 @@
import { EuiButtonGroup, EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import React from 'react';
import { css } from '@emotion/css';
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
export type ManagementTabs = Record<
string,

View file

@ -20,8 +20,8 @@ import { WiredStreamGetResponse } from '@kbn/streams-schema';
import { css } from '@emotion/css';
import { cloneDeep } from 'lodash';
import React from 'react';
import { EMPTY_EQUALS_CONDITION } from '../../util/condition';
import { NestedView } from '../nested_view';
import { EMPTY_EQUALS_CONDITION } from '../../../util/condition';
import { NestedView } from '../../nested_view';
import { useRoutingState } from './hooks/routing_state';
import { CurrentStreamEntry } from './current_stream_entry';
import { NewRoutingStreamEntry } from './new_routing_stream_entry';

View file

@ -11,11 +11,11 @@ import { toMountPoint } from '@kbn/react-kibana-mount';
import { WiredStreamGetResponse, IngestUpsertRequest } from '@kbn/streams-schema';
import React from 'react';
import { useAbortController } from '@kbn/react-hooks';
import { useKibana } from '../../hooks/use_kibana';
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
import { emptyEqualsToAlways } from '../../util/condition';
import { useKibana } from '../../../hooks/use_kibana';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
import { emptyEqualsToAlways } from '../../../util/condition';
import { useRoutingState } from './hooks/routing_state';
import { getFormattedError } from '../../util/errors';
import { getFormattedError } from '../../../util/errors';
export function ControlBar({
definition,

View file

@ -9,7 +9,7 @@ import { EuiBreadcrumb, EuiBreadcrumbs, EuiFlexItem, EuiPanel, EuiText } from '@
import { i18n } from '@kbn/i18n';
import { WiredStreamGetResponse, getAncestorsAndSelf, isRoot } from '@kbn/streams-schema';
import React from 'react';
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
export function CurrentStreamEntry({ definition }: { definition: WiredStreamGetResponse }) {
const router = useStreamsAppRouter();

View file

@ -9,7 +9,7 @@ import { DragStart, DropResult, euiDragDropReorder } from '@elastic/eui';
import { IToasts, Toast } from '@kbn/core/public';
import { RoutingDefinition, WiredStreamGetResponse } from '@kbn/streams-schema';
import React, { useCallback, useEffect } from 'react';
import { useDebounced } from '../../../util/use_debounce';
import { useDebounced } from '../../../../util/use_debounce';
export interface ChildUnderEdit {
isNew: boolean;

View file

@ -15,9 +15,9 @@ import { css } from '@emotion/css';
import { WiredStreamGetResponse } from '@kbn/streams-schema';
import React from 'react';
import { useUnsavedChangesPrompt } from '@kbn/unsaved-changes-prompt';
import { useKibana } from '../../hooks/use_kibana';
import { useStreamsAppFetch } from '../../hooks/use_streams_app_fetch';
import { StreamDeleteModal } from '../stream_delete_modal';
import { useKibana } from '../../../hooks/use_kibana';
import { useStreamsAppFetch } from '../../../hooks/use_streams_app_fetch';
import { StreamDeleteModal } from '../../stream_delete_modal';
import { useRoutingState } from './hooks/routing_state';
import { ControlBar } from './control_bar';
import { PreviewPanel } from './preview_panel';

View file

@ -8,7 +8,7 @@
import { EuiText, EuiLoadingSpinner, EuiIconTip } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import React from 'react';
import { AsyncSample } from '../../hooks/queries/use_async_sample';
import { AsyncSample } from '../../../hooks/queries/use_async_sample';
const matchText = i18n.translate('xpack.streams.streamRouting.previewMatchesText', {
defaultMessage: 'Approximate match rate',

View file

@ -17,14 +17,14 @@ import { i18n } from '@kbn/i18n';
import { WiredStreamGetResponse } from '@kbn/streams-schema';
import { css } from '@emotion/css';
import React from 'react';
import { useKibana } from '../../hooks/use_kibana';
import { useAsyncSample } from '../../hooks/queries/use_async_sample';
import { useKibana } from '../../../hooks/use_kibana';
import { useAsyncSample } from '../../../hooks/queries/use_async_sample';
import { PreviewTable } from '../preview_table';
import { StreamsAppSearchBar } from '../streams_app_search_bar';
import { StreamsAppSearchBar } from '../../streams_app_search_bar';
import { useRoutingState } from './hooks/routing_state';
import { PreviewPanelIllustration } from './preview_panel_illustration';
import { PreviewMatches } from './preview_matches';
import { useDateRange } from '../../hooks/use_date_range';
import { useDateRange } from '../../../hooks/use_date_range';
export function PreviewPanel({
definition,

View file

@ -8,7 +8,7 @@
import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { css } from '@emotion/css';
import React from 'react';
import { AssetImage } from '../asset_image';
import { AssetImage } from '../../asset_image';
export function PreviewPanelIllustration({ children }: { children: React.ReactNode }) {
return (

View file

@ -19,8 +19,8 @@ import { DraggableProvided } from '@hello-pangea/dnd';
import { i18n } from '@kbn/i18n';
import { RoutingDefinition, isDescendantOf } from '@kbn/streams-schema';
import React from 'react';
import { useStreamsAppRouter } from '../../hooks/use_streams_app_router';
import { alwaysToEmptyEquals } from '../../util/condition';
import { useStreamsAppRouter } from '../../../hooks/use_streams_app_router';
import { alwaysToEmptyEquals } from '../../../util/condition';
import { ConditionEditor } from '../condition_editor';
export function RoutingStreamEntry({

View file

@ -12,7 +12,7 @@ import { useStreamsAppFetch } from '../../hooks/use_streams_app_fetch';
import { useStreamsAppParams } from '../../hooks/use_streams_app_params';
import { EntityDetailViewWithoutParams, EntityViewTab } from '../entity_detail_view';
import { StreamDetailDashboardsView } from '../stream_detail_dashboards_view';
import { StreamDetailManagement } from '../stream_detail_management';
import { StreamDetailManagement } from '../data_management/stream_detail_management';
import { StreamDetailOverview } from '../stream_detail_overview';
export function StreamDetailView() {