replay.tsx 617 B

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