Skip to content

Commit e1b1a2e

Browse files
committed
ref(repos): Remove old SCM integration tree view
Deletes the ScmIntegrationTree component and all sub-files now that the v2 repositories page is the only experience. Reduces the repositories settings index to a re-export of OrganizationRepositoriesV2.
1 parent 1a0ac09 commit e1b1a2e

11 files changed

Lines changed: 1 addition & 1464 deletions

File tree

static/app/components/loading/useCycleText.tsx

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
import {Flex} from '@sentry/scraps/layout';
2-
import {ExternalLink} from '@sentry/scraps/link';
3-
import {Tooltip} from '@sentry/scraps/tooltip';
4-
5-
import {IconOpen} from 'sentry/icons';
6-
import {t} from 'sentry/locale';
71
import type {OrganizationIntegration} from 'sentry/types/integrations';
82

93
export function getProviderConfigUrl(
@@ -38,24 +32,3 @@ export function getProviderConfigUrl(
3832

3933
return null;
4034
}
41-
42-
export function ProviderConfigLink({
43-
integration,
44-
}: {
45-
integration: OrganizationIntegration;
46-
}) {
47-
const externalConfigUrl = getProviderConfigUrl(integration);
48-
49-
if (!externalConfigUrl) {
50-
return null;
51-
}
52-
return (
53-
<Flex align="center" gap="xs">
54-
<Tooltip title={t('External installation settings')} skipWrapper>
55-
<ExternalLink href={externalConfigUrl} onClick={e => e.stopPropagation()}>
56-
{integration.provider.name} <IconOpen size="xs" />
57-
</ExternalLink>
58-
</Tooltip>
59-
</Flex>
60-
);
61-
}

0 commit comments

Comments
 (0)