Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions .github/codeowners-coverage-baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,6 @@ static/app/makeLazyloadComponent.spec.tsx
static/app/makeLazyloadComponent.tsx
static/app/plugins/basePlugin.tsx
static/app/plugins/components/issueActions.tsx
static/app/plugins/components/pluginIcon.spec.tsx
static/app/plugins/components/pluginIcon.tsx
static/app/plugins/components/settings.tsx
static/app/plugins/defaultIssuePlugin.tsx
static/app/plugins/defaultPlugin.tsx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {Heading, Text} from '@sentry/scraps/text';

import type {SeerAutomationHandoffConfiguration} from 'sentry/components/events/autofix/types';
import {Placeholder} from 'sentry/components/placeholder';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t, tct} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {Project} from 'sentry/types/project';
import {trackAnalytics} from 'sentry/utils/analytics';
import {useDetailedProject} from 'sentry/utils/project/useDetailedProject';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {Heading, Text} from '@sentry/scraps/text';

import {organizationIntegrationsCodingAgents} from 'sentry/components/events/autofix/useAutofix';
import {Placeholder} from 'sentry/components/placeholder';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import {trackAnalytics} from 'sentry/utils/analytics';
import {useOrganization} from 'sentry/utils/useOrganization';
import {useUser} from 'sentry/utils/useUser';
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/events/autofix/v3/nextStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import {PrIterationFeedbackForm} from 'sentry/components/events/autofix/v3/prIte
import {IconAdd} from 'sentry/icons/iconAdd';
import {IconChevron} from 'sentry/icons/iconChevron';
import {IconOpen} from 'sentry/icons/iconOpen';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {Group} from 'sentry/types/group';
import type {OrganizationIntegration} from 'sentry/types/integrations';
import {trackAnalytics} from 'sentry/utils/analytics';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {DropdownMenu} from 'sentry/components/dropdownMenu';
import {OnCallServiceForm} from 'sentry/components/notificationActions/forms/onCallServiceForm';
import {SlackForm} from 'sentry/components/notificationActions/forms/slackForm';
import {IconEllipsis, IconMail} from 'sentry/icons';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {
AvailableNotificationAction,
NotificationAction,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import styled from '@emotion/styled';

import {IconMail} from 'sentry/icons';
import {PluginIcon, type PluginIconProps} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon, type PluginIconProps} from 'sentry/plugins/components/pluginIcon';
import {ActionType} from 'sentry/types/workflowEngine/actions';

const ICON_SIZE = 20;
Expand Down
2 changes: 1 addition & 1 deletion static/app/debug/notifications/previews/slackPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
NotificationProviderKey,
type NotificationTemplateRegistration,
} from 'sentry/debug/notifications/types';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import {PluginIcon} from 'sentry/icons/pluginIcon';

const SLACK_PREVIEW_BASE_URL = 'https://app.slack.com/block-kit-builder/';

Expand Down
2 changes: 1 addition & 1 deletion static/app/debug/notifications/previews/teamsPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {
type NotificationTemplateRegistration,
} from 'sentry/debug/notifications/types';
import {IconCheckmark, IconCopy} from 'sentry/icons';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import {useCopyToClipboard} from 'sentry/utils/useCopyToClipboard';

const MSTEAMS_PREVIEW_URL = 'https://adaptivecards.microsoft.com/designer.html';
Expand Down
11 changes: 4 additions & 7 deletions static/app/icons/icons.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@ import {Tooltip} from '@sentry/scraps/tooltip';

import {Sticky} from 'sentry/components/sticky';
import * as Icons from 'sentry/icons';
import {IdentityIcon, type IdentityIconProps} from 'sentry/icons/identityIcon';
import {PluginIcon, type PluginIconProps} from 'sentry/icons/pluginIcon';
import {type SVGIconProps} from 'sentry/icons/svgIcon';
import {PluginIcon, type PluginIconProps} from 'sentry/plugins/components/pluginIcon';
import {fzf} from 'sentry/utils/search/fzf';
import {useCopyToClipboard} from 'sentry/utils/useCopyToClipboard';
import {useKeyPress} from 'sentry/utils/useKeyPress';
import {usePrismTokens} from 'sentry/utils/usePrismTokens';
import {
IdentityIcon,
type IdentityIconProps,
} from 'sentry/views/settings/components/identityIcon';

type TIcon = {
id: string;
Expand Down Expand Up @@ -1732,7 +1729,7 @@ function PluginIconsSection({searchTerm}: {searchTerm: string}) {
renderIcon={(icon: TIcon) => (
<IconCard
icon={{id: icon.id, name: 'PluginIcon', defaultProps: {pluginId: icon.id}}}
importSource="sentry/plugins/components/pluginIcon"
importSource="sentry/icons/pluginIcon"
Comment thread
sentry[bot] marked this conversation as resolved.
>
<PluginIcon pluginId={icon.id} /> {icon.name}
</IconCard>
Expand Down Expand Up @@ -1784,7 +1781,7 @@ function IdentityIconsSection({searchTerm}: {searchTerm: string}) {
name: 'IdentityIcon',
defaultProps: {providerId: identity.id},
}}
importSource="sentry/views/settings/components/identityIcon"
importSource="sentry/icons/identityIcon"
>
<IdentityIcon providerId={identity.id} /> {identity.name}
</IconCard>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {render} from 'sentry-test/reactTestingLibrary';

import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import {PluginIcon} from 'sentry/icons/pluginIcon';

// For some reason jest only respects the last mocked, so we can't test
// two different images here
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {LinkButton} from '@sentry/scraps/button';
import {Flex} from '@sentry/scraps/layout';

import {Access} from 'sentry/components/acl/access';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {ConfigStore} from 'sentry/stores/configStore';
import {useOrganization} from 'sentry/utils/useOrganization';
import {IntegrationButton} from 'sentry/views/settings/organizationIntegrations/integrationButton';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {Button} from '@sentry/scraps/button';
import {Flex} from '@sentry/scraps/layout';
import {useModal} from '@sentry/scraps/modal';

import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {
IntegrationProvider,
OrganizationIntegration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {
useExplorerAutofix,
} from 'sentry/components/events/autofix/useExplorerAutofix';
import {IconSeer} from 'sentry/icons';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {Event} from 'sentry/types/event';
import type {Group} from 'sentry/types/group';
import type {Project} from 'sentry/types/project';
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/settings/account/accountIdentities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ import {PanelBody} from 'sentry/components/panels/panelBody';
import {PanelHeader} from 'sentry/components/panels/panelHeader';
import {PanelItem} from 'sentry/components/panels/panelItem';
import {SentryDocumentTitle} from 'sentry/components/sentryDocumentTitle';
import {IdentityIcon} from 'sentry/icons/identityIcon';
import {t, tct} from 'sentry/locale';
import type {UserIdentityConfig} from 'sentry/types/auth';
import {UserIdentityCategory, UserIdentityStatus} from 'sentry/types/auth';
import {getApiUrl} from 'sentry/utils/api/getApiUrl';
import {setApiQueryData, useApiQuery} from 'sentry/utils/queryClient';
import {IdentityIcon} from 'sentry/views/settings/components/identityIcon';
import {SettingsPageHeader} from 'sentry/views/settings/components/settingsPageHeader';
import {TextBlock} from 'sentry/views/settings/components/text/textBlock';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {Container, Flex, Grid} from '@sentry/scraps/layout';
import {Text} from '@sentry/scraps/text';

import {IconDelete, IconEdit} from 'sentry/icons';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t, tct, tn} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import {trackAnalytics} from 'sentry/utils/analytics';
import {useOrganization} from 'sentry/utils/useOrganization';
import {DataForwarderDeleteConfirm} from 'sentry/views/settings/organizationDataForwarding/components/dataForwarderDeleteConfirm';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {NotFound} from 'sentry/components/errors/notFound';
import {LoadingIndicator} from 'sentry/components/loadingIndicator';
import {SentryDocumentTitle} from 'sentry/components/sentryDocumentTitle';
import {IconArrow} from 'sentry/icons/iconArrow';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {Project} from 'sentry/types/project';
import {trackAnalytics} from 'sentry/utils/analytics';
import {useNavigate} from 'sentry/utils/useNavigate';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import Feature from 'sentry/components/acl/feature';
import {FeatureDisabled} from 'sentry/components/acl/featureDisabled';
import {SentryDocumentTitle} from 'sentry/components/sentryDocumentTitle';
import {IconArrow} from 'sentry/icons/iconArrow';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {Project} from 'sentry/types/project';
import {trackAnalytics} from 'sentry/utils/analytics';
import {useNavigate} from 'sentry/utils/useNavigate';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {OverrideOrDefault} from 'sentry/components/overrideOrDefault';
import {Panel} from 'sentry/components/panels/panel';
import {PanelItem} from 'sentry/components/panels/panelItem';
import {SentryDocumentTitle} from 'sentry/components/sentryDocumentTitle';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {ObjectStatus} from 'sentry/types/core';
import type {Integration, IntegrationProvider} from 'sentry/types/integrations';
import type {Organization} from 'sentry/types/organization';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {LoadingIndicator} from 'sentry/components/loadingIndicator';
import {PanelTable} from 'sentry/components/panels/panelTable';
import {QuestionTooltip} from 'sentry/components/questionTooltip';
import {IconAdd, IconArrow, IconDelete} from 'sentry/icons';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t, tct} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {
ExternalActorMapping,
ExternalActorMappingOrSuggestion,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {useState} from 'react';
import styled from '@emotion/styled';

import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import type {Integration} from 'sentry/types/integrations';

type IconProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import {Panel} from 'sentry/components/panels/panel';
import {PanelBody} from 'sentry/components/panels/panelBody';
import {SearchBar} from 'sentry/components/searchBar';
import {SentryDocumentTitle} from 'sentry/components/sentryDocumentTitle';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t, tct} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {
AppOrProviderOrPlugin,
DocIntegration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {Flex} from '@sentry/scraps/layout';
import {Link} from '@sentry/scraps/link';

import {PanelItem} from 'sentry/components/panels/panelItem';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {
IntegrationInstallationStatus,
SentryApp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {addErrorMessage} from 'sentry/actionCreators/indicator';
import {ContextPickerModalContainer as ContextPickerModal} from 'sentry/components/contextPickerModal';
import {LoadingError} from 'sentry/components/loadingError';
import {LoadingIndicator} from 'sentry/components/loadingIndicator';
import {PluginIcon} from 'sentry/icons/pluginIcon';
import {t, tct} from 'sentry/locale';
import {PluginIcon} from 'sentry/plugins/components/pluginIcon';
import type {Organization} from 'sentry/types/organization';
import type {PlatformKey} from 'sentry/types/platform';
import {apiOptions} from 'sentry/utils/api/apiOptions';
Expand Down
Loading