Skip to content

Commit 19c343e

Browse files
authored
[Search] Revert renaming of playground to RAG playground (#234070)
## Summary This PR reverts the changes made in #232136, and renames RAG Playground back to Playground. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] ~Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~ - [ ] ~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [ ] ~[Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios~ - [ ] ~If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list]~(https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - [ ] ~This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations.~ - [ ] ~[Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed~ - [ ] ~The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines]~(https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [ ] ~Review the [backport guidelines]~(https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.~
1 parent 83b7728 commit 19c343e

34 files changed

+55
-56
lines changed

x-pack/solutions/search/plugins/search_homepage/public/components/sample_data_action_button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const SampleDataActionButton = ({ clickEvent = AnalyticsEvents.installSam
9999
<EuiContextMenuItem key="playground" onClick={navigateToPlayground} icon="comment">
100100
<FormattedMessage
101101
id="xpack.searchHomepage.sampleData.linkToPlayground"
102-
defaultMessage="RAG Playground"
102+
defaultMessage="Playground"
103103
/>
104104
</EuiContextMenuItem>,
105105
<EuiContextMenuItem key="index" onClick={navigateToIndexDetails} icon="index">

x-pack/solutions/search/plugins/search_indices/public/components/indices/details_page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export const SearchIndexDetailsPage = () => {
256256
>
257257
<FormattedMessage
258258
id="xpack.searchIndices.indexAction.useInPlaygroundButtonLabel"
259-
defaultMessage="Search in RAG Playground"
259+
defaultMessage="Search in Playground"
260260
/>
261261
</EuiButton>
262262
</EuiFlexItem>

x-pack/solutions/search/plugins/search_indices/public/components/indices/details_search_example.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const IndexSearchExample = ({
7272
<h5>
7373
<FormattedMessage
7474
id="xpack.searchIndices.indexDetail.searchExample.playground.title"
75-
defaultMessage="RAG Playground"
75+
defaultMessage="Playground"
7676
/>
7777
</h5>
7878
</EuiTitle>
@@ -94,7 +94,7 @@ export const IndexSearchExample = ({
9494
>
9595
<FormattedMessage
9696
id="xpack.searchIndices.indexDetail.searchExample.playground.cta"
97-
defaultMessage="Search in RAG Playground"
97+
defaultMessage="Search in Playground"
9898
/>
9999
</EuiButton>
100100
</div>

x-pack/solutions/search/plugins/search_indices/public/components/shared/sample_data_action_button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const SampleDataActionButton: React.FC<SampleDataActionButtonProps> = ({
9595
<EuiContextMenuItem key="playground" onClick={navigateToPlayground} icon="comment">
9696
<FormattedMessage
9797
id="xpack.searchIndices.shared.createIndex.ingestSampleData.linkToPlayground"
98-
defaultMessage="RAG Playground"
98+
defaultMessage="Playground"
9999
/>
100100
</EuiContextMenuItem>,
101101
<EuiContextMenuItem

x-pack/solutions/search/plugins/search_playground/common/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export { SearchPlaygroundQueryKeys, SearchPlaygroundMutationKeys } from './query
1212

1313
export const PLUGIN_ID = 'searchPlayground';
1414
export const PLUGIN_NAME = i18n.translate('xpack.searchPlayground.plugin.name', {
15-
defaultMessage: 'RAG Playground',
15+
defaultMessage: 'Playground',
1616
});
1717
export const PLUGIN_PATH = '/app/search_playground';
1818

x-pack/solutions/search/plugins/search_playground/public/components/chat_sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const ChatSidebar: React.FC = () => {
2424
},
2525
{
2626
title: i18n.translate('xpack.searchPlayground.sidebar.contextTitle', {
27-
defaultMessage: 'RAG Playground context',
27+
defaultMessage: 'Playground context',
2828
}),
2929
extraAction: (
3030
<EuiLink

x-pack/solutions/search/plugins/search_playground/public/components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const Header: React.FC<HeaderProps> = ({
8585
<h2>
8686
<FormattedMessage
8787
id="xpack.searchPlayground.unsaved.pageTitle"
88-
defaultMessage="Unsaved RAG playground"
88+
defaultMessage="Unsaved playground"
8989
/>
9090
</h2>
9191
</EuiTitle>

x-pack/solutions/search/plugins/search_playground/public/components/not_found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const PlaygroundRouteNotFound = () => {
5454
actions={
5555
<EuiButton data-test-subj="playgroundRouteNotFoundCTA" onClick={goToPlayground} fill>
5656
{i18n.translate('xpack.searchPlayground.notFound.action1', {
57-
defaultMessage: 'Back to RAG Playground',
57+
defaultMessage: 'Back to Playground',
5858
})}
5959
</EuiButton>
6060
}

x-pack/solutions/search/plugins/search_playground/public/components/playground_header_docs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const PlaygroundHeaderDocs: React.FC = () => (
2323
size="s"
2424
>
2525
{i18n.translate('xpack.searchPlayground.pageTitle.header.docLink', {
26-
defaultMessage: 'RAG Playground Docs',
26+
defaultMessage: 'Playground Docs',
2727
})}
2828
</EuiButtonEmpty>
2929
);

x-pack/solutions/search/plugins/search_playground/public/components/playgrounds_list/empty_state/body.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const PlaygroundsListEmptyStateBody = ({
3737
>
3838
<FormattedMessage
3939
id="xpack.searchPlayground.playgroundsList.emptyPrompt.cta.text"
40-
defaultMessage="New RAG Playground"
40+
defaultMessage="New Playground"
4141
/>
4242
</EuiButton>
4343
</span>

0 commit comments

Comments
 (0)