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'
52
52
import UserSvg from 'uiSrc/assets/img/icons/user.svg?react'
53
53
import VersionSvg from 'uiSrc/assets/img/icons/version.svg?react'
54
54
import 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'
55
57
56
58
// Import guides icons
57
59
import ProbabilisticDataSvg from 'uiSrc/assets/img/guides/probabilistic-data.svg?react'
@@ -217,6 +219,8 @@ export const Trigger = createIconComponent(TriggerIcon)
217
219
export const UserInCircle = createIconComponent ( UserInCircleSvg )
218
220
export const VersionIcon = createIconComponent ( VersionSvg )
219
221
export const VisTagCloudIcon = createIconComponent ( VisTagCloudSvg )
222
+ export const BikeIcon = createIconComponent ( BikeSvg )
223
+ export const PopcornIcon = createIconComponent ( PopcornSvg )
220
224
221
225
// Guides icons
222
226
export const ProbabilisticDataIcon = createIconComponent ( ProbabilisticDataSvg )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { useRedisearchListData } from './useRedisearchListData'
10
10
11
11
export const VectorSearchPage = ( ) => {
12
12
const { data, loading } = useRedisearchListData ( )
13
- const hasIndexes = data ?. length > 0
13
+ const hasIndexes = false // data?.length > 0
14
14
15
15
usePageViewTelemetry ( {
16
16
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
2
2
import { VectorSearchBox } from 'uiSrc/components/new-index/create-index-step/field-box/types'
3
3
import { BoxSelectionOption } from 'uiSrc/components/new-index/selection-box/SelectionBox'
4
4
import {
5
+ BikeIcon ,
5
6
DatabaseIcon ,
7
+ PopcornIcon ,
6
8
UniversityIcon ,
7
9
VectorSearchIcon ,
8
10
WandIcon ,
@@ -47,20 +49,13 @@ export const indexDataContent: BoxSelectionOption<SampleDataContent>[] = [
47
49
value : SampleDataContent . E_COMMERCE_DISCOVERY ,
48
50
label : 'E-commerce Discovery' ,
49
51
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 ,
58
53
} ,
59
54
{
60
55
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 ,
64
59
disabled : true ,
65
60
} ,
66
61
]
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export enum SampleDataType {
10
10
11
11
export enum SampleDataContent {
12
12
E_COMMERCE_DISCOVERY = 'e-commerce-discovery' ,
13
- AI_ASSISTANTS = 'ai-assistants' ,
14
13
CONTENT_RECOMMENDATIONS = 'content-recommendations' ,
15
14
}
16
15
You can’t perform that action at this time.
0 commit comments