|
1 | 1 | import {Fragment} from 'react'; |
2 | 2 |
|
3 | | -import {Flex, Grid, Stack} from '@sentry/scraps/layout'; |
| 3 | +import {Grid, Stack} from '@sentry/scraps/layout'; |
4 | 4 |
|
5 | 5 | import {AnalyticsArea} from 'sentry/components/analyticsArea'; |
6 | 6 | import {HookOrDefault} from 'sentry/components/hookOrDefault'; |
@@ -34,14 +34,13 @@ import {TraceItemDataset} from 'sentry/views/explore/types'; |
34 | 34 | import {TopBar} from 'sentry/views/navigation/topBar'; |
35 | 35 | import {useHasPageFrameFeature} from 'sentry/views/navigation/useHasPageFrameFeature'; |
36 | 36 | import {useAllMobileProj} from 'sentry/views/replays/detail/useAllMobileProj'; |
37 | | -import {ReplaysFilters} from 'sentry/views/replays/list/filters'; |
38 | 37 | import {ReplayIndexContainer} from 'sentry/views/replays/list/replayIndexContainer'; |
39 | 38 | import {ReplayIndexTimestampPrefPicker} from 'sentry/views/replays/list/replayIndexTimestampPrefPicker'; |
| 39 | +import {ReplayListControls} from 'sentry/views/replays/list/replayListControls'; |
40 | 40 | import {ReplayOnboardingPanel} from 'sentry/views/replays/list/replayOnboardingPanel'; |
41 | 41 | import {ReplayQueryParamsProvider} from 'sentry/views/replays/list/replayQueryParamsProvider'; |
42 | 42 | import {ReplayWidgetsToggleButton} from 'sentry/views/replays/list/replayWidgetsToggleButton'; |
43 | 43 | import {SaveReplayQueryButton} from 'sentry/views/replays/list/saveReplayQueryButton'; |
44 | | -import {ReplaysSearch} from 'sentry/views/replays/list/search'; |
45 | 44 |
|
46 | 45 | const ReplayListPageHeaderHook = HookOrDefault({ |
47 | 46 | hookName: 'component:replay-list-page-header', |
@@ -123,7 +122,6 @@ function ReplaysHeader({ |
123 | 122 | export default function ReplaysListContainer() { |
124 | 123 | useReplayPageview('replay.list-time-spent'); |
125 | 124 | const organization = useOrganization(); |
126 | | - const hasPageFrameFeature = useHasPageFrameFeature(); |
127 | 125 | const hasSentReplays = useHaveSelectedProjectsSentAnyReplayEvents(); |
128 | 126 | const {allMobileProj} = useAllMobileProj({}); |
129 | 127 |
|
@@ -181,11 +179,11 @@ export default function ReplaysListContainer() { |
181 | 179 | </ReplayAccess> |
182 | 180 | ) : ( |
183 | 181 | <Fragment> |
184 | | - <Flex gap="xl" wrap="wrap"> |
185 | | - <ReplaysFilters /> |
186 | | - <ReplaysSearch /> |
187 | | - {hasPageFrameFeature ? null : <SaveReplayQueryButton />} |
188 | | - </Flex> |
| 182 | + <ReplayListControls |
| 183 | + onToggleWidgets={toggleWidgets} |
| 184 | + showDeadRageClickCards={showDeadRageClickCards} |
| 185 | + widgetIsOpen={widgetIsOpen} |
| 186 | + /> |
189 | 187 | <ReplayOnboardingPanel /> |
190 | 188 | </Fragment> |
191 | 189 | )} |
|
0 commit comments