Skip to content

Commit 66caff3

Browse files
evanpurkhiserandrewshie-sentry
authored andcommitted
feat(ui): Do not auto-save scrubbing configs (#93030)
Part of [RTC-651: \[Sentry UI\] Consistently Confirm Destructive Actions](https://linear.app/getsentry/issue/RTC-651/sentry-ui-consistently-confirm-destructive-actions)
1 parent 81cce03 commit 66caff3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

static/app/data/forms/organizationSecurityAndPrivacyGroups.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ const formGroups: JsonFormObject[] = [
154154
extraHelp: t(
155155
'Note: These fields will be used in addition to project specific fields.'
156156
),
157+
saveOnBlur: false,
158+
saveMessage: t(
159+
'Changes to your scrubbing configuration will apply to all new events.'
160+
),
157161
getValue: val => extractMultilineFields(val),
158162
setValue: val => convertMultilineFieldValue(val),
159163
},
@@ -175,6 +179,10 @@ const formGroups: JsonFormObject[] = [
175179
extraHelp: t(
176180
'Note: These fields will be used in addition to project specific fields'
177181
),
182+
saveOnBlur: false,
183+
saveMessage: t(
184+
'Changes to your scrubbing configuration will apply to all new events.'
185+
),
178186
getValue: val => extractMultilineFields(val),
179187
setValue: val => convertMultilineFieldValue(val),
180188
},

0 commit comments

Comments
 (0)