Skip to content

Commit 6ad38fc

Browse files
roggenkemperclaude
andcommitted
fix(issue-detection): Custom help text for AI detection parent toggle
Use AI-specific description instead of the generic "detect this type of issue" text. Reorder the spread so field-level help takes precedence over the generic default. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cfdc491 commit 6ad38fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

static/app/views/settings/projectPerformance/projectPerformance.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,9 @@ export function ProjectPerformance() {
200200
});
201201

202202
const hasWebVitalsSeerSuggestions = useHasSeerWebVitalsSuggestions(project);
203-
// const hasAIIssueDetection =
204-
// organization.features.includes('gen-ai-features') &&
205-
// organization.features.includes('ai-issue-detection');
206-
const hasAIIssueDetection = true;
203+
const hasAIIssueDetection =
204+
organization.features.includes('gen-ai-features') &&
205+
organization.features.includes('ai-issue-detection');
207206

208207
const {
209208
data: threshold,
@@ -605,6 +604,7 @@ export function ProjectPerformance() {
605604
name: DetectorConfigAdmin.AI_ISSUE_DETECTION_ENABLED,
606605
type: 'boolean',
607606
label: t('AI Issue Detection'),
607+
help: t('Controls whether or not Sentry runs AI issue detection on your traces.'),
608608
defaultValue: true,
609609
onChange: value => {
610610
setApiQueryData<ProjectPerformanceSettings>(
@@ -1133,10 +1133,10 @@ export function ProjectPerformance() {
11331133
...fieldGroup,
11341134
fields: [
11351135
{
1136-
...manageField,
11371136
help: t(
11381137
'Controls whether or not Sentry should detect this type of issue.'
11391138
),
1139+
...manageField,
11401140
disabled: !hasAccess,
11411141
disabledReason: t('You do not have permission to manage detectors.'),
11421142
},

0 commit comments

Comments
 (0)