File tree 3 files changed +18
-14
lines changed
src/sentry/static/sentry/app/views/issueList/actions
3 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,7 @@ const Wrapper = styled('div')<{hasInbox?: boolean}>`
246
246
gap: ${ space ( 0.5 ) } ;
247
247
grid-auto-flow: column;
248
248
justify-content: flex-start;
249
+ white-space: nowrap;
249
250
250
251
${ p =>
251
252
p . hasInbox &&
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ type Props = {
17
17
onSelectStatsPeriod : ( statsPeriod : string ) => void ;
18
18
isReprocessingQuery : boolean ;
19
19
hasInbox ?: boolean ;
20
+ anySelected ?: boolean ;
20
21
} ;
21
22
22
23
function Headers ( {
24
+ anySelected,
23
25
selection,
24
26
statsPeriod,
25
27
pageCount,
@@ -31,7 +33,7 @@ function Headers({
31
33
} : Props ) {
32
34
return (
33
35
< React . Fragment >
34
- { hasInbox && (
36
+ { hasInbox && ! anySelected && (
35
37
< ActionSetPlaceholder >
36
38
{ /* total includes its own space */ }
37
39
{ tct ( 'Select [count] of [total]' , {
@@ -55,7 +57,9 @@ function Headers({
55
57
</ React . Fragment >
56
58
) : (
57
59
< React . Fragment >
58
- < GraphHeaderWrapper className = "hidden-xs hidden-sm" >
60
+ < GraphHeaderWrapper
61
+ className = { `hidden-xs hidden-sm ${ hasInbox ? 'hidden-md' : '' } ` }
62
+ >
59
63
< GraphHeader >
60
64
< StyledToolbarHeader > { t ( 'Graph:' ) } </ StyledToolbarHeader >
61
65
< GraphToggle
Original file line number Diff line number Diff line change @@ -284,18 +284,17 @@ class IssueListActions extends React.Component<Props, State> {
284
284
onUpdate = { this . handleUpdate }
285
285
/>
286
286
) }
287
- { ( ! anySelected || ! hasInbox ) && (
288
- < Headers
289
- onSelectStatsPeriod = { this . handleSelectStatsPeriod }
290
- selection = { selection }
291
- statsPeriod = { statsPeriod }
292
- pageCount = { pageCount }
293
- queryCount = { queryCount }
294
- queryMaxCount = { queryMaxCount }
295
- hasInbox = { hasInbox }
296
- isReprocessingQuery = { displayReprocessingActions }
297
- />
298
- ) }
287
+ < Headers
288
+ onSelectStatsPeriod = { this . handleSelectStatsPeriod }
289
+ anySelected = { anySelected }
290
+ selection = { selection }
291
+ statsPeriod = { statsPeriod }
292
+ pageCount = { pageCount }
293
+ queryCount = { queryCount }
294
+ queryMaxCount = { queryMaxCount }
295
+ hasInbox = { hasInbox }
296
+ isReprocessingQuery = { displayReprocessingActions }
297
+ />
299
298
</ StyledFlex >
300
299
{ ! allResultsVisible && pageSelected && (
301
300
< SelectAllNotice >
You can’t perform that action at this time.
0 commit comments