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

Update visible plugin name to 'AI Search Flows' #662

Merged
merged 1 commit into from
Mar 5, 2025
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
3 changes: 2 additions & 1 deletion common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
import { customStringify } from './utils';

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

/**
* BACKEND FLOW FRAMEWORK APIs
Expand Down
5 changes: 2 additions & 3 deletions public/general_components/service_card/plugin_card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ import {
EuiTitle,
} from '@elastic/eui';
import { i18n } from '@osd/i18n';
import { PLUGIN_ID } from '../../../common';
import { PLUGIN_ID, PLUGIN_NAME } from '../../../common';
import { ContentManagementPluginStart } from '../../../../../src/plugins/content_management/public';
import { CoreStart } from '../../../../../src/core/public';
import pluginIcon from './icon.svg';

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

export const registerPluginCard = (
contentManagement: ContentManagementPluginStart,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import {
import {
FETCH_ALL_QUERY_LARGE,
MAX_DESCRIPTION_LENGTH,
PLUGIN_NAME,
Workflow,
WORKFLOW_NAME_REGEXP,
WORKFLOW_NAME_RESTRICTIONS,
Expand Down Expand Up @@ -179,7 +180,7 @@ export function ImportWorkflowModal(props: ImportWorkflowModalProps) {
<>
<EuiFlexItem>
<EuiCallOut
title="This project is not compatible with OpenSearch Flow. You may not be able to edit or run it."
title={`This project is not compatible with ${PLUGIN_NAME}. You may not be able to edit or run it.`}
iconType={'help'}
color="warning"
/>
Expand Down
8 changes: 6 additions & 2 deletions public/pages/workflows/workflows.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ import { WorkflowList } from './workflow_list';
import { NewWorkflow } from './new_workflow';
import { AppState, searchWorkflows, useAppDispatch } from '../../store';
import { EmptyListMessage } from './empty_list_message';
import { FETCH_ALL_QUERY_LARGE, PLUGIN_NAME } from '../../../common';
import {
FETCH_ALL_QUERY_LARGE,
OPENSEARCH_FLOW,
PLUGIN_NAME,
} from '../../../common';
import { ImportWorkflowModal } from './import_workflow';
import { MountPoint } from '../../../../../src/core/public';
import { DataSourceSelectableConfig } from '../../../../../src/plugins/data_source_management/public';
Expand Down Expand Up @@ -224,7 +228,7 @@ export function Workflows(props: WorkflowsProps) {
}, [getSavedObjectsClient, getNotifications(), props.setActionMenu]);
}

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

const pageTitleAndDescription = USE_NEW_HOME_PAGE ? (
Expand Down
Loading