Skip to content

Commit

Permalink
[Lens] remove test warnings about improper HTML structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Oct 2, 2020
1 parent 1b61cc6 commit b8be860
Showing 1 changed file with 24 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ import React, { useState, useEffect, useMemo, useContext, useCallback } from 're
import classNames from 'classnames';
import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';
import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiText, EuiButtonEmpty, EuiLink } from '@elastic/eui';
import {
EuiFlexGroup,
EuiFlexItem,
EuiIcon,
EuiText,
EuiButtonEmpty,
EuiLink,
EuiSpacer,
} from '@elastic/eui';
import { CoreStart, CoreSetup } from 'kibana/public';
import { ExecutionContextSearch } from 'src/plugins/expressions';
import {
Expand Down Expand Up @@ -224,26 +232,25 @@ export function InnerWorkspacePanel({
<DropIllustration aria-hidden={true} className="lnsWorkspacePanel__dropIllustration" />
{expression === null && (
<>
<p>
<EuiText textAlign="center" size="s">
<FormattedMessage
id="xpack.lens.editorFrame.emptyWorkspaceHeading"
defaultMessage="Lens is a new tool for creating visualizations"
/>
</p>
<p>
<small>
<EuiLink
href="https://www.elastic.co/products/kibana/feedback"
target="_blank"
external
>
<FormattedMessage
id="xpack.lens.editorFrame.goToForums"
defaultMessage="Make requests and give feedback"
/>
</EuiLink>
</small>
</p>
</EuiText>
<EuiSpacer size="l" />
<EuiText textAlign="center" size="xs">
<EuiLink
href="https://www.elastic.co/products/kibana/feedback"
target="_blank"
external
>
<FormattedMessage
id="xpack.lens.editorFrame.goToForums"
defaultMessage="Make requests and give feedback"
/>
</EuiLink>
</EuiText>
</>
)}
</EuiText>
Expand Down

0 comments on commit b8be860

Please sign in to comment.