parent
81ef6e06bc
commit
df2cc4be4e
14 changed files with 22 additions and 20 deletions
|
@ -19,4 +19,4 @@ These {stack} features also have limitations that affect {kib}:
|
|||
|
||||
include::limitations/nested-objects.asciidoc[]
|
||||
|
||||
include::limitations/export-data.asciidoc[]
|
||||
include::limitations/export-data.asciidoc[]
|
|
@ -101,7 +101,7 @@ exports[`RuleEditorFlyout renders the flyout after adding a condition to a rule
|
|||
values={
|
||||
Object {
|
||||
"learnMoreLink": <ForwardRef
|
||||
href="https://www.elastic.co/guide/en/elastic-stack-overview/jest-metadata-mock-branch/ml-rules.html"
|
||||
href="https://www.elastic.co/guide/en/machine-learning/jest-metadata-mock-branch/ml-rules.html"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
|
@ -365,7 +365,7 @@ exports[`RuleEditorFlyout renders the flyout after setting the rule to edit 1`]
|
|||
values={
|
||||
Object {
|
||||
"learnMoreLink": <ForwardRef
|
||||
href="https://www.elastic.co/guide/en/elastic-stack-overview/jest-metadata-mock-branch/ml-rules.html"
|
||||
href="https://www.elastic.co/guide/en/machine-learning/jest-metadata-mock-branch/ml-rules.html"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
|
@ -615,7 +615,7 @@ exports[`RuleEditorFlyout renders the flyout for creating a rule with conditions
|
|||
values={
|
||||
Object {
|
||||
"learnMoreLink": <ForwardRef
|
||||
href="https://www.elastic.co/guide/en/elastic-stack-overview/jest-metadata-mock-branch/ml-rules.html"
|
||||
href="https://www.elastic.co/guide/en/machine-learning/jest-metadata-mock-branch/ml-rules.html"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -56,7 +56,7 @@ import { metadata } from 'ui/metadata';
|
|||
import { FormattedMessage, injectI18n } from '@kbn/i18n/react';
|
||||
|
||||
// metadata.branch corresponds to the version used in documentation links.
|
||||
const docsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/ml-rules.html`;
|
||||
const docsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/ml-rules.html`;
|
||||
|
||||
export const RuleEditorFlyout = injectI18n(
|
||||
class RuleEditorFlyout extends Component {
|
||||
|
|
|
@ -60,7 +60,7 @@ exports[`ValidateJob renders button and modal with a message 1`] = `
|
|||
values={
|
||||
Object {
|
||||
"mlJobTipsLink": <ForwardRef
|
||||
href="https://www.elastic.co/guide/en/elastic-stack-overview/jest-metadata-mock-branch/create-jobs.html#job-tips"
|
||||
href="https://www.elastic.co/guide/en/machine-learning/jest-metadata-mock-branch/create-jobs.html#job-tips"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
|
@ -150,7 +150,7 @@ exports[`ValidateJob renders the button and modal with a success message 1`] = `
|
|||
values={
|
||||
Object {
|
||||
"mlJobTipsLink": <ForwardRef
|
||||
href="https://www.elastic.co/guide/en/elastic-stack-overview/jest-metadata-mock-branch/create-jobs.html#job-tips"
|
||||
href="https://www.elastic.co/guide/en/machine-learning/jest-metadata-mock-branch/create-jobs.html#job-tips"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -27,7 +27,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
|
|||
|
||||
import { metadata } from 'ui/metadata';
|
||||
// metadata.branch corresponds to the version used in documentation links.
|
||||
const jobTipsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/create-jobs.html#job-tips`;
|
||||
const jobTipsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/create-jobs.html#job-tips`;
|
||||
|
||||
// don't use something like plugins/ml/../common
|
||||
// because it won't work with the jest tests
|
||||
|
|
|
@ -10,7 +10,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
|
|||
import { EuiDescribedFormGroup, EuiFormRow, EuiLink } from '@elastic/eui';
|
||||
import { metadata } from 'ui/metadata';
|
||||
|
||||
const docsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/ml-calendars.html`;
|
||||
const docsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/ml-calendars.html`;
|
||||
|
||||
export const Description: FC = memo(({ children }) => {
|
||||
const title = i18n.translate(
|
||||
|
|
|
@ -10,7 +10,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
|
|||
import { EuiDescribedFormGroup, EuiFormRow, EuiLink } from '@elastic/eui';
|
||||
import { metadata } from 'ui/metadata';
|
||||
|
||||
const docsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/ml-configuring-url.html`;
|
||||
const docsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/ml-configuring-url.html`;
|
||||
|
||||
export const Description: FC = memo(({ children }) => {
|
||||
const title = i18n.translate(
|
||||
|
|
|
@ -70,8 +70,8 @@ export const JobsListPage: FC<Props> = ({ isMlEnabledInSpace }) => {
|
|||
const [currentTabId, setCurrentTabId] = useState(tabs[0].id);
|
||||
|
||||
// metadata.branch corresponds to the version used in documentation links.
|
||||
const anomalyDetectionJobsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/ml-jobs.html`;
|
||||
const anomalyJobsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/ml-dfanalytics.html`;
|
||||
const anomalyDetectionJobsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/ml-jobs.html`;
|
||||
const anomalyJobsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/ml-dfanalytics.html`;
|
||||
|
||||
const anomalyDetectionDocsLabel = i18n.translate(
|
||||
'xpack.ml.management.jobsList.anomalyDetectionDocsLabel',
|
||||
|
|
|
@ -89,7 +89,7 @@ exports[`CalendarListsHeader renders header 1`] = `
|
|||
Object {
|
||||
"br": <br />,
|
||||
"learnMoreLink": <ForwardRef
|
||||
href="https://www.elastic.co/guide/en/elastic-stack-overview/jest-metadata-mock-branch/ml-calendars.html"
|
||||
href="https://www.elastic.co/guide/en/machine-learning/jest-metadata-mock-branch/ml-calendars.html"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -26,7 +26,7 @@ import {
|
|||
import { metadata } from 'ui/metadata';
|
||||
|
||||
// metadata.branch corresponds to the version used in documentation links.
|
||||
const docsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/ml-calendars.html`;
|
||||
const docsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/ml-calendars.html`;
|
||||
|
||||
export function CalendarsListHeader({ totalCount, refreshCalendars }) {
|
||||
return (
|
||||
|
|
|
@ -90,7 +90,7 @@ You can use the same filter list in multiple jobs.{br}{learnMoreLink}"
|
|||
Object {
|
||||
"br": <br />,
|
||||
"learnMoreLink": <ForwardRef
|
||||
href="https://www.elastic.co/guide/en/elastic-stack-overview/jest-metadata-mock-branch/ml-rules.html"
|
||||
href="https://www.elastic.co/guide/en/machine-learning/jest-metadata-mock-branch/ml-rules.html"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
|
|
|
@ -26,7 +26,7 @@ import {
|
|||
import { metadata } from 'ui/metadata';
|
||||
|
||||
// metadata.branch corresponds to the version used in documentation links.
|
||||
const docsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/${metadata.branch}/ml-rules.html`;
|
||||
const docsUrl = `https://www.elastic.co/guide/en/machine-learning/${metadata.branch}/ml-rules.html`;
|
||||
|
||||
export function FilterListsHeader({ totalCount, refreshFilterLists }) {
|
||||
return (
|
||||
|
|
|
@ -14,7 +14,7 @@ export const getMessages = () => {
|
|||
return messages;
|
||||
}
|
||||
|
||||
const createJobsDocsUrl = `https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/create-jobs.html`;
|
||||
const createJobsDocsUrl = `https://www.elastic.co/guide/en/machine-learning/{{version}}/create-jobs.html`;
|
||||
|
||||
return (messages = {
|
||||
field_not_aggregatable: {
|
||||
|
@ -26,7 +26,7 @@ export const getMessages = () => {
|
|||
},
|
||||
}),
|
||||
url:
|
||||
'https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/ml-configuring-aggregation.html',
|
||||
'https://www.elastic.co/guide/en/machine-learning/{{version}}/ml-configuring-aggregation.html',
|
||||
},
|
||||
fields_not_aggregatable: {
|
||||
status: 'ERROR',
|
||||
|
@ -34,7 +34,7 @@ export const getMessages = () => {
|
|||
defaultMessage: 'One of the detector fields is not an aggregatable field.',
|
||||
}),
|
||||
url:
|
||||
'https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/ml-configuring-aggregation.html',
|
||||
'https://www.elastic.co/guide/en/machine-learning/{{version}}/ml-configuring-aggregation.html',
|
||||
},
|
||||
cardinality_by_field: {
|
||||
status: 'WARNING',
|
||||
|
@ -112,7 +112,7 @@ export const getMessages = () => {
|
|||
}
|
||||
),
|
||||
url:
|
||||
'https://www.elastic.co/guide/en/elastic-stack-overview/{{version}}/ml-configuring-categories.html',
|
||||
'https://www.elastic.co/guide/en/machine-learning/{{version}}/ml-configuring-categories.html',
|
||||
},
|
||||
categorization_filters_invalid: {
|
||||
status: 'ERROR',
|
||||
|
|
|
@ -47,6 +47,7 @@ export interface Core extends npCore {
|
|||
esDocBasePath: string;
|
||||
esPluginDocBasePath: string;
|
||||
esStackOverviewDocBasePath: string;
|
||||
esMLDocBasePath: string;
|
||||
};
|
||||
docTitle: {
|
||||
change: typeof docTitle.change;
|
||||
|
@ -93,6 +94,7 @@ export function createPublicShim(): { core: Core; plugins: Plugins } {
|
|||
esDocBasePath: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/${DOC_LINK_VERSION}/`,
|
||||
esPluginDocBasePath: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/plugins/${DOC_LINK_VERSION}/`,
|
||||
esStackOverviewDocBasePath: `${ELASTIC_WEBSITE_URL}guide/en/elastic-stack-overview/${DOC_LINK_VERSION}/`,
|
||||
esMLDocBasePath: `${ELASTIC_WEBSITE_URL}guide/en/machine-learning/${DOC_LINK_VERSION}/`,
|
||||
},
|
||||
docTitle: {
|
||||
change: docTitle.change,
|
||||
|
|
Loading…
Reference in a new issue