Skip to content

Commit 5cb6560

Browse files
roagaandrewshie-sentry
authored andcommitted
chore(seer): Update gen AI toggle copy (#91797)
Updates copy of gen AI settings toggle for clarity so it reads more as a kill switch than part of the consent flow
1 parent 37d575e commit 5cb6560

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

static/app/views/settings/organizationGeneralSettings/aiFeatureSettings.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ export const makeHideAiFeaturesField = (organization: Organization): FieldObject
1414
return {
1515
name: 'hideAiFeatures',
1616
type: 'boolean',
17-
label: t('Enable Generative AI features'),
18-
help: tct('Enables [docs:features] powered by Generative AI', {
19-
docs: (
20-
<ExternalLink href="https://docs.sentry.io/product/issues/issue-details/sentry-ai/" />
21-
),
22-
}),
17+
label: t('Show Generative AI Features'),
18+
help: tct(
19+
'Allows organization members to access [docs:features] powered by generative AI',
20+
{
21+
docs: (
22+
<ExternalLink href="https://docs.sentry.io/product/issues/issue-details/sentry-ai/" />
23+
),
24+
}
25+
),
2326
defaultValue: defaultEnableSeerFeaturesValue(organization),
2427
disabled: ({access}) => !access.has('org:write'),
2528
getValue: value => {

static/app/views/settings/organizationGeneralSettings/organizationSettingsForm.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ describe('OrganizationSettingsForm', function () {
175175
);
176176
});
177177

178-
it('can toggle "Enable Seer Features"', async function () {
178+
it('can toggle "Show Generative AI Features"', async function () {
179179
// Default org fixture has hideAiFeatures: false, so Seer is enabled by default
180180
const hiddenAiOrg = OrganizationFixture({hideAiFeatures: true});
181181
render(
@@ -192,7 +192,7 @@ describe('OrganizationSettingsForm', function () {
192192
});
193193

194194
const checkbox = screen.getByRole('checkbox', {
195-
name: 'Enable Generative AI features',
195+
name: 'Show Generative AI Features',
196196
});
197197

198198
// Inverted from hideAiFeatures
@@ -245,7 +245,7 @@ describe('OrganizationSettingsForm', function () {
245245
}
246246
);
247247

248-
const toggle = screen.getByRole('checkbox', {name: 'Enable Generative AI features'});
248+
const toggle = screen.getByRole('checkbox', {name: 'Show Generative AI Features'});
249249
expect(toggle).toBeEnabled();
250250
});
251251
});

0 commit comments

Comments
 (0)