diff --git a/static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx b/static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx index 3fa52295102e..40293d442f08 100644 --- a/static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx +++ b/static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx @@ -425,7 +425,7 @@ export function GlobalCommandPaletteActions() { /> {organization.features.includes('gen-ai-conversations') && ( )} diff --git a/static/app/views/explore/conversations/conversationDetail.spec.tsx b/static/app/views/explore/conversations/conversationDetail.spec.tsx index 1b232b46ae9d..2d642fee2be6 100644 --- a/static/app/views/explore/conversations/conversationDetail.spec.tsx +++ b/static/app/views/explore/conversations/conversationDetail.spec.tsx @@ -13,6 +13,7 @@ import {PageFiltersStore} from 'sentry/components/pageFilters/store'; import {TopBar} from 'sentry/views/navigation/topBar'; import ConversationDetailPage from './conversationDetail'; +import {CONVERSATIONS_SIDEBAR_LABEL} from './settings'; const CONVERSATION_ID = 'conv-1'; @@ -150,7 +151,7 @@ describe('ConversationDetailPage breadcrumbs', () => { const topBar = screen.getByRole('banner'); expect( - await within(topBar).findByRole('link', {name: 'Conversations'}) + await within(topBar).findByRole('link', {name: CONVERSATIONS_SIDEBAR_LABEL}) ).toBeInTheDocument(); // The conversation id is the top-bar identifier, owned by the TopBar title // slot, alongside the copy affordance. diff --git a/static/app/views/explore/conversations/layout.spec.tsx b/static/app/views/explore/conversations/layout.spec.tsx index d6104804735f..972fe2029289 100644 --- a/static/app/views/explore/conversations/layout.spec.tsx +++ b/static/app/views/explore/conversations/layout.spec.tsx @@ -6,6 +6,7 @@ import {PageFiltersStore} from 'sentry/components/pageFilters/store'; import {TopBar} from 'sentry/views/navigation/topBar'; import ConversationsLayout from './layout'; +import {CONVERSATIONS_SIDEBAR_LABEL} from './settings'; const organization = OrganizationFixture({ features: ['performance-view', 'gen-ai-conversations'], @@ -59,7 +60,7 @@ describe('ConversationsLayout', () => { const topBar = screen.getByRole('banner'); expect( - await within(topBar).findByRole('link', {name: 'Conversations'}) + await within(topBar).findByRole('link', {name: CONVERSATIONS_SIDEBAR_LABEL}) ).toBeInTheDocument(); expect(within(topBar).getByText('My saved query')).toBeInTheDocument(); }); @@ -76,7 +77,7 @@ describe('ConversationsLayout', () => { const topBar = screen.getByRole('banner'); expect( - await within(topBar).findByRole('link', {name: 'Conversations'}) + await within(topBar).findByRole('link', {name: CONVERSATIONS_SIDEBAR_LABEL}) ).toBeInTheDocument(); // The saved query title is the page heading, owned by the TopBar title slot. expect( @@ -97,7 +98,7 @@ describe('ConversationsLayout', () => { const topBar = screen.getByRole('banner'); expect(within(topBar).queryByText('AI Conversations')).not.toBeInTheDocument(); expect( - within(topBar).queryByRole('link', {name: 'Conversations'}) + within(topBar).queryByRole('link', {name: CONVERSATIONS_SIDEBAR_LABEL}) ).not.toBeInTheDocument(); }); }); diff --git a/static/app/views/explore/conversations/settings.ts b/static/app/views/explore/conversations/settings.ts index 6e738fec8c41..8590a5264b2b 100644 --- a/static/app/views/explore/conversations/settings.ts +++ b/static/app/views/explore/conversations/settings.ts @@ -2,6 +2,6 @@ import {t} from 'sentry/locale'; export const CONVERSATIONS_LANDING_SUB_PATH = 'conversations'; export const CONVERSATIONS_LANDING_TITLE = t('AI Conversations'); -export const CONVERSATIONS_SIDEBAR_LABEL = t('Conversations'); +export const CONVERSATIONS_SIDEBAR_LABEL = t('Agents'); export const MAX_PICKABLE_DAYS = 30; diff --git a/static/app/views/navigation/secondary/sections/explore/exploreSecondaryNavigation.tsx b/static/app/views/navigation/secondary/sections/explore/exploreSecondaryNavigation.tsx index e1b51abdfb22..1304e6ef1d90 100644 --- a/static/app/views/navigation/secondary/sections/explore/exploreSecondaryNavigation.tsx +++ b/static/app/views/navigation/secondary/sections/explore/exploreSecondaryNavigation.tsx @@ -148,7 +148,7 @@ export function ExploreSecondaryNavigation() { analyticsItemName="explore_conversations" trailingItems={} > - {t('Conversations')} + {t('Agents')}