Skip to content

Commit 51248b3

Browse files
ryan953andrewshie-sentry
authored andcommitted
fix(replay): Include a message that delte/merge is not supported for replay issues (#81122)
This is modeled after the performance config: https://github.com/getsentry/sentry/blob/38e79dd514a71d24724ce5e8725e78f98983f4ff/static/app/utils/issueTypeConfig/performanceConfig.tsx#L9-L20 ideally both Perf and Replay issues would be deletable.... and the team is checking on that. Until we get that confirmation tho... lets add the message.
1 parent e3fbc2f commit 51248b3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

static/app/utils/issueTypeConfig/replayConfig.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,18 @@ const replayConfig: IssueCategoryConfigMapping = {
55
_categoryDefaults: {
66
actions: {
77
archiveUntilOccurrence: {enabled: true},
8-
delete: {enabled: false},
9-
deleteAndDiscard: {enabled: false},
10-
merge: {enabled: false},
8+
delete: {
9+
enabled: false,
10+
disabledReason: t('Not yet supported for replay issues'),
11+
},
12+
deleteAndDiscard: {
13+
enabled: false,
14+
disabledReason: t('Not yet supported for replay issues'),
15+
},
16+
merge: {
17+
enabled: false,
18+
disabledReason: t('Not supported for replay issues'),
19+
},
1120
ignore: {enabled: true},
1221
resolveInRelease: {enabled: true},
1322
share: {enabled: true},

0 commit comments

Comments
 (0)