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

[AUTO] Increment version to 2.16.0.0 #410

Open
wants to merge 3 commits into
base: 2.x
Choose a base branch
from
Open
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
5 changes: 4 additions & 1 deletion opensearch_dashboards.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"requiredPlugins": [
"navigation"
],
"optionalPlugins": ["dataSource","dataSourceManagement"],
"optionalPlugins": [
"dataSource",
"dataSourceManagement"
],
"supportedOSDataSourceVersions": ">=2.8.0"
}
13 changes: 11 additions & 2 deletions public/plugin_nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { i18n } from '@osd/i18n';
import { CoreSetup } from '../../../src/core/public';
import { SearchRelevancePluginSetup } from './types';
import { PLUGIN_ID } from '../common';
import { DEFAULT_NAV_GROUPS, DEFAULT_APP_CATEGORIES, AppCategory } from '../../../src/core/public';
import { i18n } from "@osd/i18n";
import { DEFAULT_NAV_GROUPS, AppCategory } from '../../../src/core/public';

const searchRelevance_category: Record<string, AppCategory & { group?: AppCategory }> = {
evaluateSearch: {
Expand All @@ -19,11 +19,20 @@ const searchRelevance_category: Record<string, AppCategory & { group?: AppCatego
},
};

const titleForSearchRelevance = i18n.translate(
'plugins.dashboards_search_relevance.nav.title.label',
{
defaultMessage: 'Compare search results',
}
);

export function registerAllPluginNavGroups(core: CoreSetup<SearchRelevancePluginSetup>) {
core.chrome.navGroup.addNavLinksToGroup(DEFAULT_NAV_GROUPS.search, [
{
id: PLUGIN_ID,
category: searchRelevance_category.evaluateSearch,//change to Evaluate Search
title: titleForSearchRelevance,
showInAllNavGroup: true
},
]);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Version 2.16.0.0 Release Notes

Compatible with OpenSearch 2.16.0

### Features
* [Navigation] Register all plugins to NavGroups ([#406](https://github.com/opensearch-project/dashboards-search-relevance/pull/406)) ([#408](https://github.com/opensearch-project/dashboards-search-relevance/pull/408))
* version decoupling support for MDS ([#407](https://github.com/opensearch-project/dashboards-search-relevance/pull/407)) ([#409](https://github.com/opensearch-project/dashboards-search-relevance/pull/409))

## New Contributors
@tackadam made their first contribution in ([#406](https://github.com/opensearch-project/dashboards-search-relevance/pull/406))
Loading