* Move Lens frontend to Kibana platform * Fix line breaks * Fix jest tests * Fix remaining test * Remove old Lens plugin entry * Fix i18n prefix * Add config schema * Address review
25 lines
727 B
TypeScript
25 lines
727 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { ChromeStart, DocLinksStart } from 'kibana/public';
|
|
|
|
export function addHelpMenuToAppChrome(chrome: ChromeStart, docLinks: DocLinksStart) {
|
|
chrome.setHelpExtension({
|
|
appName: 'Lens',
|
|
links: [
|
|
{
|
|
linkType: 'documentation',
|
|
href: `${docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${docLinks.DOC_LINK_VERSION}/lens.html`,
|
|
},
|
|
{
|
|
linkType: 'github',
|
|
title: '[Lens]',
|
|
labels: ['Feature:Lens'],
|
|
},
|
|
],
|
|
});
|
|
}
|