File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
static/app/views/dashboards/widgets/timeSeriesWidget/releaseBubbles Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1
1
export const BUBBLE_SERIES_ID = '__release_bubble__' ;
2
2
export const BUBBLE_AREA_SERIES_ID = '__release_bubble_area__' ;
3
- export const DEFAULT_BUBBLE_SIZE = 4 ;
4
-
5
- // "padding" around the bubbles as it is drawn on canvas vs CSS, this may need
6
- // to move into `renderReleaseBubble` if it needs to be customizable
7
- export const RELEASE_BUBBLE_Y_PADDING = 2 ;
8
- export const RELEASE_BUBBLE_X_PADDING = 1 ;
Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ import {useUser} from 'sentry/utils/useUser';
29
29
import {
30
30
BUBBLE_AREA_SERIES_ID ,
31
31
BUBBLE_SERIES_ID ,
32
- DEFAULT_BUBBLE_SIZE ,
33
- RELEASE_BUBBLE_X_PADDING ,
34
- RELEASE_BUBBLE_Y_PADDING ,
35
32
} from 'sentry/views/dashboards/widgets/timeSeriesWidget/releaseBubbles/constants' ;
36
33
import { createReleaseBubbleHighlighter } from 'sentry/views/dashboards/widgets/timeSeriesWidget/releaseBubbles/createReleaseBubbleHighlighter' ;
37
34
import type { Bucket } from 'sentry/views/dashboards/widgets/timeSeriesWidget/releaseBubbles/types' ;
@@ -343,8 +340,8 @@ export function useReleaseBubbles({
343
340
releases,
344
341
minTime,
345
342
maxTime,
346
- bubbleSize = DEFAULT_BUBBLE_SIZE ,
347
- bubblePadding = { x : RELEASE_BUBBLE_X_PADDING , y : RELEASE_BUBBLE_Y_PADDING } ,
343
+ bubbleSize = 4 ,
344
+ bubblePadding = { x : 2 , y : 1 } ,
348
345
} : UseReleaseBubblesParams ) {
349
346
const organization = useOrganization ( ) ;
350
347
const { openDrawer} = useDrawer ( ) ;
You can’t perform that action at this time.
0 commit comments