Improve links (#36639)
This commit is contained in:
parent
efe91c3be0
commit
c252732f02
|
@ -26,7 +26,7 @@ removes it from {kib} permanently.
|
||||||
[horizontal]
|
[horizontal]
|
||||||
`csv:quoteValues`:: Set this property to `true` to quote exported values.
|
`csv:quoteValues`:: Set this property to `true` to quote exported values.
|
||||||
`csv:separator`:: A string that serves as the separator for exported values.
|
`csv:separator`:: A string that serves as the separator for exported values.
|
||||||
`dateFormat`:: The format to use for displaying http://momentjs.com/docs/#/displaying/format/[pretty formatted dates].
|
`dateFormat`:: The format to use for displaying https://momentjs.com/docs/#/displaying/format/[pretty formatted dates].
|
||||||
`dateFormat:dow`:: The day that a week should start on.
|
`dateFormat:dow`:: The day that a week should start on.
|
||||||
`dateFormat:scaled`:: The values that define the format to use to render ordered time-based data. Formatted timestamps must
|
`dateFormat:scaled`:: The values that define the format to use to render ordered time-based data. Formatted timestamps must
|
||||||
adapt to the interval between measurements. Keys are http://en.wikipedia.org/wiki/ISO_8601#Time_intervals[ISO8601 intervals].
|
adapt to the interval between measurements. Keys are http://en.wikipedia.org/wiki/ISO_8601#Time_intervals[ISO8601 intervals].
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<span i18n-id="kbn.management.editIndexPattern.timeFilterLabel.timeFilterDetail"
|
<span i18n-id="kbn.management.editIndexPattern.timeFilterLabel.timeFilterDetail"
|
||||||
i18n-default-message="This page lists every field in the {indexPatternTitle} index and the field's associated core type as recorded by Elasticsearch. To change a field type, use the Elasticsearch"
|
i18n-default-message="This page lists every field in the {indexPatternTitle} index and the field's associated core type as recorded by Elasticsearch. To change a field type, use the Elasticsearch"
|
||||||
i18n-values="{ html_indexPatternTitle: '<strong>' + indexPattern.title + '</strong>' }"></span>
|
i18n-values="{ html_indexPatternTitle: '<strong>' + indexPattern.title + '</strong>' }"></span>
|
||||||
<a target="_window" class="euiLink euiLink--primary" href="http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html">
|
<a target="_blank" class="euiLink euiLink--primary" href="http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html">
|
||||||
<span i18n-id="kbn.management.editIndexPattern.timeFilterLabel.mappingAPILink"
|
<span i18n-id="kbn.management.editIndexPattern.timeFilterLabel.mappingAPILink"
|
||||||
i18n-default-message="Mapping API"></span>
|
i18n-default-message="Mapping API"></span>
|
||||||
<i aria-hidden="true" class="fa-link fa"></i>
|
<i aria-hidden="true" class="fa-link fa"></i>
|
||||||
|
|
|
@ -141,7 +141,7 @@ export function getUiSettingDefaults() {
|
||||||
'kbn.advancedSettings.dateFormat.optionsLinkText',
|
'kbn.advancedSettings.dateFormat.optionsLinkText',
|
||||||
values: {
|
values: {
|
||||||
formatLink:
|
formatLink:
|
||||||
'<a href="http://momentjs.com/docs/#/displaying/format/" target="_blank" rel="noopener noreferrer">' +
|
'<a href="https://momentjs.com/docs/#/displaying/format/" target="_blank" rel="noopener noreferrer">' +
|
||||||
i18n.translate('kbn.advancedSettings.dateFormat.optionsLinkText', {
|
i18n.translate('kbn.advancedSettings.dateFormat.optionsLinkText', {
|
||||||
defaultMessage: 'format',
|
defaultMessage: 'format',
|
||||||
}) +
|
}) +
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="clearfix form-group">
|
<div class="clearfix form-group">
|
||||||
<label for="markdownVisInput">Markdown</label>
|
<label for="markdownVisInput">Markdown</label>
|
||||||
<small class="pull-right">
|
<small class="pull-right">
|
||||||
<a target="_window" href="https://help.github.com/articles/github-flavored-markdown/">
|
<a target="_blank" href="https://help.github.com/articles/github-flavored-markdown/" rel="noreferrer noopener">
|
||||||
<icon aria-hidden="true" size="'s'" type="'link'"></icon>
|
<icon aria-hidden="true" size="'s'" type="'link'"></icon>
|
||||||
<span
|
<span
|
||||||
i18n-id="markdownVis.params.helpLinkLabel"
|
i18n-id="markdownVis.params.helpLinkLabel"
|
||||||
|
|
|
@ -158,7 +158,7 @@ class MarkdownEditor extends Component {
|
||||||
{handlebarLink} on the available expressions."
|
{handlebarLink} on the available expressions."
|
||||||
values={{
|
values={{
|
||||||
handlebarLink: (
|
handlebarLink: (
|
||||||
<a href="http://handlebarsjs.com/expressions.html" target="_BLANK">
|
<a href="http://handlebarsjs.com/expressions.html" target="_BLANK" rel="noreferrer noopener">
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="tsvb.markdownEditor.howUseVariablesInMarkdownDescription.documentationLinkText"
|
id="tsvb.markdownEditor.howUseVariablesInMarkdownDescription.documentationLinkText"
|
||||||
defaultMessage="Click here for documentation"
|
defaultMessage="Click here for documentation"
|
||||||
|
|
|
@ -843,7 +843,7 @@ exports[`FieldEditor should show deprecated lang warning 1`] = `
|
||||||
</eui-code>,
|
</eui-code>,
|
||||||
"painlessLink": <eui-link
|
"painlessLink": <eui-link
|
||||||
href="(docLink for scriptedFields.painless)"
|
href="(docLink for scriptedFields.painless)"
|
||||||
target="_window"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="Painless"
|
defaultMessage="Painless"
|
||||||
|
|
|
@ -12,7 +12,7 @@ exports[`BytesFormatEditor should render normally 1`] = `
|
||||||
<EuiLink
|
<EuiLink
|
||||||
color="primary"
|
color="primary"
|
||||||
href="https://adamwdraper.github.io/Numeral-js/"
|
href="https://adamwdraper.github.io/Numeral-js/"
|
||||||
target="_window"
|
target="_blank"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|
|
@ -11,8 +11,8 @@ exports[`DateFormatEditor should render normally 1`] = `
|
||||||
<span>
|
<span>
|
||||||
<EuiLink
|
<EuiLink
|
||||||
color="primary"
|
color="primary"
|
||||||
href="http://momentjs.com/"
|
href="https://momentjs.com/"
|
||||||
target="_window"
|
target="_blank"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|
|
@ -71,7 +71,7 @@ export class DateFormatEditor extends DefaultFormatEditor {
|
||||||
error={error}
|
error={error}
|
||||||
helpText={
|
helpText={
|
||||||
<span>
|
<span>
|
||||||
<EuiLink target="_window" href="http://momentjs.com/">
|
<EuiLink target="_blank" href="https://momentjs.com/">
|
||||||
<FormattedMessage id="common.ui.fieldEditor.date.documentationLabel" defaultMessage="Documentation" />
|
<FormattedMessage id="common.ui.fieldEditor.date.documentationLabel" defaultMessage="Documentation" />
|
||||||
<EuiIcon type="link" />
|
<EuiIcon type="link" />
|
||||||
</EuiLink>
|
</EuiLink>
|
||||||
|
|
|
@ -12,7 +12,7 @@ exports[`NumberFormatEditor should render normally 1`] = `
|
||||||
<EuiLink
|
<EuiLink
|
||||||
color="primary"
|
color="primary"
|
||||||
href="https://adamwdraper.github.io/Numeral-js/"
|
href="https://adamwdraper.github.io/Numeral-js/"
|
||||||
target="_window"
|
target="_blank"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|
|
@ -62,7 +62,7 @@ export class NumberFormatEditor extends DefaultFormatEditor {
|
||||||
}
|
}
|
||||||
helpText={
|
helpText={
|
||||||
<span>
|
<span>
|
||||||
<EuiLink target="_window" href="https://adamwdraper.github.io/Numeral-js/">
|
<EuiLink target="_blank" href="https://adamwdraper.github.io/Numeral-js/">
|
||||||
<FormattedMessage id="common.ui.fieldEditor.number.documentationLabel" defaultMessage="Documentation" />
|
<FormattedMessage id="common.ui.fieldEditor.number.documentationLabel" defaultMessage="Documentation" />
|
||||||
<EuiIcon type="link" />
|
<EuiIcon type="link" />
|
||||||
</EuiLink>
|
</EuiLink>
|
||||||
|
|
|
@ -12,7 +12,7 @@ exports[`PercentFormatEditor should render normally 1`] = `
|
||||||
<EuiLink
|
<EuiLink
|
||||||
color="primary"
|
color="primary"
|
||||||
href="https://adamwdraper.github.io/Numeral-js/"
|
href="https://adamwdraper.github.io/Numeral-js/"
|
||||||
target="_window"
|
target="_blank"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|
|
@ -23,7 +23,7 @@ exports[`ScriptingWarningCallOut should render normally 1`] = `
|
||||||
"scripFields": <EuiLink
|
"scripFields": <EuiLink
|
||||||
color="primary"
|
color="primary"
|
||||||
href="(docLink for scriptedFields.scriptFields)"
|
href="(docLink for scriptedFields.scriptFields)"
|
||||||
target="_window"
|
target="_blank"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
@ -39,7 +39,7 @@ exports[`ScriptingWarningCallOut should render normally 1`] = `
|
||||||
"scriptsInAggregation": <EuiLink
|
"scriptsInAggregation": <EuiLink
|
||||||
color="primary"
|
color="primary"
|
||||||
href="(docLink for scriptedFields.scriptAggs)"
|
href="(docLink for scriptedFields.scriptAggs)"
|
||||||
target="_window"
|
target="_blank"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|
|
@ -45,13 +45,13 @@ export const ScriptingWarningCallOut = ({
|
||||||
defaultMessage="Please familiarize yourself with {scripFields} and with {scriptsInAggregation} before using scripted fields."
|
defaultMessage="Please familiarize yourself with {scripFields} and with {scriptsInAggregation} before using scripted fields."
|
||||||
values={{
|
values={{
|
||||||
scripFields: (
|
scripFields: (
|
||||||
<EuiLink target="_window" href={getDocLink('scriptedFields.scriptFields')}>
|
<EuiLink target="_blank" href={getDocLink('scriptedFields.scriptFields')}>
|
||||||
<FormattedMessage id="common.ui.fieldEditor.warningCallOutLabel.scripFieldsLink" defaultMessage="script fields" />
|
<FormattedMessage id="common.ui.fieldEditor.warningCallOutLabel.scripFieldsLink" defaultMessage="script fields" />
|
||||||
<EuiIcon type="link" />
|
<EuiIcon type="link" />
|
||||||
</EuiLink>
|
</EuiLink>
|
||||||
),
|
),
|
||||||
scriptsInAggregation: (
|
scriptsInAggregation: (
|
||||||
<EuiLink target="_window" href={getDocLink('scriptedFields.scriptAggs')}>
|
<EuiLink target="_blank" href={getDocLink('scriptedFields.scriptAggs')}>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="common.ui.fieldEditor.warningCallOutLabel.scriptsInAggregationLink"
|
id="common.ui.fieldEditor.warningCallOutLabel.scriptsInAggregationLink"
|
||||||
defaultMessage="scripts in aggregations"
|
defaultMessage="scripts in aggregations"
|
||||||
|
|
|
@ -45,7 +45,7 @@ export const ScriptingSyntax = () => (
|
||||||
values={{
|
values={{
|
||||||
painless: (
|
painless: (
|
||||||
<EuiLink
|
<EuiLink
|
||||||
target="_window"
|
target="_blank"
|
||||||
href={getDocLink('scriptedFields.painless')}
|
href={getDocLink('scriptedFields.painless')}
|
||||||
>
|
>
|
||||||
<FormattedMessage id="common.ui.fieldEditor.syntax.defaultLabel.painlessLink" defaultMessage="Painless" />
|
<FormattedMessage id="common.ui.fieldEditor.syntax.defaultLabel.painlessLink" defaultMessage="Painless" />
|
||||||
|
@ -68,7 +68,7 @@ export const ScriptingSyntax = () => (
|
||||||
values={{
|
values={{
|
||||||
javaAPIs: (
|
javaAPIs: (
|
||||||
<EuiLink
|
<EuiLink
|
||||||
target="_window"
|
target="_blank"
|
||||||
href={getDocLink('scriptedFields.painlessApi')}
|
href={getDocLink('scriptedFields.painlessApi')}
|
||||||
>
|
>
|
||||||
<FormattedMessage id="common.ui.fieldEditor.syntax.painlessLabel.javaAPIsLink" defaultMessage="native Java APIs" />
|
<FormattedMessage id="common.ui.fieldEditor.syntax.painlessLabel.javaAPIsLink" defaultMessage="native Java APIs" />
|
||||||
|
@ -77,7 +77,7 @@ export const ScriptingSyntax = () => (
|
||||||
),
|
),
|
||||||
syntax: (
|
syntax: (
|
||||||
<EuiLink
|
<EuiLink
|
||||||
target="_window"
|
target="_blank"
|
||||||
href={getDocLink('scriptedFields.painlessSyntax')}
|
href={getDocLink('scriptedFields.painlessSyntax')}
|
||||||
>
|
>
|
||||||
<FormattedMessage id="common.ui.fieldEditor.syntax.painlessLabel.syntaxLink" defaultMessage="syntax" />
|
<FormattedMessage id="common.ui.fieldEditor.syntax.painlessLabel.syntaxLink" defaultMessage="syntax" />
|
||||||
|
@ -102,7 +102,7 @@ export const ScriptingSyntax = () => (
|
||||||
values={{
|
values={{
|
||||||
lucene: (
|
lucene: (
|
||||||
<EuiLink
|
<EuiLink
|
||||||
target="_window"
|
target="_blank"
|
||||||
href={getDocLink('scriptedFields.luceneExpressions')}
|
href={getDocLink('scriptedFields.luceneExpressions')}
|
||||||
>
|
>
|
||||||
<FormattedMessage id="common.ui.fieldEditor.syntax.lucene.commonLabel.luceneLink" defaultMessage="Lucene Expressions" />
|
<FormattedMessage id="common.ui.fieldEditor.syntax.lucene.commonLabel.luceneLink" defaultMessage="Lucene Expressions" />
|
||||||
|
|
|
@ -295,7 +295,7 @@ export class FieldEditorComponent extends PureComponent {
|
||||||
values={{
|
values={{
|
||||||
language: <EuiCode>{field.lang}</EuiCode>,
|
language: <EuiCode>{field.lang}</EuiCode>,
|
||||||
painlessLink: (
|
painlessLink: (
|
||||||
<EuiLink target="_window" href={getDocLink('scriptedFields.painless')}>
|
<EuiLink target="_blank" href={getDocLink('scriptedFields.painless')}>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="common.ui.fieldEditor.warningLabel.painlessLinkLabel"
|
id="common.ui.fieldEditor.warningLabel.painlessLinkLabel"
|
||||||
defaultMessage="Painless"
|
defaultMessage="Painless"
|
||||||
|
|
|
@ -89,7 +89,7 @@ class RangeValueInputUI extends Component<Props> {
|
||||||
</EuiFlexItem>
|
</EuiFlexItem>
|
||||||
</EuiFlexGroup>
|
</EuiFlexGroup>
|
||||||
{type === 'date' ? (
|
{type === 'date' ? (
|
||||||
<EuiLink target="_window" href={getDocLink('date.dateMath')}>
|
<EuiLink target="_blank" href={getDocLink('date.dateMath')}>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="common.ui.filterEditor.dateFormatHelpLinkLabel"
|
id="common.ui.filterEditor.dateFormatHelpLinkLabel"
|
||||||
defaultMessage="Accepted date formats"
|
defaultMessage="Accepted date formats"
|
||||||
|
|
|
@ -159,7 +159,7 @@ data (as that is typically done by the server models already).
|
||||||
|
|
||||||
They do, however, serve as a consistent place in the data path for translating wire representations of certain types of data into
|
They do, however, serve as a consistent place in the data path for translating wire representations of certain types of data into
|
||||||
more suitable in-memory representations, for example: converting an [ISO8601-formatted timestamp](https://en.wikipedia.org/wiki/ISO_8601)
|
more suitable in-memory representations, for example: converting an [ISO8601-formatted timestamp](https://en.wikipedia.org/wiki/ISO_8601)
|
||||||
into a [moment instance](http://momentjs.com/).
|
into a [moment instance](https://momentjs.com/).
|
||||||
|
|
||||||
They are also the right place for establishing relationships between models — for example, a watch contains many actions — and for
|
They are also the right place for establishing relationships between models — for example, a watch contains many actions — and for
|
||||||
encapsulating operations around such relationships — for example, updating the status of a watch's action.
|
encapsulating operations around such relationships — for example, updating the status of a watch's action.
|
||||||
|
|
Loading…
Reference in a new issue