serverless_search: update nav links (#158271)

## Summary

- Updated the "Transforms" side navigation link to go to ingest
pipelines stack management page. This link will eventually be updated to
a new page in June, but this page is closer to whats needed for now.
- Add the Indexing API to the side nav as a placeholder, but it links to
the getting started page for now, this will also be a new page in June.
This commit is contained in:
Rodney Norris 2023-05-23 10:31:12 -05:00 committed by GitHub
parent d68317d95b
commit 38584b828a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,6 +99,7 @@ const navItems: ChromeNavigationNodeViewModel[] = [
title: i18n.translate('xpack.serverlessSearch.nav.content.indices', { title: i18n.translate('xpack.serverlessSearch.nav.content.indices', {
defaultMessage: 'Indices', defaultMessage: 'Indices',
}), }),
// TODO: this will be updated to a new Indices page
href: '/app/management/data/index_management/indices', href: '/app/management/data/index_management/indices',
}, },
{ {
@ -106,7 +107,16 @@ const navItems: ChromeNavigationNodeViewModel[] = [
title: i18n.translate('xpack.serverlessSearch.nav.content.transforms', { title: i18n.translate('xpack.serverlessSearch.nav.content.transforms', {
defaultMessage: 'Transforms', defaultMessage: 'Transforms',
}), }),
href: '/app/management/data/transform', // TODO: this will be updated to a new Transforms page
href: '/app/management/ingest/ingest_pipelines',
},
{
id: 'content_indexing_api',
title: i18n.translate('xpack.serverlessSearch.nav.content.indexingApi', {
defaultMessage: 'Indexing API',
}),
// TODO: this page does not exist yet, linking to getting started for now
href: '/app/elasticsearch',
}, },
], ],
}, },