Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ function CursorIntegrationFields({
if (!isAutoFixEnabled) {
disabledReason = t('Turn on Auto-Triggered Fixes to use this feature.');
} else if (!isBackgroundAgentEnabled) {
disabledReason = t('This setting is only available when using background agents.');
disabledReason = t(
'This setting is only available when using an external coding agent.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: did we mean to change this from plural to singular?

);
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ export default function BackgroundAgentPicker({
onSuccess: () =>
addSuccessMessage(
value
? tct('Started using [name] background agent', {
? tct('Started using [name] as coding agent', {
name: <strong>{integration.name}</strong>,
})
: tct('Stopped using [name] background agent', {
: tct('Stopped using [name] as coding agent', {
name: <strong>{integration.name}</strong>,
})
),
onError: () =>
addErrorMessage(
tct('Failed to enable [name] background agent', {
tct('Failed to set [name] as coding agent', {
name: <strong>{integration.name}</strong>,
})
),
Expand Down Expand Up @@ -156,18 +156,18 @@ export default function BackgroundAgentPicker({
onSuccess: () =>
addSuccessMessage(
integration
? tct('Started using [name] background agent', {
? tct('Started using [name] as coding agent', {
name: <strong>{integration.name}</strong>,
})
: t('Stopped using background agent')
: t('Removed coding agent')
),
onError: () =>
addErrorMessage(
integration
? tct('Failed to enable [name] background agent', {
? tct('Failed to set [name] as coding agent', {
name: <strong>{integration.name}</strong>,
})
: t('Failed to disable background agent')
: t('Failed to update coding agent')
),
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface Props {

/**
* Toggle for allowing PR auto creation within the Seer Agent section.
* This is disabled when background agents are configured.
* This is disabled when an external coding agent is configured.
*/
export default function SeerAgentSection({canWrite, project, preference}: Props) {
const organization = useOrganization();
Expand Down Expand Up @@ -50,7 +50,9 @@ export default function SeerAgentSection({canWrite, project, preference}: Props)
} else if (!isAutoFixEnabled) {
disabledReason = t('Turn on Auto-Triggered Fixes to use this feature.');
} else if (isBackgroundAgentEnabled) {
disabledReason = t('This setting is not available when using background agents.');
disabledReason = t(
'This setting is not available when using an external coding agent.'
);
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function SeerSettingsContainer({canWrite, preference, project}: P
{showBackgroundAgentSection && (
<Fragment>
<PanelNoMargin>
<PanelHeader>{t('Agent Delegation')}</PanelHeader>
<PanelHeader>{t('Coding Agent')}</PanelHeader>
<PanelBody>
<BackgroundAgentPicker
supportedIntegrations={supportedIntegrations}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ const COLUMNS = [
{
title: (
<Flex gap="sm" align="center">
{t('Background Agent')}
{t('Coding Agent')}
<QuestionTooltip
title={t(
'Background agent delegation can only be changed on the individual project settings page. Background agents have more settings that are not shown here.'
'Coding agent delegation can only be changed on the individual project settings page. Coding agents have more settings that are not shown here.'
)}
size="xs"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ export default function SeerProjectTableRow({
<Flex align="center" gap="sm">
{'n/a'}
<QuestionTooltip
title={t('This setting does not apply to background agents.')}
title={t(
'This setting does not apply when using an external coding agent.'
)}
size="xs"
/>
</Flex>
Expand Down
4 changes: 2 additions & 2 deletions static/gsApp/views/seerAutomation/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ export default function SeerAutomationSettings() {
{
visible: false, // TODO(ryan953): Disabled until the backend is fully ready
name: 'allowBackgroundAgentDelegation',
label: t('Allow Delegation to Background Agents'),
label: t('Allow Delegation to External Coding Agents'),
help: tct(
'Enable this to allow projects to use Agents other than Seer for automation tasks. [docs:Read the docs] to learn more.',
'Enable this to allow projects to use coding agents other than Seer for automation tasks. [docs:Read the docs] to learn more.',
{
docs: (
<ExternalLink href="https://docs.sentry.io/organization/integrations/cursor/" />
Expand Down
Loading