|
@@ -7,12 +7,16 @@ import {openModal} from 'sentry/actionCreators/modal';
|
|
|
import Feature from 'sentry/components/acl/feature';
|
|
|
import Button from 'sentry/components/button';
|
|
|
import ButtonBar from 'sentry/components/buttonBar';
|
|
|
+import DatePageFilter from 'sentry/components/datePageFilter';
|
|
|
+import EnvironmentPageFilter from 'sentry/components/environmentPageFilter';
|
|
|
import SearchBar from 'sentry/components/events/searchBar';
|
|
|
import {GlobalSdkUpdateAlert} from 'sentry/components/globalSdkUpdateAlert';
|
|
|
import * as Layout from 'sentry/components/layouts/thirds';
|
|
|
import LoadingIndicator from 'sentry/components/loadingIndicator';
|
|
|
+import PageFilterBar from 'sentry/components/organizations/pageFilterBar';
|
|
|
import PageHeading from 'sentry/components/pageHeading';
|
|
|
import * as TeamKeyTransactionManager from 'sentry/components/performance/teamKeyTransactionsManager';
|
|
|
+import ProjectPageFilter from 'sentry/components/projectPageFilter';
|
|
|
import {MAX_QUERY_LENGTH} from 'sentry/constants';
|
|
|
import {IconSettings} from 'sentry/icons';
|
|
|
import {t} from 'sentry/locale';
|
|
@@ -195,6 +199,13 @@ export function PerformanceLanding(props: Props) {
|
|
|
/>
|
|
|
) : (
|
|
|
<Fragment>
|
|
|
+ {organization.features.includes('selection-filters-v2') && (
|
|
|
+ <StyledPageFilterBar condensed>
|
|
|
+ <ProjectPageFilter />
|
|
|
+ <EnvironmentPageFilter />
|
|
|
+ <DatePageFilter alignDropdown="left" />
|
|
|
+ </StyledPageFilterBar>
|
|
|
+ )}
|
|
|
<SearchContainerWithFilter>
|
|
|
<SearchBar
|
|
|
searchSource="performance_landing"
|
|
@@ -251,3 +262,7 @@ const SearchContainerWithFilter = styled('div')`
|
|
|
grid-template-columns: 1fr min-content;
|
|
|
}
|
|
|
`;
|
|
|
+
|
|
|
+const StyledPageFilterBar = styled(PageFilterBar)`
|
|
|
+ margin-bottom: ${space(1)};
|
|
|
+`;
|