Skip to content

Commit

Permalink
Added 'Technical preview' badge
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed Dec 21, 2022
1 parent 4e0a0a5 commit 0b3f41f
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
EuiSpacer,
EuiText,
EuiToolTip,
EuiBadge,
withEuiTheme,
} from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n-react';
Expand Down Expand Up @@ -152,9 +153,14 @@ class FilterEditorComponent extends Component<FilterEditorProps, State> {
<div>
<EuiPopoverTitle paddingSize="s">
<EuiFlexGroup alignItems="baseline" responsive={false}>
<EuiFlexItem>
<EuiFlexGroup gutterSize="s">
{this.props.mode === 'add' ? strings.getPanelTitleAdd() : strings.getPanelTitleEdit()}
</EuiFlexItem>
<EuiBadge color="hollow">
{i18n.translate('unifiedSearch.filter.filterEditor.experimentalLabel', {
defaultMessage: 'Technical preview',
})}
</EuiBadge>
</EuiFlexGroup>
<EuiFlexItem grow={false} className="filterEditor__hiddenItem" />
<EuiFlexItem grow={false}>
<EuiToolTip
Expand Down

0 comments on commit 0b3f41f

Please sign in to comment.