Skip to content

Commit

Permalink
Remove support to set project grouping config
Browse files Browse the repository at this point in the history
  • Loading branch information
armenzg committed Jul 26, 2024
1 parent f4d4caa commit d8b174d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions static/app/data/forms/projectIssueGrouping.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const groupingConfigField: Field = {
</GroupingConfigItem>,
]),
help: t('Sets the grouping algorithm to be used for new events.'),
visible: ({features}) => features.has('set-grouping-config'),
};

export const fields: Record<string, Field> = {
Expand Down Expand Up @@ -89,7 +88,6 @@ stack.function:malloc -> memory-allocation-error`}
</RuleExample>
</Fragment>
),
visible: true,
},
groupingEnhancements: {
name: 'groupingEnhancements',
Expand Down Expand Up @@ -133,7 +131,6 @@ stack.function:mylibrary_* +app`}
</Fragment>
),
validate: () => [],
visible: true,
},
groupingConfig: groupingConfigField,
secondaryGroupingConfig: {
Expand Down
13 changes: 0 additions & 13 deletions static/app/views/settings/projectIssueGrouping/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type {RouteComponentProps} from 'react-router';

import {hasEveryAccess} from 'sentry/components/acl/access';
import Feature from 'sentry/components/acl/feature';
import Form from 'sentry/components/forms/form';
import JsonForm from 'sentry/components/forms/jsonForm';
import ExternalLink from 'sentry/components/links/externalLink';
Expand Down Expand Up @@ -100,18 +99,6 @@ export default function ProjectIssueGrouping({organization, project, params}: Pr
title={t('Stack Trace Rules')}
fields={[fields.groupingEnhancements]}
/>

<Feature features="set-grouping-config" organization={organization}>
<JsonForm
{...jsonFormProps}
title={t('Change defaults')}
fields={[
fields.groupingConfig,
fields.secondaryGroupingConfig,
fields.secondaryGroupingExpiry,
]}
/>
</Feature>
</Form>
</SentryDocumentTitle>
);
Expand Down

0 comments on commit d8b174d

Please sign in to comment.