Skip to content

Commit

Permalink
add a note about dummy values
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Sep 1, 2020
1 parent cad6c54 commit 9d0ef8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ export const txtUrlTemplatePlaceholder = i18n.translate(
}
);

export const txtUrlPreviewHelpText = i18n.translate(
'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText',
{
defaultMessage: 'Please note that \\{\\{event.*\\}\\} variables replaced by dummy values.',
}
);

export const txtAddVariableButtonTitle = i18n.translate(
'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle',
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { buildScopeSuggestions } from '../../url_drilldown_scope';
import './index.scss';
import {
txtAddVariableButtonTitle,
txtUrlPreviewHelpText,
txtUrlTemplateHelpLinkText,
txtUrlTemplateLabel,
txtUrlTemplateOpenInNewTab,
Expand Down Expand Up @@ -126,6 +127,7 @@ export const UrlDrilldownCollectConfig: React.FC<UrlDrilldownCollectConfig> = ({
</EuiLink>
</EuiText>
}
helpText={txtUrlPreviewHelpText}
>
<EuiTextArea
fullWidth
Expand Down

0 comments on commit 9d0ef8f

Please sign in to comment.