File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ import type { Field } from 'sentry/components/forms/types' ;
2
+ import { t } from 'sentry/locale' ;
3
+
4
+ // Export route to make these forms searchable by label/help
5
+ export const route = '/settings/account/notifications/' ;
6
+
7
+ export const fields = {
8
+ personalActivityNotifications : {
9
+ name : 'personalActivityNotifications' ,
10
+ type : 'boolean' ,
11
+ label : t ( 'Notify Me About My Own Activity' ) ,
12
+ help : t ( 'Enable this to receive notifications about your own actions on Sentry.' ) ,
13
+ } ,
14
+ selfAssignOnResolve : {
15
+ name : 'selfAssignOnResolve' ,
16
+ type : 'boolean' ,
17
+ label : t ( "Claim Unassigned Issues I've Resolved" ) ,
18
+ help : t ( "You'll receive notifications about any changes that happen afterwards." ) ,
19
+ } ,
20
+ } satisfies Record < string , Field > ;
You can’t perform that action at this time.
0 commit comments