[Home] Fixes Kibana app description order on home page and updates Canvas copy (#80057)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
932e92b8ad
commit
26cad3c351
|
@ -25,8 +25,8 @@ import { SolutionPanel } from './solution_panel';
|
|||
import { FeatureCatalogueEntry, FeatureCatalogueSolution } from '../../../';
|
||||
|
||||
const sortByOrder = (
|
||||
{ order: orderA = 0 }: FeatureCatalogueSolution,
|
||||
{ order: orderB = 0 }: FeatureCatalogueSolution
|
||||
{ order: orderA = 0 }: FeatureCatalogueSolution | FeatureCatalogueEntry,
|
||||
{ order: orderB = 0 }: FeatureCatalogueSolution | FeatureCatalogueEntry
|
||||
) => orderA - orderB;
|
||||
|
||||
interface Props {
|
||||
|
@ -38,7 +38,9 @@ interface Props {
|
|||
export const SolutionsSection: FC<Props> = ({ addBasePath, solutions, directories }) => {
|
||||
// Separate Kibana from other solutions
|
||||
const kibana = solutions.find(({ id }) => id === 'kibana');
|
||||
const kibanaApps = directories.filter(({ solutionId }) => solutionId === 'kibana');
|
||||
const kibanaApps = directories
|
||||
.filter(({ solutionId }) => solutionId === 'kibana')
|
||||
.sort(sortByOrder);
|
||||
solutions = solutions.sort(sortByOrder).filter(({ id }) => id !== 'kibana');
|
||||
|
||||
return (
|
||||
|
|
|
@ -109,7 +109,7 @@ export class KibanaOverviewPlugin
|
|||
defaultMessage: 'Search and find insights.',
|
||||
}),
|
||||
i18n.translate('kibanaOverview.kibana.appDescription3', {
|
||||
defaultMessage: 'Design pixel-perfect reports.',
|
||||
defaultMessage: 'Design pixel-perfect presentations.',
|
||||
}),
|
||||
i18n.translate('kibanaOverview.kibana.appDescription4', {
|
||||
defaultMessage: 'Plot geographic data.',
|
||||
|
|
|
@ -11,7 +11,7 @@ export const featureCatalogueEntry = {
|
|||
id: 'canvas',
|
||||
title: 'Canvas',
|
||||
subtitle: i18n.translate('xpack.canvas.featureCatalogue.canvasSubtitle', {
|
||||
defaultMessage: 'Design pixel-perfect reports.',
|
||||
defaultMessage: 'Design pixel-perfect presentations.',
|
||||
}),
|
||||
description: i18n.translate('xpack.canvas.appDescription', {
|
||||
defaultMessage: 'Showcase your data in a pixel-perfect way.',
|
||||
|
|
Loading…
Reference in a new issue