Skip to content

chore(seer): Update gen AI toggle copy #91797

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

Merged
merged 2 commits into from
May 16, 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
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ export const makeHideAiFeaturesField = (organization: Organization): FieldObject
return {
name: 'hideAiFeatures',
type: 'boolean',
label: t('Enable Generative AI features'),
help: tct('Enables [docs:features] powered by Generative AI', {
docs: (
<ExternalLink href="https://docs.sentry.io/product/issues/issue-details/sentry-ai/" />
),
}),
label: t('Show Generative AI Features'),
help: tct(
'Allows organization members to access [docs:features] powered by generative AI',
{
docs: (
<ExternalLink href="https://docs.sentry.io/product/issues/issue-details/sentry-ai/" />
),
}
),
defaultValue: defaultEnableSeerFeaturesValue(organization),
disabled: ({access}) => !access.has('org:write'),
getValue: value => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('OrganizationSettingsForm', function () {
);
});

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

const checkbox = screen.getByRole('checkbox', {
name: 'Enable Generative AI features',
name: 'Show Generative AI Features',
});

// Inverted from hideAiFeatures
Expand Down Expand Up @@ -245,7 +245,7 @@ describe('OrganizationSettingsForm', function () {
}
);

const toggle = screen.getByRole('checkbox', {name: 'Enable Generative AI features'});
const toggle = screen.getByRole('checkbox', {name: 'Show Generative AI Features'});
expect(toggle).toBeEnabled();
});
});
Loading