Skip to content

Commit 68c0eb4

Browse files
committed
Fix broken links and update snapshots.
1 parent 58b6e10 commit 68c0eb4

File tree

36 files changed

+43
-47
lines changed

36 files changed

+43
-47
lines changed

src/plugins/data/public/search/long_query_notification.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ export function LongQueryNotification(props: Props) {
4444
<EuiButton
4545
size="s"
4646
onClick={async () => {
47-
await props.application.navigateToApp(
48-
'kibana#/management/elasticsearch/license_management'
49-
);
47+
await props.application.navigateToApp('kibana#/management/stack/license_management');
5048
}}
5149
>
5250
<FormattedMessage

src/plugins/management/public/management_sections.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const managementSections = [
4545
title: (
4646
<ManagementSectionTitle
4747
text="Ingest"
48-
tip="Manage how data is transformed and loaded into the cluster"
48+
tip="Manage how to transform data and load it into the cluster."
4949
/>
5050
),
5151
},
@@ -57,21 +57,21 @@ export const managementSections = [
5757
id: ManagementSectionId.InsightsAndAlerting,
5858
title: (
5959
<ManagementSectionTitle
60-
text="Insights and Alerting"
60+
text="Alerts and Insights"
6161
tip="Manage how to detect changes in your data"
6262
/>
6363
),
6464
},
6565
{
6666
id: ManagementSectionId.Security,
67-
title: <ManagementSectionTitle text="Security" tip="Control access to data and apps" />,
67+
title: <ManagementSectionTitle text="Security" tip="Control access to features and data" />,
6868
},
6969
{
7070
id: ManagementSectionId.Kibana,
71-
title: <ManagementSectionTitle text="Kibana" tip="Customize Kibana and manage its internals" />,
71+
title: <ManagementSectionTitle text="Kibana" tip="Customize Kibana and manage saved objects" />,
7272
},
7373
{
7474
id: ManagementSectionId.Stack,
75-
title: <ManagementSectionTitle text="Stack" tip="Upgrade the Stack and manage your license" />,
75+
title: <ManagementSectionTitle text="Stack" tip="Manage your license and upgrade the Stack" />,
7676
},
7777
];

x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/WatcherFlyout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class WatcherFlyout extends Component<
258258
)}{' '}
259259
<ApmPluginContext.Provider value={this.context}>
260260
<KibanaLink
261-
path={`/management/elasticsearch/watcher/watches/watch/${id}`}
261+
path={`/management/insightsAndAlerting/watcher/watches/watch/${id}`}
262262
>
263263
{i18n.translate(
264264
'xpack.apm.serviceDetails.enableErrorReportsPanel.watchCreatedNotificationText.viewWatchLinkText',

x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class ServiceIntegrations extends React.Component<Props, State> {
9292
),
9393
icon: 'watchesApp',
9494
href: core.http.basePath.prepend(
95-
'/app/kibana#/management/elasticsearch/watcher'
95+
'/app/kibana#/management/insightsAndAlerting/watcher'
9696
),
9797
target: '_blank',
9898
onClick: () => this.closePopover()

x-pack/plugins/apm/public/components/app/ServiceOverview/NoServicesMessage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function NoServicesMessage({ historicalDataFound, status }: Props) {
6666
defaultMessage:
6767
'You may also have old data that needs to be migrated.'
6868
})}{' '}
69-
<KibanaLink path="/management/elasticsearch/upgrade_assistant">
69+
<KibanaLink path="/management/stack/upgrade_assistant">
7070
{i18n.translate('xpack.apm.servicesTable.UpgradeAssistantLink', {
7171
defaultMessage:
7272
'Learn more by visiting the Kibana Upgrade Assistant'

x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/NoServicesMessage.test.tsx.snap

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/apm/public/components/app/ServiceOverview/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function ServiceOverview() {
6666
<EuiLink
6767
href={url.format({
6868
pathname: core.http.basePath.prepend('/app/kibana'),
69-
hash: '/management/elasticsearch/upgrade_assistant'
69+
hash: '/management/stack/upgrade_assistant'
7070
})}
7171
>
7272
{i18n.translate(

x-pack/plugins/apm/public/components/shared/LicensePrompt/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface Props {
1717
export const LicensePrompt = ({ text, showBetaBadge = false }: Props) => {
1818
const licensePageUrl = useKibanaUrl(
1919
'/app/kibana',
20-
'/management/elasticsearch/license_management/home'
20+
'/management/stack/license_management/home'
2121
);
2222

2323
const renderLicenseBody = (

x-pack/plugins/apm/public/context/LicenseContext/InvalidLicenseNotification.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { useApmPluginContext } from '../../hooks/useApmPluginContext';
1111
export function InvalidLicenseNotification() {
1212
const { core } = useApmPluginContext();
1313
const manageLicenseURL = core.http.basePath.prepend(
14-
'/app/kibana#/management/elasticsearch/license_management'
14+
'/app/kibana#/management/stack/license_management'
1515
);
1616

1717
return (

x-pack/plugins/apm/public/setHelpExtension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function setHelpExtension({ chrome, http }: CoreStart) {
2222
linkType: 'custom',
2323
href: url.format({
2424
pathname: http.basePath.prepend('/app/kibana'),
25-
hash: '/management/elasticsearch/upgrade_assistant'
25+
hash: '/management/stack/upgrade_assistant'
2626
}),
2727
content: i18n.translate('xpack.apm.helpMenu.upgradeAssistantLink', {
2828
defaultMessage: 'Upgrade assistant'

x-pack/plugins/index_management/public/application/services/navigation.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export const getIndexListUri = (filter: any) => {
1919

2020
export const getILMPolicyPath = (policyName: string) => {
2121
return encodeURI(
22-
`#/management/elasticsearch/index_lifecycle_management/policies/edit/${encodeURIComponent(
23-
policyName
24-
)}`
22+
`#/management/data/index_lifecycle_management/policies/edit/${encodeURIComponent(policyName)}`
2523
);
2624
};

x-pack/plugins/ingest_pipelines/common/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const PLUGIN_ID = 'ingest_pipelines';
1111

1212
export const PLUGIN_MIN_LICENSE_TYPE = basicLicense;
1313

14-
export const BASE_PATH = '/management/elasticsearch/ingest_pipelines';
14+
export const BASE_PATH = '/management/ingest/ingest_pipelines';
1515

1616
export const API_BASE_PATH = '/api/ingest_pipelines';
1717

x-pack/plugins/licensing/public/plugin.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ describe('licensing plugin', () => {
367367
expect(coreStart.overlays.banners.add).toHaveBeenCalledTimes(1);
368368
expect(mountExpiredBannerMock).toHaveBeenCalledWith({
369369
type: 'gold',
370-
uploadUrl: '/app/kibana#/management/elasticsearch/license_management/upload_license',
370+
uploadUrl: '/app/kibana#/management/stack/license_management/upload_license',
371371
});
372372
});
373373
});

x-pack/plugins/licensing/public/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class LicensingPlugin implements Plugin<LicensingPluginSetup> {
148148

149149
private showExpiredBanner(license: ILicense) {
150150
const uploadUrl = this.coreStart!.http.basePath.prepend(
151-
'/app/kibana#/management/elasticsearch/license_management/upload_license'
151+
'/app/kibana#/management/stack/license_management/upload_license'
152152
);
153153
this.coreStart!.overlays.banners.add(
154154
mountExpiredBanner({

x-pack/plugins/logstash/public/application/breadcrumbs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function getPipelineListBreadcrumbs() {
1212
text: i18n.translate('xpack.logstash.pipelines.listBreadcrumb', {
1313
defaultMessage: 'Pipelines',
1414
}),
15-
href: '#/management/logstash/pipelines',
15+
href: '#/management/ingest/pipelines',
1616
},
1717
];
1818
}

x-pack/plugins/logstash/public/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class LogstashPlugin implements Plugin<void, void, SetupDeps> {
7171
defaultMessage: 'Create, delete, update, and clone data ingestion pipelines.',
7272
}),
7373
icon: 'pipelineApp',
74-
path: '/app/kibana#/management/logstash/pipelines',
74+
path: '/app/kibana#/management/ingest/pipelines',
7575
showOnHomePage: true,
7676
category: FeatureCatalogueCategory.ADMIN,
7777
});

x-pack/plugins/ml/public/application/datavisualizer/datavisualizer_selector.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export const DatavisualizerSelector: FC = () => {
184184
footer={
185185
<EuiButton
186186
target="_blank"
187-
href="kibana#/management/elasticsearch/license_management/home"
187+
href="kibana#/management/stack/license_management/home"
188188
>
189189
<FormattedMessage
190190
id="xpack.ml.datavisualizer.selector.startTrialButtonLabel"

x-pack/plugins/ml/public/application/datavisualizer/file_based/components/results_links/results_links.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const ResultsLinks: FC<Props> = ({
139139
/>
140140
}
141141
description=""
142-
href={`${basePath.get()}/app/kibana#/management/elasticsearch/index_management/indices/filter/${index}`}
142+
href={`${basePath.get()}/app/kibana#/management/data/index_management/indices/filter/${index}`}
143143
/>
144144
</EuiFlexItem>
145145

x-pack/plugins/ml/public/application/jobs/jobs_list/components/create_watch_flyout/create_watch_service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class CreateWatchService {
167167
saveWatch(watchModel)
168168
.then(() => {
169169
this.status.watch = this.STATUS.SAVED;
170-
this.config.watcherEditURL = `${basePath.get()}/app/kibana#/management/elasticsearch/watcher/watches/watch/${id}/edit?_g=()`;
170+
this.config.watcherEditURL = `${basePath.get()}/app/kibana#/management/insightsAndAlerting/watcher/watches/watch/${id}/edit?_g=()`;
171171
resolve({
172172
id,
173173
url: this.config.watcherEditURL,

x-pack/plugins/ml/public/application/overview/components/sidebar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const OverviewSideBar: FC<Props> = ({ createAnomalyDetectionJobDisabled }
4242

4343
const { ELASTIC_WEBSITE_URL, DOC_LINK_VERSION } = docLinks;
4444
const docsLink = `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/xpack-ml.html`;
45-
const transformsLink = `${basePath.get()}/app/kibana#/management/elasticsearch/transform`;
45+
const transformsLink = `${basePath.get()}/app/kibana#/management/data/transform`;
4646

4747
return (
4848
<EuiFlexItem grow={1}>

x-pack/plugins/monitoring/public/components/cluster/listing/listing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ const handleClickIncompatibleLicense = (scope, clusterName) => {
288288
};
289289

290290
const handleClickInvalidLicense = (scope, clusterName) => {
291-
const licensingPath = `${Legacy.shims.getBasePath()}/app/kibana#/management/elasticsearch/license_management/home`;
291+
const licensingPath = `${Legacy.shims.getBasePath()}/app/kibana#/management/data/license_management/home`;
292292

293293
licenseWarning(scope, {
294294
title: toMountPoint(

x-pack/plugins/monitoring/public/components/license/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const LicenseUpdateInfoForRemote = ({ isPrimaryCluster }) => {
169169

170170
export function License(props) {
171171
const { status, type, isExpired, expiryDate } = props;
172-
const licenseManagement = `${Legacy.shims.getBasePath()}/app/kibana#/management/elasticsearch/license_management`;
172+
const licenseManagement = `${Legacy.shims.getBasePath()}/app/kibana#/management/stack/license_management`;
173173
return (
174174
<EuiPage>
175175
<EuiScreenReaderOnly>

x-pack/plugins/siem/public/alerts/components/rules/select_rule_type/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const SelectRuleType: React.FC<SelectRuleTypeProps> = ({
7777
const setQuery = useCallback(() => setType('query'), [setType]);
7878
const mlCardDisabled = isReadOnly || !hasValidLicense || !isMlAdmin;
7979
const licensingUrl = useKibana().services.application.getUrlForApp('kibana', {
80-
path: '#/management/elasticsearch/license_management',
80+
path: '#/management/stack/license_management',
8181
});
8282

8383
return (

x-pack/plugins/siem/public/common/components/ml_popover/__snapshots__/upgrade_contents.test.tsx.snap

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/siem/public/common/components/ml_popover/upgrade_contents.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const UpgradeContentsComponent = () => (
5959
</EuiFlexItem>
6060
<EuiFlexItem grow={false}>
6161
<EuiButton
62-
href={`${useBasePath()}/app/kibana#/management/elasticsearch/license_management`}
62+
href={`${useBasePath()}/app/kibana#/management/stack/license_management`}
6363
iconType="gear"
6464
target="_blank"
6565
>

x-pack/plugins/transform/public/register_feature.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const registerFeature = (home: HomePublicPluginSetup) => {
2222
'Use transforms to pivot existing Elasticsearch indices into summarized or entity-centric indices.',
2323
}),
2424
icon: 'managementApp', // there is currently no Transforms icon, so using the general management app icon
25-
path: '/app/kibana#/management/elasticsearch/transform',
25+
path: '/app/kibana#/management/data/transform',
2626
showOnHomePage: true,
2727
category: FeatureCatalogueCategory.ADMIN,
2828
});

x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/license_info.test.tsx.snap

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_flyout.test.tsx.snap

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/uptime/public/components/monitor/ml/license_info.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const ShowLicenseInfo = () => {
2222
<p>{labels.START_TRAIL_DESC}</p>
2323
<EuiButton
2424
color="primary"
25-
href={basePath + `/app/kibana#/management/elasticsearch/license_management/home`}
25+
href={basePath + `/app/kibana#/management/stack/license_management/home`}
2626
target="_blank"
2727
>
2828
{labels.START_TRAIL}

x-pack/plugins/watcher/__jest__/client_integration/watch_list.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ describe('<WatchList />', () => {
131131

132132
expect(findTestSubject(idColumn, `watchIdColumn-${watch1.id}`).length).toBe(1);
133133
expect(findTestSubject(idColumn, `watchIdColumn-${watch1.id}`).props().href).toEqual(
134-
`#/management/elasticsearch/watcher/watches/watch/${watch1.id}/status`
134+
`#/management/insightsAndAlerting/watcher/watches/watch/${watch1.id}/status`
135135
);
136136
});
137137

x-pack/plugins/watcher/public/application/app.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const App = (deps: AppDeps) => {
6969
iconType="help"
7070
>
7171
{message}{' '}
72-
<EuiLink href="#/management/elasticsearch/license_management/home">
72+
<EuiLink href="#/management/stack/license_management/home">
7373
<FormattedMessage
7474
id="xpack.watcher.app.licenseErrorLinkText"
7575
defaultMessage="Manage your license."

x-pack/plugins/watcher/public/application/lib/breadcrumbs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const listBreadcrumb: Breadcrumb = {
1515
text: i18n.translate('xpack.watcher.breadcrumb.listLabel', {
1616
defaultMessage: 'Watcher',
1717
}),
18-
href: '#/management/elasticsearch/watcher/watches/',
18+
href: '#/management/stack/watcher/watches/',
1919
};
2020

2121
export const createBreadcrumb: Breadcrumb = {

x-pack/plugins/watcher/public/application/sections/watch_edit/components/monitoring_watch_edit/monitoring_watch_edit.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const MonitoringWatchEdit = ({ pageTitle }: { pageTitle: string }) => {
3636
values={{
3737
watchName: watch.name,
3838
watchStatusLink: (
39-
<EuiLink href={`#/management/elasticsearch/watcher/watches/watch/${watch.id}/status`}>
39+
<EuiLink href={`#/management/stack/watcher/watches/watch/${watch.id}/status`}>
4040
<FormattedMessage
4141
id="xpack.watcher.sections.watchEdit.monitoring.header.watchLinkTitle"
4242
defaultMessage="View watch status."

x-pack/plugins/watcher/public/application/sections/watch_list/components/watch_list.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export const WatchList = () => {
242242
return (
243243
<EuiLink
244244
data-test-subj={`watchIdColumn-${id}`}
245-
href={`#/management/elasticsearch/watcher/watches/watch/${id}/status`}
245+
href={`#/management/stack/watcher/watches/watch/${id}/status`}
246246
>
247247
{id}
248248
</EuiLink>
@@ -326,7 +326,7 @@ export const WatchList = () => {
326326
)}
327327
iconType="pencil"
328328
color="primary"
329-
href={`#/management/elasticsearch/watcher/watches/watch/${watch.id}/edit`}
329+
href={`#/management/stack/watcher/watches/watch/${watch.id}/edit`}
330330
data-test-subj="editWatchButton"
331331
/>
332332
</EuiToolTip>

x-pack/plugins/watcher/public/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class WatcherUIPlugin implements Plugin<void, void, Dependencies, any> {
7676
defaultMessage: 'Detect changes in your data by creating, managing, and monitoring alerts.',
7777
}),
7878
icon: 'watchesApp',
79-
path: '/app/kibana#/management/elasticsearch/watcher/watches',
79+
path: '/app/kibana#/management/stack/watcher/watches',
8080
showOnHomePage: false,
8181
};
8282

0 commit comments

Comments
 (0)