File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed
components/events/ourlogs Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ export function OurlogsSection({
40
40
< LogsPageParamsProvider
41
41
analyticsPageSource = { LogsAnalyticsPageSource . ISSUE_DETAILS }
42
42
isTableFrozen
43
- blockRowExpanding
44
43
limitToTraceId = { event . contexts ?. trace ?. trace_id }
45
44
>
46
45
< LogsPageDataProvider >
@@ -127,6 +126,7 @@ function OurlogsSectionContent({
127
126
highlightTerms = { [ ] }
128
127
sharedHoverTimeoutRef = { sharedHoverTimeoutRef }
129
128
key = { index }
129
+ blockRowExpanding
130
130
/>
131
131
) ) }
132
132
</ TableBody >
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ interface LogsPageParams {
51
51
/** In the 'aggregates' table, if you GROUP BY, there can be many rows. This is the 'sort by' for that table. */
52
52
readonly aggregateSortBys : Sort [ ] ;
53
53
readonly analyticsPageSource : LogsAnalyticsPageSource ;
54
- readonly blockRowExpanding : boolean | undefined ;
55
54
readonly cursor : string ;
56
55
readonly fields : string [ ] ;
57
56
readonly isTableFrozen : boolean | undefined ;
@@ -120,7 +119,6 @@ interface LogsPageParamsProviderProps {
120
119
autoRefresh ?: AutoRefreshState ;
121
120
refreshInterval ?: number ;
122
121
} ;
123
- blockRowExpanding ?: boolean ;
124
122
isTableFrozen ?: boolean ;
125
123
limitToProjectIds ?: number [ ] ;
126
124
limitToSpanId ?: string ;
@@ -132,7 +130,6 @@ export function LogsPageParamsProvider({
132
130
limitToTraceId,
133
131
limitToSpanId,
134
132
limitToProjectIds,
135
- blockRowExpanding,
136
133
isTableFrozen,
137
134
analyticsPageSource,
138
135
_testContext,
@@ -200,7 +197,6 @@ export function LogsPageParamsProvider({
200
197
cursor,
201
198
setCursorForFrozenPages,
202
199
isTableFrozen,
203
- blockRowExpanding,
204
200
baseSearch,
205
201
projectIds,
206
202
analyticsPageSource,
@@ -391,11 +387,6 @@ export function useLogsIsTableFrozen() {
391
387
return ! ! isTableFrozen ;
392
388
}
393
389
394
- export function useLogsBlockRowExpanding ( ) {
395
- const { blockRowExpanding} = useLogsPageParams ( ) ;
396
- return ! ! blockRowExpanding ;
397
- }
398
-
399
390
export function usePersistedLogsPageParams ( ) {
400
391
useLayoutEffect ( ( ) => {
401
392
const pastParams = localStorage . getItem (
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import {
29
29
} from 'sentry/views/explore/contexts/logs/logsAutoRefreshContext' ;
30
30
import {
31
31
useLogsAnalyticsPageSource ,
32
- useLogsBlockRowExpanding ,
33
32
useLogsFields ,
34
33
useLogsIsTableFrozen ,
35
34
useLogsSearch ,
@@ -80,6 +79,7 @@ type LogsRowProps = {
80
79
highlightTerms : string [ ] ;
81
80
meta : EventsMetaType | undefined ;
82
81
sharedHoverTimeoutRef : React . MutableRefObject < NodeJS . Timeout | null > ;
82
+ blockRowExpanding ?: boolean ;
83
83
canDeferRenderElements ?: boolean ;
84
84
isExpanded ?: boolean ;
85
85
onCollapse ?: ( logItemId : string ) => void ;
@@ -117,6 +117,7 @@ export const LogRowContent = memo(function LogRowContent({
117
117
onExpand,
118
118
onCollapse,
119
119
onExpandHeight,
120
+ blockRowExpanding,
120
121
canDeferRenderElements,
121
122
} : LogsRowProps ) {
122
123
const location = useLocation ( ) ;
@@ -125,7 +126,6 @@ export const LogRowContent = memo(function LogRowContent({
125
126
const search = useLogsSearch ( ) ;
126
127
const setLogsSearch = useSetLogsSearch ( ) ;
127
128
const isTableFrozen = useLogsIsTableFrozen ( ) ;
128
- const blockRowExpanding = useLogsBlockRowExpanding ( ) ;
129
129
const autorefreshEnabled = useLogsAutoRefreshEnabled ( ) ;
130
130
const setAutorefresh = useSetLogsAutoRefresh ( ) ;
131
131
const measureRef = useRef < HTMLTableRowElement > ( null ) ;
You can’t perform that action at this time.
0 commit comments