Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [Core UI] Kibana Overview Page (#75827) #79708

Merged
merged 3 commits into from
Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"indexPatternManagement": "src/plugins/index_pattern_management",
"advancedSettings": "src/plugins/advanced_settings",
"kibana_legacy": "src/plugins/kibana_legacy",
"kibanaOverview": "src/plugins/kibana_overview",
"kibana_react": "src/legacy/core_plugins/kibana_react",
"kibana-react": "src/plugins/kibana_react",
"kibana_utils": "src/plugins/kibana_utils",
Expand Down
4 changes: 4 additions & 0 deletions docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel.
|This plugin contains several helpers and services to integrate pieces of the legacy Kibana app with the new Kibana platform.


|{kib-repo}blob/{branch}/src/plugins/kibana_overview/README.md[kibanaOverview]
|An overview page highlighting Kibana apps


|{kib-repo}blob/{branch}/src/plugins/kibana_react/README.md[kibanaReact]
|Tools for building React applications in Kibana.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,18 @@ export class AdvancedSettingsComponent extends Component<
setTimeout(() => {
const id = hash.replace('#', '');
const element = document.getElementById(id);
const globalNavOffset = document.getElementById('globalHeaderBars')?.offsetHeight || 0;

let globalNavOffset = 0;

const globalNavBars = document
.getElementById('globalHeaderBars')
?.getElementsByClassName('euiHeader');

if (globalNavBars) {
Array.from(globalNavBars).forEach((navBar) => {
globalNavOffset += (navBar as HTMLDivElement).offsetHeight;
});
}

if (element) {
element.scrollIntoView();
Expand Down
5 changes: 5 additions & 0 deletions src/plugins/dashboard/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,13 +395,18 @@ export class DashboardPlugin
title: i18n.translate('dashboard.featureCatalogue.dashboardTitle', {
defaultMessage: 'Dashboard',
}),
subtitle: i18n.translate('dashboard.featureCatalogue.dashboardSubtitle', {
defaultMessage: 'Analyze data in dashboards.',
}),
description: i18n.translate('dashboard.featureCatalogue.dashboardDescription', {
defaultMessage: 'Display and share a collection of visualizations and saved searches.',
}),
icon: 'dashboardApp',
path: `/app/dashboards#${DashboardConstants.LANDING_PAGE_PATH}`,
showOnHomePage: false,
category: FeatureCatalogueCategory.DATA,
solutionId: 'kibana',
order: 100,
});
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/plugins/discover/public/register_feature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@ export function registerFeature(home: HomePublicPluginSetup) {
title: i18n.translate('discover.discoverTitle', {
defaultMessage: 'Discover',
}),
subtitle: i18n.translate('discover.discoverSubtitle', {
defaultMessage: 'Search and find insights.',
}),
description: i18n.translate('discover.discoverDescription', {
defaultMessage: 'Interactively explore your data by querying and filtering raw documents.',
}),
icon: 'discoverApp',
path: '/app/discover#/',
showOnHomePage: false,
category: FeatureCatalogueCategory.DATA,
solutionId: 'kibana',
order: 200,
});
}
Loading