|
@@ -330,24 +330,15 @@ function SummaryContent({
|
|
|
handleOpenAllEventsClick: handleAllEventsViewClick,
|
|
|
};
|
|
|
|
|
|
- const hasTransactionSummaryCleanupFlag = organization.features.includes(
|
|
|
- 'performance-transaction-summary-cleanup'
|
|
|
- );
|
|
|
-
|
|
|
return (
|
|
|
<Fragment>
|
|
|
<Layout.Main>
|
|
|
- <FilterActions
|
|
|
- hasTransactionSummaryCleanupFlag={hasTransactionSummaryCleanupFlag}
|
|
|
- >
|
|
|
- {!hasTransactionSummaryCleanupFlag && (
|
|
|
- <Filter
|
|
|
- organization={organization}
|
|
|
- currentFilter={spanOperationBreakdownFilter}
|
|
|
- onChangeFilter={onChangeFilter}
|
|
|
- />
|
|
|
- )}
|
|
|
-
|
|
|
+ <FilterActions>
|
|
|
+ <Filter
|
|
|
+ organization={organization}
|
|
|
+ currentFilter={spanOperationBreakdownFilter}
|
|
|
+ onChangeFilter={onChangeFilter}
|
|
|
+ />
|
|
|
<PageFilterBar condensed>
|
|
|
<EnvironmentPageFilter />
|
|
|
<DatePageFilter />
|
|
@@ -408,21 +399,18 @@ function SummaryContent({
|
|
|
/>
|
|
|
</PerformanceAtScaleContextProvider>
|
|
|
|
|
|
- {!hasTransactionSummaryCleanupFlag && (
|
|
|
- <SuspectSpans
|
|
|
- location={location}
|
|
|
- organization={organization}
|
|
|
- eventView={eventView}
|
|
|
- totals={
|
|
|
- defined(totalValues?.['count()'])
|
|
|
- ? {'count()': totalValues!['count()']}
|
|
|
- : null
|
|
|
- }
|
|
|
- projectId={projectId}
|
|
|
- transactionName={transactionName}
|
|
|
- />
|
|
|
- )}
|
|
|
-
|
|
|
+ <SuspectSpans
|
|
|
+ location={location}
|
|
|
+ organization={organization}
|
|
|
+ eventView={eventView}
|
|
|
+ totals={
|
|
|
+ defined(totalValues?.['count()'])
|
|
|
+ ? {'count()': totalValues!['count()']}
|
|
|
+ : null
|
|
|
+ }
|
|
|
+ projectId={projectId}
|
|
|
+ transactionName={transactionName}
|
|
|
+ />
|
|
|
<TagExplorer
|
|
|
eventView={eventView}
|
|
|
organization={organization}
|
|
@@ -560,7 +548,7 @@ function getTransactionsListSort(
|
|
|
return {selected: selectedSort, options: sortOptions};
|
|
|
}
|
|
|
|
|
|
-const FilterActions = styled('div')<{hasTransactionSummaryCleanupFlag: boolean}>`
|
|
|
+const FilterActions = styled('div')`
|
|
|
display: grid;
|
|
|
gap: ${space(2)};
|
|
|
margin-bottom: ${space(2)};
|
|
@@ -570,10 +558,7 @@ const FilterActions = styled('div')<{hasTransactionSummaryCleanupFlag: boolean}>
|
|
|
}
|
|
|
|
|
|
@media (min-width: ${p => p.theme.breakpoints.xlarge}) {
|
|
|
- ${p =>
|
|
|
- p.hasTransactionSummaryCleanupFlag
|
|
|
- ? `grid-template-columns: auto 1fr;`
|
|
|
- : `grid-template-columns: auto auto 1fr;`}
|
|
|
+ grid-template-columns: auto auto 1fr;
|
|
|
}
|
|
|
`;
|
|
|
|