mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Serverless Search] Adds icons and category for Serverless Search pages (#166726)
## Summary This fixes the icon and category being missing for top level search results for Serverless Search pages. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
aa36fe67ae
commit
72b1d3236a
1 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,13 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { AppMountParameters, CoreSetup, CoreStart, Plugin } from '@kbn/core/public';
|
||||
import {
|
||||
AppMountParameters,
|
||||
CoreSetup,
|
||||
CoreStart,
|
||||
DEFAULT_APP_CATEGORIES,
|
||||
Plugin,
|
||||
} from '@kbn/core/public';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { appIds } from '@kbn/management-cards-navigation';
|
||||
import { AuthenticatedUser } from '@kbn/security-plugin/common';
|
||||
|
@ -36,6 +42,8 @@ export class ServerlessSearchPlugin
|
|||
title: i18n.translate('xpack.serverlessSearch.app.elasticsearch.title', {
|
||||
defaultMessage: 'Elasticsearch',
|
||||
}),
|
||||
euiIconType: 'logoElastic',
|
||||
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
|
||||
appRoute: '/app/elasticsearch',
|
||||
async mount({ element }: AppMountParameters) {
|
||||
const { renderApp } = await import('./application/elasticsearch');
|
||||
|
@ -60,6 +68,8 @@ export class ServerlessSearchPlugin
|
|||
defaultMessage: 'Connectors',
|
||||
}),
|
||||
appRoute: '/app/connectors',
|
||||
euiIconType: 'logoElastic',
|
||||
category: DEFAULT_APP_CATEGORIES.enterpriseSearch,
|
||||
searchable: false,
|
||||
async mount({ element }: AppMountParameters) {
|
||||
const { renderApp } = await import('./application/connectors');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue