replay.tsx 656 B

1234567891011121314151617181920212223
  1. import type {JsonFormObject} from 'sentry/components/forms/types';
  2. import {t} from 'sentry/locale';
  3. export const route = '/settings/:orgId/projects/:projectId/replays/';
  4. const formGroups: JsonFormObject[] = [
  5. {
  6. title: 'Settings',
  7. fields: [
  8. {
  9. name: 'sentry:replay_rage_click_issues',
  10. type: 'boolean',
  11. // additional data/props that is related to rendering of form field rather than data
  12. label: t('Create Rage Click Issues'),
  13. help: t('Toggles whether or not to create Session Replay Rage Click Issues'),
  14. getData: data => ({options: data}),
  15. },
  16. ],
  17. },
  18. ];
  19. export default formGroups;