Skip to content

Commit 2ff25d2

Browse files
roggenkemperclaude
andcommitted
ref(issue-detection): Use IssueTitle.AI_DETECTED_GENERAL for section title
Match the pattern used by other detection sections instead of a local variable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9e98040 commit 2ff25d2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ export function ProjectPerformance() {
203203
const hasAIIssueDetection =
204204
organization.features.includes('gen-ai-features') &&
205205
organization.features.includes('ai-issue-detection');
206-
const aiIssueDetectionTitle = t('AI Issue Detection');
207206

208207
const {
209208
data: threshold,
@@ -601,10 +600,10 @@ export function ProjectPerformance() {
601600
},
602601
visible: hasWebVitalsSeerSuggestions,
603602
},
604-
[aiIssueDetectionTitle]: {
603+
[IssueTitle.AI_DETECTED_GENERAL]: {
605604
name: DetectorConfigAdmin.AI_ISSUE_DETECTION_ENABLED,
606605
type: 'boolean',
607-
label: aiIssueDetectionTitle,
606+
label: IssueTitle.AI_DETECTED_GENERAL,
608607
help: t('Controls whether or not Sentry runs AI issue detection on your traces.'),
609608
defaultValue: true,
610609
onChange: value => {
@@ -1052,7 +1051,7 @@ export function ProjectPerformance() {
10521051
initiallyCollapsed: issueType !== IssueType.WEB_VITALS,
10531052
},
10541053
{
1055-
title: aiIssueDetectionTitle,
1054+
title: IssueTitle.AI_DETECTED_GENERAL,
10561055
fields: [
10571056
{
10581057
name: DetectorConfigAdmin.AI_DETECTED_HTTP_ENABLED,

0 commit comments

Comments
 (0)