Skip to content

Commit

Permalink
refactor imports
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Feb 28, 2025
1 parent d718159 commit a39025f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
15 changes: 3 additions & 12 deletions static/app/components/releases/releasesDrawer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Fragment, type ReactElement} from 'react';
import styled from '@emotion/styled';

import {DateTime} from 'sentry/components/dateTime';
import {
EventDrawerBody,
EventDrawerContainer,
Expand All @@ -9,24 +10,14 @@ import {
Header,
NavigationCrumbs,
} from 'sentry/components/events/eventDrawer';
import {ReleaseDrawerTable} from 'sentry/components/releases/releasesDrawerTable';
import {t, tn} from 'sentry/locale';
import {space} from 'sentry/styles/space';
import type {Release} from 'sentry/views/dashboards/widgets/common/types';
import type {Bucket} from 'sentry/views/dashboards/widgets/timeSeriesWidget/releaseBubbles/types';
import type {TimeSeriesWidgetVisualizationProps} from 'sentry/views/dashboards/widgets/timeSeriesWidget/timeSeriesWidgetVisualization';
import {Widget} from 'sentry/views/dashboards/widgets/widget/widget';

import {DateTime} from '../dateTime';

import {ReleaseDrawerTable} from './releasesDrawerTable';

type Bucket = [
start: number,
placeholder: number,
end: number,
numReleases: number,
releases: Release[],
];

interface ReleasesDrawerProps {
/**
* This is a list of the release buckets used by eCharts to draw the release bubbles.
Expand Down
5 changes: 2 additions & 3 deletions static/app/components/releases/releasesDrawerTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ import Count from 'sentry/components/count';
import GlobalSelectionLink from 'sentry/components/globalSelectionLink';
import type {GridColumnHeader, GridColumnOrder} from 'sentry/components/gridEditable';
import GridEditable from 'sentry/components/gridEditable';
import Pagination from 'sentry/components/pagination';
import renderSortableHeaderCell from 'sentry/components/replays/renderSortableHeaderCell';
import useQueryBasedColumnResize from 'sentry/components/replays/useQueryBasedColumnResize';
import useQueryBasedSorting from 'sentry/components/replays/useQueryBasedSorting';
import TextOverflow from 'sentry/components/textOverflow';
import {Tooltip} from 'sentry/components/tooltip';
import {t} from 'sentry/locale';
import {space} from 'sentry/styles/space';
Expand All @@ -19,9 +21,6 @@ import useOrganization from 'sentry/utils/useOrganization';
import useOrganizationReleases from 'sentry/views/insights/sessions/queries/useOrganizationReleases';
import {getReleaseNewIssuesUrl} from 'sentry/views/releases/utils';

import Pagination from '../pagination';
import TextOverflow from '../textOverflow';

type ReleaseHealthItem = {
adoption_stage: string;
crash_free_sessions: number;
Expand Down

0 comments on commit a39025f

Please sign in to comment.