Skip to content

Commit 228cc1a

Browse files
authored
chore(rate-limit): Remove legacy rate limit pages (#96354)
these pages are only accessible by orgs who had the legacy feature but we don't want any orgs to be able to use this anymore. After we remove the pages from the front end, we will clean up the backend. fixes https://linear.app/getsentry/issue/RTC-1091/remove-rate-limit-pages-from-the-front-end
1 parent f01a21c commit 228cc1a

File tree

7 files changed

+0
-318
lines changed

7 files changed

+0
-318
lines changed

static/app/routes.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -960,12 +960,6 @@ function buildRoutes(): RouteObject[] {
960960
},
961961
],
962962
},
963-
{
964-
path: 'rate-limits/',
965-
name: t('Rate Limits'),
966-
component: make(() => import('sentry/views/settings/organizationRateLimits')),
967-
deprecatedRouteProps: true,
968-
},
969963
{
970964
path: 'relay/',
971965
name: t('Relay'),

static/app/views/settings/organization/navigationConfiguration.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,6 @@ export function getOrganizationNavigationConfiguration({
8989
description: t('View the audit log for an organization'),
9090
id: 'audit-log',
9191
},
92-
{
93-
path: `${organizationSettingsPathPrefix}/rate-limits/`,
94-
title: t('Rate Limits'),
95-
show: ({features}) => features!.has('legacy-rate-limits'),
96-
description: t('Configure rate limits for all projects in the organization'),
97-
id: 'rate-limits',
98-
},
9992
{
10093
path: `${organizationSettingsPathPrefix}/relay/`,
10194
title: t('Relay'),

static/app/views/settings/organization/userOrgNavigationConfiguration.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,6 @@ export function getUserOrgNavigationConfiguration(): NavigationSection[] {
126126
description: t('View the audit log for an organization'),
127127
id: 'audit-log',
128128
},
129-
{
130-
path: `${organizationSettingsPathPrefix}/rate-limits/`,
131-
title: t('Rate Limits'),
132-
show: ({features}) => features?.has('legacy-rate-limits') ?? false,
133-
description: t('Configure rate limits for all projects in the organization'),
134-
id: 'rate-limits',
135-
},
136129
{
137130
path: `${organizationSettingsPathPrefix}/relay/`,
138131
title: t('Relay'),

static/app/views/settings/organizationRateLimits/index.tsx

Lines changed: 0 additions & 20 deletions
This file was deleted.

static/app/views/settings/organizationRateLimits/organizationRateLimits.spec.tsx

Lines changed: 0 additions & 112 deletions
This file was deleted.

static/app/views/settings/organizationRateLimits/organizationRateLimits.tsx

Lines changed: 0 additions & 131 deletions
This file was deleted.

tests/acceptance/test_organization_rate_limits.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)