diff --git a/src/plugins/discover/public/application/components/top_nav/open_options_popover.tsx b/src/plugins/discover/public/application/components/top_nav/open_options_popover.tsx index e8a2b7b5eb099..87764c9c4a6ca 100644 --- a/src/plugins/discover/public/application/components/top_nav/open_options_popover.tsx +++ b/src/plugins/discover/public/application/components/top_nav/open_options_popover.tsx @@ -11,7 +11,7 @@ import ReactDOM from 'react-dom'; import { I18nStart } from 'kibana/public'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiSpacer, EuiLink, EuiText, EuiWrappingPopover } from '@elastic/eui'; +import { EuiSpacer, EuiButton, EuiText, EuiWrappingPopover, EuiCode } from '@elastic/eui'; import { getServices } from '../../../kibana_services'; import './open_options_popover.scss'; @@ -31,26 +31,36 @@ export function OptionsPopover(props: OptionsPopoverProps) { const linkText = isLegacy ? i18n.translate('discover.openOptionsPopover.switchToDataGridText', { - defaultMessage: 'Switch to data grid', + defaultMessage: 'Go to Advanced Settings', }) : i18n.translate('discover.openOptionsPopover.switchToLegacyText', { - defaultMessage: 'Switch to legacy table', + defaultMessage: 'Go to Advanced Settings', }); return (
- - {linkText} - + +

+ Current view mode: Data grid +

+
+ + + {linkText} +
);