userFeedbackProcessing.tsx 638 B

12345678910111213141516171819202122
  1. import type {JsonFormObject} from 'sentry/components/forms/types';
  2. export const route = '/settings/:orgId/projects/:projectId/user-feedback-processing/';
  3. const formGroups: JsonFormObject[] = [
  4. {
  5. title: 'Settings',
  6. fields: [
  7. {
  8. name: 'sentry:feedback_ai_spam_detection',
  9. type: 'boolean',
  10. // additional data/props that is related to rendering of form field rather than data
  11. label: 'Enable Spam Detection',
  12. help: 'Toggles whether or not to enable auto spam detection in User Feedback.',
  13. getData: data => ({options: data}),
  14. },
  15. ],
  16. },
  17. ];
  18. export default formGroups;