@@ -13,7 +13,7 @@ import DatabasePanel from 'uiSrc/pages/home/components/database-panel'
13
13
import { clusterSelector , resetDataRedisCluster , resetInstancesRedisCluster , } from 'uiSrc/slices/instances/cluster'
14
14
import { Nullable , setTitle } from 'uiSrc/utils'
15
15
import { HomePageTemplate } from 'uiSrc/templates'
16
- import { BrowserStorageItem , FeatureFlags } from 'uiSrc/constants'
16
+ import { BrowserStorageItem } from 'uiSrc/constants'
17
17
import { resetKeys } from 'uiSrc/slices/browser/keys'
18
18
import { resetCliHelperSettings , resetCliSettingsAction } from 'uiSrc/slices/cli/cli-settings'
19
19
import { resetRedisearchKeysData } from 'uiSrc/slices/browser/redisearch'
@@ -34,11 +34,6 @@ import { sendEventTelemetry, sendPageViewTelemetry, TelemetryEvent, TelemetryPag
34
34
import { appRedirectionSelector , setUrlHandlingInitialState } from 'uiSrc/slices/app/url-handling'
35
35
import { UrlHandlingActions } from 'uiSrc/slices/interfaces/urlHandling'
36
36
import { AddDbType } from 'uiSrc/pages/home/constants'
37
- import HighlightedFeature from 'uiSrc/components/hightlighted-feature/HighlightedFeature'
38
- import { BUILD_FEATURES } from 'uiSrc/constants/featuresHighlighting'
39
- import AiChatbotMessage from 'uiSrc/components/hightlighted-feature/components/ai-chatbot-message'
40
- import { appFeatureFlagsFeaturesSelector , appFeatureHighlightingSelector } from 'uiSrc/slices/app/features'
41
- import { getHighlightingFeatures , isAnyFeatureEnabled } from 'uiSrc/utils/features'
42
37
43
38
import DatabasesList from './components/database-list-component'
44
39
import DatabaseListHeader from './components/database-list-header'
@@ -55,15 +50,6 @@ enum RightPanelName {
55
50
const HomePage = ( ) => {
56
51
const [ width , setWidth ] = useState ( 0 )
57
52
const [ openRightPanel , setOpenRightPanel ] = useState < Nullable < RightPanelName > > ( null )
58
-
59
- const { features } = useSelector ( appFeatureHighlightingSelector )
60
- const { aiChatbot : aiChatbotHighlighting } = getHighlightingFeatures ( features )
61
- const {
62
- [ FeatureFlags . databaseChat ] : databaseChatFeature ,
63
- [ FeatureFlags . documentationChat ] : documentationChatFeature ,
64
- } = useSelector ( appFeatureFlagsFeaturesSelector )
65
- const isAnyChatAvailable = isAnyFeatureEnabled ( [ databaseChatFeature , documentationChatFeature ] )
66
-
67
53
const initialDbTypeRef = useRef < AddDbType > ( AddDbType . manual )
68
54
69
55
const dispatch = useDispatch ( )
@@ -234,14 +220,7 @@ const HomePage = () => {
234
220
235
221
return (
236
222
< HomePageTemplate >
237
- < HighlightedFeature
238
- isHighlight = { isAnyChatAvailable && aiChatbotHighlighting }
239
- { ...( BUILD_FEATURES . aiChatbot || { } ) }
240
- >
241
- < AiChatbotMessage />
242
- </ HighlightedFeature >
243
223
< div className = { styles . pageWrapper } >
244
-
245
224
< EuiPage className = { styles . page } >
246
225
< EuiPageBody component = "div" >
247
226
< DatabaseListHeader
0 commit comments