File tree Expand file tree Collapse file tree 6 files changed +17
-13
lines changed Expand file tree Collapse file tree 6 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ import UserInCircleSvg from 'uiSrc/assets/img/icons/user_in_circle.svg?react'
5252import UserSvg from 'uiSrc/assets/img/icons/user.svg?react'
5353import VersionSvg from 'uiSrc/assets/img/icons/version.svg?react'
5454import VisTagCloudSvg from 'uiSrc/assets/img/workbench/vis_tag_cloud.svg?react'
55+ import BikeSvg from 'uiSrc/assets/img/icons/bike.svg?react'
56+ import PopcornSvg from 'uiSrc/assets/img/icons/popcorn.svg?react'
5557
5658// Import guides icons
5759import ProbabilisticDataSvg from 'uiSrc/assets/img/guides/probabilistic-data.svg?react'
@@ -217,6 +219,8 @@ export const Trigger = createIconComponent(TriggerIcon)
217219export const UserInCircle = createIconComponent ( UserInCircleSvg )
218220export const VersionIcon = createIconComponent ( VersionSvg )
219221export const VisTagCloudIcon = createIconComponent ( VisTagCloudSvg )
222+ export const BikeIcon = createIconComponent ( BikeSvg )
223+ export const PopcornIcon = createIconComponent ( PopcornSvg )
220224
221225// Guides icons
222226export const ProbabilisticDataIcon = createIconComponent ( ProbabilisticDataSvg )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { useRedisearchListData } from './useRedisearchListData'
1010
1111export const VectorSearchPage = ( ) => {
1212 const { data, loading } = useRedisearchListData ( )
13- const hasIndexes = data ?. length > 0
13+ const hasIndexes = false // data?.length > 0
1414
1515 usePageViewTelemetry ( {
1616 page : TelemetryPageView . VECTOR_SEARCH_PAGE ,
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ import { FieldTypes } from 'uiSrc/pages/browser/components/create-redisearch-ind
22import { VectorSearchBox } from 'uiSrc/components/new-index/create-index-step/field-box/types'
33import { BoxSelectionOption } from 'uiSrc/components/new-index/selection-box/SelectionBox'
44import {
5+ BikeIcon ,
56 DatabaseIcon ,
7+ PopcornIcon ,
68 UniversityIcon ,
79 VectorSearchIcon ,
810 WandIcon ,
@@ -47,20 +49,13 @@ export const indexDataContent: BoxSelectionOption<SampleDataContent>[] = [
4749 value : SampleDataContent . E_COMMERCE_DISCOVERY ,
4850 label : 'E-commerce Discovery' ,
4951 text : 'Find products by meaning, not just keywords.' ,
50- icon : UniversityIcon , // TODO: bike icon?
51- } ,
52- {
53- value : SampleDataContent . AI_ASSISTANTS ,
54- label : 'AI Assistants' ,
55- text : 'Find products by meaning, not just keywords.' ,
56- icon : DatabaseIcon ,
57- disabled : true ,
52+ icon : BikeIcon ,
5853 } ,
5954 {
6055 value : SampleDataContent . CONTENT_RECOMMENDATIONS ,
61- label : 'Content Recommendations' ,
62- text : 'Find products by meaning, not just keywords .' ,
63- icon : UniversityIcon ,
56+ label : 'Movie Recommendations' ,
57+ text : 'Suggest movies based on the true meaning of plots or themes .' ,
58+ icon : PopcornIcon ,
6459 disabled : true ,
6560 } ,
6661]
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export enum SampleDataType {
1010
1111export enum SampleDataContent {
1212 E_COMMERCE_DISCOVERY = 'e-commerce-discovery' ,
13- AI_ASSISTANTS = 'ai-assistants' ,
1413 CONTENT_RECOMMENDATIONS = 'content-recommendations' ,
1514}
1615
You can’t perform that action at this time.
0 commit comments