[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:
Catherine Liu 2020-10-26 15:39:31 -07:00 committed by GitHub
parent 932e92b8ad
commit 26cad3c351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

@ -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 (

View file

@ -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.',

View file

@ -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.',