accountNotificationSettings.tsx 723 B

1234567891011121314151617181920
  1. import {Field} from 'sentry/components/forms/types';
  2. import {t} from 'sentry/locale';
  3. // Export route to make these forms searchable by label/help
  4. export const route = '/settings/account/notifications/';
  5. export const fields: {[key: string]: Field} = {
  6. personalActivityNotifications: {
  7. name: 'personalActivityNotifications',
  8. type: 'boolean',
  9. label: t('Notify Me About My Own Activity'),
  10. help: t('Enable this to receive notifications about your own actions on Sentry.'),
  11. },
  12. selfAssignOnResolve: {
  13. name: 'selfAssignOnResolve',
  14. type: 'boolean',
  15. label: t("Claim Unassigned Issues I've Resolved"),
  16. help: t("You'll receive notifications about any changes that happen afterwards."),
  17. },
  18. };