@@ -24,16 +24,12 @@ import { isRedisearchAvailable } from 'uiSrc/utils'
24
24
25
25
import { OnboardingStepName , OnboardingSteps } from 'uiSrc/constants/onboarding'
26
26
import {
27
- appFeatureHighlightingSelector ,
28
27
incrementOnboardStepAction ,
29
28
removeFeatureFromHighlighting
30
29
} from 'uiSrc/slices/app/features'
31
30
import { OnboardingTour } from 'uiSrc/components'
32
31
import { ONBOARDING_FEATURES } from 'uiSrc/components/onboarding-features'
33
32
import { setBulkActionType } from 'uiSrc/slices/browser/bulkActions'
34
- import { BUILD_FEATURES } from 'uiSrc/constants/featuresHighlighting'
35
- import HighlightedFeature from 'uiSrc/components/hightlighted-feature/HighlightedFeature'
36
- import { getHighlightingFeatures } from 'uiSrc/utils/highlighting'
37
33
import AutoRefresh from '../auto-refresh'
38
34
import FilterKeyType from '../filter-key-type'
39
35
import RediSearchIndexesList from '../redisearch-key-list'
@@ -84,8 +80,6 @@ const KeysHeader = (props: Props) => {
84
80
const { id : instanceId , modules } = useSelector ( connectedInstanceSelector )
85
81
const { viewType, searchMode, isFiltered } = useSelector ( keysSelector )
86
82
const { selectedIndex } = useSelector ( redisearchSelector )
87
- const { features } = useSelector ( appFeatureHighlightingSelector )
88
- const { bulkUpload : bulkUploadHighlighting } = getHighlightingFeatures ( features )
89
83
90
84
const rootDivRef : Ref < HTMLDivElement > = useRef ( null )
91
85
@@ -311,27 +305,18 @@ const KeysHeader = (props: Props) => {
311
305
)
312
306
313
307
const BulkActionsBtn = (
314
- < HighlightedFeature
315
- isHighlight = { bulkUploadHighlighting }
316
- title = { BUILD_FEATURES ?. bulkUpload ?. title }
317
- content = { BUILD_FEATURES ?. bulkUpload ?. content }
318
- type = { BUILD_FEATURES ?. bulkUpload ?. type }
319
- wrapperClassName = { styles . bulkActionsHighlighting }
320
- hideFirstChild
321
- >
322
- < EuiToolTip content = "Bulk Actions" position = "top" >
323
- < EuiButton
324
- fill
325
- size = "s"
326
- color = "secondary"
327
- onClick = { openBulkActions }
328
- className = { styles . bulkActions }
329
- data-testid = "btn-bulk-actions"
330
- >
331
- < EuiIcon type = { BulkActionsIcon } />
332
- </ EuiButton >
333
- </ EuiToolTip >
334
- </ HighlightedFeature >
308
+ < EuiToolTip content = "Bulk Actions" position = "top" >
309
+ < EuiButton
310
+ fill
311
+ size = "s"
312
+ color = "secondary"
313
+ onClick = { openBulkActions }
314
+ className = { styles . bulkActions }
315
+ data-testid = "btn-bulk-actions"
316
+ >
317
+ < EuiIcon type = { BulkActionsIcon } />
318
+ </ EuiButton >
319
+ </ EuiToolTip >
335
320
)
336
321
337
322
const ViewSwitch = ( width : number ) => (
0 commit comments