= ({
+ 'data-test-subj': dataTestSubj = 'unifiedFieldListSidebar__toggle',
+ isSidebarCollapsed,
+ buttonSize,
+ onChange,
+}) => {
+ // TODO: replace with new Eui icons once available
+ return (
+
+ onChange(false),
+ },
+ ]
+ : [
+ {
+ label: i18n.translate('unifiedFieldList.fieldListSidebar.collapseSidebarButton', {
+ defaultMessage: 'Hide sidebar',
+ }),
+ iconType: 'menuLeft',
+ 'data-test-subj': `${dataTestSubj}-collapse`,
+ onClick: () => onChange(true),
+ },
+ ]),
+ ]}
+ />
+
+ );
+};
diff --git a/packages/kbn-unified-field-list/src/hooks/use_sidebar_toggle.test.tsx b/packages/kbn-unified-field-list/src/hooks/use_sidebar_toggle.test.tsx
new file mode 100644
index 0000000000000..16ee451400c6c
--- /dev/null
+++ b/packages/kbn-unified-field-list/src/hooks/use_sidebar_toggle.test.tsx
@@ -0,0 +1,104 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
+ * Side Public License, v 1.
+ */
+
+import { renderHook, act } from '@testing-library/react-hooks';
+import { useSidebarToggle } from './use_sidebar_toggle';
+import * as localStorageModule from 'react-use/lib/useLocalStorage';
+
+jest.spyOn(localStorageModule, 'default');
+
+describe('UnifiedFieldList useSidebarToggle', () => {
+ const stateService = {
+ creationOptions: {
+ originatingApp: 'test',
+ localStorageKeyPrefix: 'this',
+ },
+ };
+
+ beforeEach(() => {
+ (localStorageModule.default as jest.Mock).mockClear();
+ });
+
+ it('should toggle correctly', async () => {
+ const storeMock = jest.fn();
+ (localStorageModule.default as jest.Mock).mockImplementation(() => {
+ return [false, storeMock];
+ });
+
+ const { result } = renderHook(useSidebarToggle, {
+ initialProps: {
+ stateService,
+ },
+ });
+
+ expect(result.current.isSidebarCollapsed).toBe(false);
+
+ act(() => {
+ result.current.onToggleSidebar(true);
+ });
+
+ expect(result.current.isSidebarCollapsed).toBe(true);
+ expect(storeMock).toHaveBeenCalledWith(true);
+
+ act(() => {
+ result.current.onToggleSidebar(false);
+ });
+
+ expect(result.current.isSidebarCollapsed).toBe(false);
+ expect(storeMock).toHaveBeenLastCalledWith(false);
+ });
+
+ it('should restore collapsed state and expand from it', async () => {
+ const storeMock = jest.fn();
+ (localStorageModule.default as jest.Mock).mockImplementation(() => {
+ return [true, storeMock];
+ });
+
+ const { result } = renderHook(useSidebarToggle, {
+ initialProps: {
+ stateService,
+ },
+ });
+
+ expect(result.current.isSidebarCollapsed).toBe(true);
+
+ act(() => {
+ result.current.onToggleSidebar(false);
+ });
+
+ expect(result.current.isSidebarCollapsed).toBe(false);
+ expect(storeMock).toHaveBeenCalledWith(false);
+ });
+
+ it('should not persist if local storage key is not defined', async () => {
+ const storeMock = jest.fn();
+ (localStorageModule.default as jest.Mock).mockImplementation(() => {
+ return [false, storeMock];
+ });
+
+ const { result } = renderHook(useSidebarToggle, {
+ initialProps: {
+ stateService: {
+ creationOptions: {
+ originatingApp: 'test',
+ localStorageKeyPrefix: undefined,
+ },
+ },
+ },
+ });
+
+ expect(result.current.isSidebarCollapsed).toBe(false);
+
+ act(() => {
+ result.current.onToggleSidebar(true);
+ });
+
+ expect(result.current.isSidebarCollapsed).toBe(true);
+ expect(storeMock).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/kbn-unified-field-list/src/hooks/use_sidebar_toggle.ts b/packages/kbn-unified-field-list/src/hooks/use_sidebar_toggle.ts
new file mode 100644
index 0000000000000..b12c7dc7dae95
--- /dev/null
+++ b/packages/kbn-unified-field-list/src/hooks/use_sidebar_toggle.ts
@@ -0,0 +1,64 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
+ * Side Public License, v 1.
+ */
+
+import { useCallback, useState, useMemo } from 'react';
+import useLocalStorage from 'react-use/lib/useLocalStorage';
+import type { UnifiedFieldListSidebarContainerStateService } from '../types';
+
+/**
+ * Hook params
+ */
+export interface UseSidebarToggleParams {
+ /**
+ * Service for managing the state
+ */
+ stateService: UnifiedFieldListSidebarContainerStateService;
+}
+
+/**
+ * Hook result type
+ */
+export interface UseSidebarToggleResult {
+ isSidebarCollapsed: boolean;
+ onToggleSidebar: (isSidebarCollapsed: boolean) => void;
+}
+
+/**
+ * Hook for managing sidebar toggle state
+ * @param stateService
+ */
+export const useSidebarToggle = ({
+ stateService,
+}: UseSidebarToggleParams): UseSidebarToggleResult => {
+ const [initialIsSidebarCollapsed, storeIsSidebarCollapsed] = useLocalStorage(
+ `${stateService.creationOptions.localStorageKeyPrefix ?? 'unifiedFieldList'}:sidebarClosed`, // as legacy `discover:sidebarClosed` key
+ false
+ );
+ const [isSidebarCollapsed, setIsSidebarCollapsed] = useState(
+ initialIsSidebarCollapsed ?? false
+ );
+
+ const onToggleSidebar = useCallback(
+ (isCollapsed) => {
+ setIsSidebarCollapsed(isCollapsed);
+ if (stateService.creationOptions.localStorageKeyPrefix) {
+ storeIsSidebarCollapsed(isCollapsed);
+ }
+ },
+ [
+ storeIsSidebarCollapsed,
+ setIsSidebarCollapsed,
+ stateService.creationOptions.localStorageKeyPrefix,
+ ]
+ );
+
+ return useMemo(
+ () => ({ isSidebarCollapsed, onToggleSidebar }),
+ [isSidebarCollapsed, onToggleSidebar]
+ );
+};
diff --git a/packages/kbn-unified-field-list/src/types.ts b/packages/kbn-unified-field-list/src/types.ts
index 76997c73176b3..dad321dbe56b3 100755
--- a/packages/kbn-unified-field-list/src/types.ts
+++ b/packages/kbn-unified-field-list/src/types.ts
@@ -107,6 +107,8 @@ export type OverrideFieldGroupDetails = (
export type TimeRangeUpdatesType = 'search-session' | 'timefilter';
+export type ButtonAddFieldVariant = 'primary' | 'toolbar';
+
export type SearchMode = 'documents' | 'text-based';
export interface UnifiedFieldListSidebarContainerCreationOptions {
@@ -116,7 +118,12 @@ export interface UnifiedFieldListSidebarContainerCreationOptions {
originatingApp: string;
/**
- * Your app name: "discover", "lens", etc. If not provided, sections state would not be persisted.
+ * Pass `true` to enable the compressed view
+ */
+ compressed?: boolean;
+
+ /**
+ * Your app name: "discover", "lens", etc. If not provided, sections and sidebar toggle states would not be persisted.
*/
localStorageKeyPrefix?: string;
@@ -125,6 +132,16 @@ export interface UnifiedFieldListSidebarContainerCreationOptions {
*/
timeRangeUpdatesType?: TimeRangeUpdatesType;
+ /**
+ * Choose how the bottom "Add a field" button should look like. Default `primary`.
+ */
+ buttonAddFieldVariant?: ButtonAddFieldVariant;
+
+ /**
+ * Pass `true` to make the sidebar collapsible. Additionally, define `localStorageKeyPrefix` to persist toggle state.
+ */
+ showSidebarToggleButton?: boolean;
+
/**
* Pass `true` to skip auto fetching of fields existence info
*/
diff --git a/packages/kbn-unified-field-list/tsconfig.json b/packages/kbn-unified-field-list/tsconfig.json
index 78ea71ca44344..f60d203786439 100644
--- a/packages/kbn-unified-field-list/tsconfig.json
+++ b/packages/kbn-unified-field-list/tsconfig.json
@@ -29,6 +29,7 @@
"@kbn/shared-ux-utility",
"@kbn/discover-utils",
"@kbn/ebt-tools",
+ "@kbn/shared-ux-button-toolbar",
],
"exclude": ["target/**/*"]
}
diff --git a/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx b/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx
index 62b04533c2a41..cf280767e0d4b 100644
--- a/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx
+++ b/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx
@@ -21,7 +21,6 @@ import {
SEARCH_FIELDS_FROM_SOURCE,
SHOW_MULTIFIELDS,
} from '@kbn/discover-utils';
-import { SIDEBAR_CLOSED_KEY } from '../../application/main/components/layout/discover_layout';
import { LocalStorageMock } from '../local_storage_mock';
import { DiscoverServices } from '../../build_services';
import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public';
@@ -73,9 +72,7 @@ export const services = {
docLinks: { links: { discover: {} } },
theme,
},
- storage: new LocalStorageMock({
- [SIDEBAR_CLOSED_KEY]: false,
- }) as unknown as Storage,
+ storage: new LocalStorageMock({}) as unknown as Storage,
data: {
query: {
timefilter: {
diff --git a/src/plugins/discover/public/application/context/components/action_bar/action_bar.tsx b/src/plugins/discover/public/application/context/components/action_bar/action_bar.tsx
index 5cbb72f0602ee..747cd68837545 100644
--- a/src/plugins/discover/public/application/context/components/action_bar/action_bar.tsx
+++ b/src/plugins/discover/public/application/context/components/action_bar/action_bar.tsx
@@ -156,7 +156,7 @@ export function ActionBar({
{!isSuccessor && showWarning && }
{!isSuccessor && showWarning && }
- {!isSuccessor && }
+
);
}
diff --git a/src/plugins/discover/public/application/context/context_app.scss b/src/plugins/discover/public/application/context/context_app.scss
index 13593a7ed32dd..19ae9a7471302 100644
--- a/src/plugins/discover/public/application/context/context_app.scss
+++ b/src/plugins/discover/public/application/context/context_app.scss
@@ -17,8 +17,4 @@
&__cell--highlight {
background-color: tintOrShade($euiColorPrimary, 90%, 70%);
}
-
- .euiDataGridRowCell.euiDataGridRowCell--firstColumn {
- padding: 0;
- }
}
diff --git a/src/plugins/discover/public/application/context/context_app.tsx b/src/plugins/discover/public/application/context/context_app.tsx
index 19a5058638392..355c82417f632 100644
--- a/src/plugins/discover/public/application/context/context_app.tsx
+++ b/src/plugins/discover/public/application/context/context_app.tsx
@@ -10,7 +10,8 @@ import React, { Fragment, memo, useEffect, useRef, useMemo, useCallback } from '
import './context_app.scss';
import classNames from 'classnames';
import { FormattedMessage } from '@kbn/i18n-react';
-import { EuiText, EuiPage, EuiPageBody, EuiSpacer } from '@elastic/eui';
+import { EuiText, EuiPage, EuiPageBody, EuiSpacer, useEuiPaddingSize } from '@elastic/eui';
+import { css } from '@emotion/react';
import { cloneDeep } from 'lodash';
import { DataView, DataViewField } from '@kbn/data-views-plugin/public';
import { useExecutionContext } from '@kbn/kibana-react-plugin/public';
@@ -215,6 +216,8 @@ export const ContextApp = ({ dataView, anchorId, referrer }: ContextAppProps) =>
};
};
+ const titlePadding = useEuiPaddingSize('m');
+
return (
{fetchedState.anchorStatus.value === LoadingStatus.FAILED ? (
@@ -235,12 +238,16 @@ export const ContextApp = ({ dataView, anchorId, referrer }: ContextAppProps) =>
-
-
+
- {!!interceptedWarnings?.length && (
- <>
-
-
- >
- )}
-
- {loadingFeedback()}
-
+
+ {!!interceptedWarnings?.length && (
+ <>
+
+
+ >
+ )}
+
+ {loadingFeedback()}
+
{isLegacy && rows && rows.length !== 0 && (
)}
-
-
+
+
+
);
}
+
+const WrapperWithPadding: React.FC = ({ children }) => {
+ const padding = useEuiPaddingSize('s');
+
+ return (
+
+ {children}
+
+ );
+};
diff --git a/src/plugins/discover/public/application/doc/components/doc.tsx b/src/plugins/discover/public/application/doc/components/doc.tsx
index 83c2c08eafa2e..5bf79863ecfbe 100644
--- a/src/plugins/discover/public/application/doc/components/doc.tsx
+++ b/src/plugins/discover/public/application/doc/components/doc.tsx
@@ -50,7 +50,7 @@ export function Doc(props: DocProps) {
values: { id: props.id },
})}
-
+
{reqState === ElasticRequestState.NotFoundDataView && (
time;
(services.data.query.queryString.getDefaultQuery as jest.Mock).mockReturnValue({
@@ -77,6 +73,9 @@ async function mountComponent(
(searchSourceInstanceMock.fetch$ as jest.Mock).mockImplementation(
jest.fn().mockReturnValue(of({ rawResponse: { hits: { total: 2 } } }))
);
+ (localStorageModule.default as jest.Mock).mockImplementation(
+ jest.fn(() => [prevSidebarClosed, jest.fn()])
+ );
const stateContainer = getDiscoverStateMock({ isTimeBased: true });
diff --git a/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx b/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx
index 58c23aa561e12..3402bfbce1bcc 100644
--- a/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx
+++ b/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx
@@ -6,17 +6,18 @@
* Side Public License, v 1.
*/
import './discover_layout.scss';
-import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
+import React, { useCallback, useEffect, useMemo, useRef } from 'react';
import {
- EuiButtonIcon,
EuiFlexGroup,
EuiFlexItem,
EuiHideFor,
EuiPage,
EuiPageBody,
EuiPanel,
- EuiSpacer,
+ useEuiBackgroundColor,
+ useEuiTheme,
} from '@elastic/eui';
+import { css } from '@emotion/react';
import { i18n } from '@kbn/i18n';
import { METRIC_TYPE } from '@kbn/analytics';
import classNames from 'classnames';
@@ -52,11 +53,6 @@ import { DiscoverHistogramLayout } from './discover_histogram_layout';
import { ErrorCallout } from '../../../../components/common/error_callout';
import { addLog } from '../../../../utils/add_log';
-/**
- * Local storage key for sidebar persistence state
- */
-export const SIDEBAR_CLOSED_KEY = 'discover:sidebarClosed';
-
const SidebarMemoized = React.memo(DiscoverSidebarResponsive);
const TopNavMemoized = React.memo(DiscoverTopNav);
@@ -72,11 +68,12 @@ export function DiscoverLayout({ stateContainer }: DiscoverLayoutProps) {
data,
uiSettings,
filterManager,
- storage,
history,
spaces,
inspector,
} = useDiscoverServices();
+ const { euiTheme } = useEuiTheme();
+ const pageBackgroundColor = useEuiBackgroundColor('plain');
const globalQueryState = data.query.getState();
const { main$ } = stateContainer.dataState.data$;
const [query, savedQuery, columns, sort] = useAppStateSelector((state) => [
@@ -109,8 +106,6 @@ export function DiscoverLayout({ stateContainer }: DiscoverLayoutProps) {
return dataView.type !== DataViewType.ROLLUP && dataView.isTimeBased();
}, [dataView]);
- const initialSidebarClosed = Boolean(storage.get(SIDEBAR_CLOSED_KEY));
- const [isSidebarClosed, setIsSidebarClosed] = useState(initialSidebarClosed);
const useNewFieldsApi = useMemo(() => !uiSettings.get(SEARCH_FIELDS_FROM_SOURCE), [uiSettings]);
const isPlainRecord = useMemo(() => getRawRecordType(query) === RecordRawType.PLAIN, [query]);
@@ -172,11 +167,6 @@ export function DiscoverLayout({ stateContainer }: DiscoverLayoutProps) {
filterManager.setFilters(disabledFilters);
}, [filterManager]);
- const toggleSidebarCollapse = useCallback(() => {
- storage.set(SIDEBAR_CLOSED_KEY, !isSidebarClosed);
- setIsSidebarClosed(!isSidebarClosed);
- }, [isSidebarClosed, storage]);
-
const contentCentered = resultState === 'uninitialized' || resultState === 'none';
const documentState = useDataState(stateContainer.dataState.data$.documents$);
@@ -240,7 +230,13 @@ export function DiscoverLayout({ stateContainer }: DiscoverLayoutProps) {
]);
return (
-
+
-
+
-
-
-
-
-
-
+
{resultState === 'none' ? (
@@ -335,7 +319,10 @@ export function DiscoverLayout({ stateContainer }: DiscoverLayoutProps) {
role="main"
panelRef={resizeRef}
paddingSize="none"
+ borderRadius="none"
hasShadow={false}
+ hasBorder={false}
+ color="transparent"
className={classNames('dscPageContent', {
'dscPageContent--centered': contentCentered,
})}
diff --git a/src/plugins/discover/public/application/main/components/layout/discover_main_content.tsx b/src/plugins/discover/public/application/main/components/layout/discover_main_content.tsx
index d7d90ff6b517e..e241a52b1d259 100644
--- a/src/plugins/discover/public/application/main/components/layout/discover_main_content.tsx
+++ b/src/plugins/discover/public/application/main/components/layout/discover_main_content.tsx
@@ -6,7 +6,7 @@
* Side Public License, v 1.
*/
-import { EuiFlexGroup, EuiFlexItem, EuiHorizontalRule } from '@elastic/eui';
+import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { DragDrop, type DropType, DropOverlayWrapper } from '@kbn/dom-drag-drop';
import useObservable from 'react-use/lib/useObservable';
import React, { useCallback } from 'react';
@@ -97,7 +97,6 @@ export const DiscoverMainContent = ({
data-test-subj="dscMainContent"
>
-
{!isPlainRecord && (
= ({
return (
}
- hasBorder
+ hasBorder={false}
title={
void;
}) => {
+ const { euiTheme } = useEuiTheme();
const { uiSettings } = useDiscoverServices();
const tabsCss = css`
padding: 0 ${useEuiPaddingSize('s')};
- background-color: ${euiThemeVars.euiPageBackgroundColor};
+ border-bottom: ${viewMode === VIEW_MODE.AGGREGATED_LEVEL ? euiTheme.border.thin : 'none'};
`;
const showViewModeToggle = uiSettings.get(SHOW_FIELD_STATISTICS) ?? false;
@@ -36,7 +36,7 @@ export const DocumentViewModeToggle = ({
}
return (
-
+
setDiscoverViewMode(VIEW_MODE.DOCUMENT_LEVEL)}
diff --git a/src/plugins/unified_histogram/public/layout/layout.tsx b/src/plugins/unified_histogram/public/layout/layout.tsx
index d2088d4776445..95661ed9b3f2f 100644
--- a/src/plugins/unified_histogram/public/layout/layout.tsx
+++ b/src/plugins/unified_histogram/public/layout/layout.tsx
@@ -275,7 +275,7 @@ export const UnifiedHistogramLayout = ({
chart={chart}
breakdown={breakdown}
appendHitsCounter={appendHitsCounter}
- appendHistogram={showFixedPanels ? : }
+ appendHistogram={}
disableAutoFetching={disableAutoFetching}
disableTriggers={disableTriggers}
disabledActions={disabledActions}
diff --git a/src/plugins/unified_histogram/public/panels/panels_resizable.tsx b/src/plugins/unified_histogram/public/panels/panels_resizable.tsx
index 773ebe172b25e..9f8fd5338a38f 100644
--- a/src/plugins/unified_histogram/public/panels/panels_resizable.tsx
+++ b/src/plugins/unified_histogram/public/panels/panels_resizable.tsx
@@ -6,12 +6,7 @@
* Side Public License, v 1.
*/
-import {
- EuiResizableContainer,
- useEuiTheme,
- useGeneratedHtmlId,
- useResizeObserver,
-} from '@elastic/eui';
+import { EuiResizableContainer, useGeneratedHtmlId, useResizeObserver } from '@elastic/eui';
import type { ResizeTrigger } from '@elastic/eui/src/components/resizable_container/types';
import { css } from '@emotion/react';
import { isEqual, round } from 'lodash';
@@ -162,12 +157,6 @@ export const PanelsResizable = ({
disableResizeWithPortalsHack();
}, [disableResizeWithPortalsHack, resizeWithPortalsHackIsResizing]);
- const { euiTheme } = useEuiTheme();
- const buttonCss = css`
- margin-top: -${euiTheme.size.base};
- margin-bottom: 0;
- `;
-
return (
{
const rowData = await PageObjects.discover.getDocTableField(1);
diff --git a/test/functional/apps/discover/group3/_sidebar.ts b/test/functional/apps/discover/group3/_sidebar.ts
index eefda4891390b..6a09524777487 100644
--- a/test/functional/apps/discover/group3/_sidebar.ts
+++ b/test/functional/apps/discover/group3/_sidebar.ts
@@ -214,16 +214,19 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
describe('collapse expand', function () {
it('should initially be expanded', async function () {
await testSubjects.existOrFail('discover-sidebar');
+ await testSubjects.existOrFail('fieldList');
});
it('should collapse when clicked', async function () {
await PageObjects.discover.toggleSidebarCollapse();
- await testSubjects.missingOrFail('discover-sidebar');
+ await testSubjects.existOrFail('discover-sidebar');
+ await testSubjects.missingOrFail('fieldList');
});
it('should expand when clicked', async function () {
await PageObjects.discover.toggleSidebarCollapse();
await testSubjects.existOrFail('discover-sidebar');
+ await testSubjects.existOrFail('fieldList');
});
});
diff --git a/test/functional/page_objects/discover_page.ts b/test/functional/page_objects/discover_page.ts
index 1545975667c60..d36cd4b56b129 100644
--- a/test/functional/page_objects/discover_page.ts
+++ b/test/functional/page_objects/discover_page.ts
@@ -370,13 +370,14 @@ export class DiscoverPageObject extends FtrService {
}
public async toggleSidebarCollapse() {
- return await this.testSubjects.click('collapseSideBarButton');
+ return await this.testSubjects.click('unifiedFieldListSidebar__toggle');
}
public async closeSidebar() {
await this.retry.tryForTime(2 * 1000, async () => {
- await this.toggleSidebarCollapse();
- await this.testSubjects.missingOrFail('discover-sidebar');
+ await this.testSubjects.click('unifiedFieldListSidebar__toggle-collapse');
+ await this.testSubjects.missingOrFail('unifiedFieldListSidebar__toggle-collapse');
+ await this.testSubjects.missingOrFail('fieldList');
});
}
diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json
index 29c9b379fc04b..2f8a2bad9d57b 100644
--- a/x-pack/plugins/translations/translations/fr-FR.json
+++ b/x-pack/plugins/translations/translations/fr-FR.json
@@ -2395,7 +2395,6 @@
"discover.serverLocatorExtension.titleFromLocatorUnknown": "Recherche inconnue",
"discover.singleDocRoute.errorTitle": "Une erreur s'est produite",
"discover.skipToBottomButtonLabel": "Atteindre la fin du tableau",
- "discover.toggleSidebarAriaLabel": "Activer/Désactiver la barre latérale",
"discover.topNav.openSearchPanel.manageSearchesButtonLabel": "Gérer les recherches",
"discover.topNav.openSearchPanel.noSearchesFoundDescription": "Aucune recherche correspondante trouvée.",
"discover.topNav.openSearchPanel.openSearchTitle": "Ouvrir une recherche",
diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json
index eaa6b47105103..f9656c1178806 100644
--- a/x-pack/plugins/translations/translations/ja-JP.json
+++ b/x-pack/plugins/translations/translations/ja-JP.json
@@ -2410,7 +2410,6 @@
"discover.serverLocatorExtension.titleFromLocatorUnknown": "不明な検索",
"discover.singleDocRoute.errorTitle": "エラーが発生しました",
"discover.skipToBottomButtonLabel": "テーブルの最後に移動",
- "discover.toggleSidebarAriaLabel": "サイドバーを切り替える",
"discover.topNav.openSearchPanel.manageSearchesButtonLabel": "検索の管理",
"discover.topNav.openSearchPanel.noSearchesFoundDescription": "一致する検索が見つかりませんでした。",
"discover.topNav.openSearchPanel.openSearchTitle": "検索を開く",
diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json
index a0fe7e9e05650..3d1ae2ad2bcca 100644
--- a/x-pack/plugins/translations/translations/zh-CN.json
+++ b/x-pack/plugins/translations/translations/zh-CN.json
@@ -2410,7 +2410,6 @@
"discover.serverLocatorExtension.titleFromLocatorUnknown": "未知搜索",
"discover.singleDocRoute.errorTitle": "发生错误",
"discover.skipToBottomButtonLabel": "转到表尾",
- "discover.toggleSidebarAriaLabel": "切换侧边栏",
"discover.topNav.openSearchPanel.manageSearchesButtonLabel": "管理搜索",
"discover.topNav.openSearchPanel.noSearchesFoundDescription": "未找到匹配的搜索。",
"discover.topNav.openSearchPanel.openSearchTitle": "打开搜索",