Skip to content

Commit 5acef7c

Browse files
authored
fix: re-add accountNotificationSettings.tsx (#90065)
This restores the file `static/app/data/forms/accountNotificationSettings.tsx` as everything under `static/app/data/forms` is dynamically imported: https://github.com/getsentry/sentry/blob/19478d9922d3aa417dbca27318b89d0e8f85e044/static/app/components/search/sources/formSource.tsx#L59-L61
1 parent dd1ce30 commit 5acef7c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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>;

0 commit comments

Comments
 (0)