@@ -13,16 +13,13 @@ import {
1313 addLoadingMessage ,
1414 clearIndicators ,
1515} from 'sentry/actionCreators/indicator' ;
16- import { CMDKAction , CMDKGroup } from 'sentry/components/commandPalette/ui/cmdk' ;
17- import { CommandPaletteSlot } from 'sentry/components/commandPalette/ui/commandPaletteSlot' ;
1816import { IssueStreamHeaderLabel } from 'sentry/components/IssueStreamHeaderLabel' ;
1917import { Sticky } from 'sentry/components/sticky' ;
20- import { IconList } from 'sentry/icons' ;
2118import { t , tct , tn } from 'sentry/locale' ;
2219import { GroupStore } from 'sentry/stores/groupStore' ;
2320import { ProjectsStore } from 'sentry/stores/projectsStore' ;
2421import type { PageFilters } from 'sentry/types/core' ;
25- import { GroupStatus , GroupSubstatus , type Group } from 'sentry/types/group' ;
22+ import type { Group } from 'sentry/types/group' ;
2623import { defined } from 'sentry/utils' ;
2724import { trackAnalytics } from 'sentry/utils/analytics' ;
2825import { uniq } from 'sentry/utils/array/uniq' ;
@@ -105,49 +102,6 @@ function ActionsBarPriority({
105102
106103 return (
107104 < ActionsBarContainer >
108- < CommandPaletteSlot name = "task" >
109- < CMDKGroup display = { { label : t ( 'Issues List' ) } } >
110- < CMDKAction
111- display = { {
112- label : pageSelected ? t ( 'Deselect all' ) : t ( 'Select all' ) ,
113- icon : < IconList /> ,
114- } }
115- onAction = { toggleSelectAllVisible }
116- />
117- { anySelected && (
118- < CMDKAction
119- display = { { label : t ( 'Resolve selected issues' ) , icon : < IconList /> } }
120- onAction = { ( ) =>
121- handleUpdate ( { status : GroupStatus . RESOLVED , statusDetails : { } } )
122- }
123- />
124- ) }
125- { anySelected && (
126- < CMDKAction
127- display = { { label : t ( 'Archive selected issues' ) , icon : < IconList /> } }
128- onAction = { ( ) =>
129- handleUpdate ( {
130- status : GroupStatus . IGNORED ,
131- statusDetails : { } ,
132- substatus : GroupSubstatus . ARCHIVED_UNTIL_ESCALATING ,
133- } )
134- }
135- />
136- ) }
137- { anySelected && multiSelected && (
138- < CMDKAction
139- display = { { label : t ( 'Merge selected issues' ) , icon : < IconList /> } }
140- onAction = { handleMerge }
141- />
142- ) }
143- { anySelected && (
144- < CMDKAction
145- display = { { label : t ( 'Delete selected issues' ) } }
146- onAction = { handleDelete }
147- />
148- ) }
149- </ CMDKGroup >
150- </ CommandPaletteSlot >
151105 { ! narrowViewport && (
152106 < Checkbox
153107 onChange = { toggleSelectAllVisible }
0 commit comments