Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {useAutomationBuilderErrorContext} from 'sentry/views/automations/compone
import type {ValidateDataConditionProps} from 'sentry/views/automations/components/automationFormData';
import {useDataConditionNodeContext} from 'sentry/views/automations/components/dataConditionNodes';

// TODO(ID-1141): Data should live in issueTypeConfig/index.tsx or types/group.tsx
enum GroupCategory {
ERROR = 1,
FEEDBACK = 6,
Expand All @@ -15,6 +16,7 @@ enum GroupCategory {
HTTP_CLIENT = 13,
FRONTEND = 14,
MOBILE = 15,
PREPROD = 17,
}

const GROUP_CATEGORY_CHOICES = [
Expand All @@ -26,6 +28,7 @@ const GROUP_CATEGORY_CHOICES = [
{value: GroupCategory.HTTP_CLIENT, label: 'http_client'},
{value: GroupCategory.FRONTEND, label: 'frontend'},
{value: GroupCategory.MOBILE, label: 'mobile'},
{value: GroupCategory.PREPROD, label: 'preprod'},
];

export function IssueCategoryDetails({condition}: {condition: DataCondition}) {
Expand Down
Loading