Skip to content

Commit 423d7de

Browse files
Update plugin name (#662)
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com> (cherry picked from commit a525583) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent fb72704 commit 423d7de

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

common/constants.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import {
1313
import { customStringify } from './utils';
1414

1515
export const PLUGIN_ID = 'opensearch-flow';
16-
export const PLUGIN_NAME = 'OpenSearch Flow';
16+
export const PLUGIN_NAME = 'AI Search Flows'; // visible plugin name in the context of OSD
17+
export const OPENSEARCH_FLOW = 'OpenSearch Flow'; // overall feature / name that the plugin encapsulates
1718

1819
/**
1920
* BACKEND FLOW FRAMEWORK APIs

public/general_components/service_card/plugin_card.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ import {
1212
EuiTitle,
1313
} from '@elastic/eui';
1414
import { i18n } from '@osd/i18n';
15-
import { PLUGIN_ID } from '../../../common';
15+
import { PLUGIN_ID, PLUGIN_NAME } from '../../../common';
1616
import { ContentManagementPluginStart } from '../../../../../src/plugins/content_management/public';
1717
import { CoreStart } from '../../../../../src/core/public';
1818
import pluginIcon from './icon.svg';
1919

2020
const HEADER_TEXT = 'Design and test your search solutions with ease';
21-
const DESCRIPTION_TEXT =
22-
'OpenSearch Flow is a visual editor for creating search AI flows to power advanced search and generative AI solutions.';
21+
const DESCRIPTION_TEXT = `${PLUGIN_NAME} is a visual editor for creating search AI flows to power advanced search and generative AI solutions.`;
2322

2423
export const registerPluginCard = (
2524
contentManagement: ContentManagementPluginStart,

public/pages/workflows/import_workflow/import_workflow_modal.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import {
3939
import {
4040
FETCH_ALL_QUERY_LARGE,
4141
MAX_DESCRIPTION_LENGTH,
42+
PLUGIN_NAME,
4243
Workflow,
4344
WORKFLOW_NAME_REGEXP,
4445
WORKFLOW_NAME_RESTRICTIONS,
@@ -179,7 +180,7 @@ export function ImportWorkflowModal(props: ImportWorkflowModalProps) {
179180
<>
180181
<EuiFlexItem>
181182
<EuiCallOut
182-
title="This project is not compatible with OpenSearch Flow. You may not be able to edit or run it."
183+
title={`This project is not compatible with ${PLUGIN_NAME}. You may not be able to edit or run it.`}
183184
iconType={'help'}
184185
color="warning"
185186
/>

public/pages/workflows/workflows.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ import { WorkflowList } from './workflow_list';
3131
import { NewWorkflow } from './new_workflow';
3232
import { AppState, searchWorkflows, useAppDispatch } from '../../store';
3333
import { EmptyListMessage } from './empty_list_message';
34-
import { FETCH_ALL_QUERY_LARGE, PLUGIN_NAME } from '../../../common';
34+
import {
35+
FETCH_ALL_QUERY_LARGE,
36+
OPENSEARCH_FLOW,
37+
PLUGIN_NAME,
38+
} from '../../../common';
3539
import { ImportWorkflowModal } from './import_workflow';
3640
import { MountPoint } from '../../../../../src/core/public';
3741
import { DataSourceSelectableConfig } from '../../../../../src/plugins/data_source_management/public';
@@ -224,7 +228,7 @@ export function Workflows(props: WorkflowsProps) {
224228
}, [getSavedObjectsClient, getNotifications(), props.setActionMenu]);
225229
}
226230

227-
const DESCRIPTION = `Design, prototype, and experiment with solutions using ${PLUGIN_NAME}. Use the visual interface to build
231+
const DESCRIPTION = `Design, prototype, and experiment with solutions using ${OPENSEARCH_FLOW}. Use the visual interface to build
228232
ingest and search flows, test different configurations, and deploy them to your environment.`;
229233

230234
const pageTitleAndDescription = USE_NEW_HOME_PAGE ? (

0 commit comments

Comments
 (0)