diff --git a/src/frontend/src/icons/lazyIconImports.ts b/src/frontend/src/icons/lazyIconImports.ts index 4db6cf17b..023e46d57 100644 --- a/src/frontend/src/icons/lazyIconImports.ts +++ b/src/frontend/src/icons/lazyIconImports.ts @@ -315,6 +315,10 @@ export const lazyIconsMapping = { import("@/icons/Upstash").then((mod) => ({ default: mod.UpstashSvgIcon })), Vectara: () => import("@/icons/VectaraIcon").then((mod) => ({ default: mod.VectaraIcon })), + VectorStores: () => + import("@/icons/vectorstores").then((mod) => ({ + default: mod.VectorStoresIcon, + })), VertexAI: () => import("@/icons/VertexAI").then((mod) => ({ default: mod.VertexAIIcon })), WatsonxAI: () => diff --git a/src/frontend/src/icons/vectorstores/VectorStores.jsx b/src/frontend/src/icons/vectorstores/VectorStores.jsx new file mode 100644 index 000000000..31d543c40 --- /dev/null +++ b/src/frontend/src/icons/vectorstores/VectorStores.jsx @@ -0,0 +1,29 @@ +const SvgVectorStores = (props) => ( + + + + + + +); +export default SvgVectorStores; diff --git a/src/frontend/src/icons/vectorstores/index.tsx b/src/frontend/src/icons/vectorstores/index.tsx new file mode 100644 index 000000000..8d560918f --- /dev/null +++ b/src/frontend/src/icons/vectorstores/index.tsx @@ -0,0 +1,9 @@ +import React, { forwardRef } from "react"; +import SvgVectorStores from "./VectorStores"; + +export const VectorStoresIcon = forwardRef< + SVGSVGElement, + React.PropsWithChildren<{}> +>((props, ref) => { + return ; +}); diff --git a/src/frontend/src/icons/vectorstores/vectorstores.svg b/src/frontend/src/icons/vectorstores/vectorstores.svg new file mode 100644 index 000000000..997f796fa --- /dev/null +++ b/src/frontend/src/icons/vectorstores/vectorstores.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index 9b36c496a..26c312a92 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -300,6 +300,7 @@ export const SIDEBAR_BUNDLES = [ { display_name: "TwelveLabs", name: "twelvelabs", icon: "TwelveLabs" }, { display_name: "Unstructured", name: "unstructured", icon: "Unstructured" }, { display_name: "Vectara", name: "vectara", icon: "Vectara" }, + { display_name: "Vector Stores", name: "vectorstores", icon: "Layers" }, { display_name: "Vertex AI", name: "vertexai", icon: "VertexAI" }, { display_name: "Wikipedia", name: "wikipedia", icon: "Wikipedia" }, { diff --git a/src/frontend/tests/core/features/filterSidebar.spec.ts b/src/frontend/tests/core/features/filterSidebar.spec.ts index 7da117232..683337f59 100644 --- a/src/frontend/tests/core/features/filterSidebar.spec.ts +++ b/src/frontend/tests/core/features/filterSidebar.spec.ts @@ -117,7 +117,6 @@ test( await expect(page.getByTestId("disclosure-data")).toBeVisible(); await expect(page.getByTestId("disclosure-helpers")).toBeVisible(); - await expect(page.getByTestId("disclosure-vector stores")).toBeVisible(); await expect(page.getByTestId("disclosure-prototypes")).toBeVisible(); await expect(page.getByTestId("disclosure-tools")).toBeVisible(); diff --git a/src/frontend/tests/extended/features/filterEdge-shard-1.spec.ts b/src/frontend/tests/extended/features/filterEdge-shard-1.spec.ts index 87c014299..a069c5cde 100644 --- a/src/frontend/tests/extended/features/filterEdge-shard-1.spec.ts +++ b/src/frontend/tests/extended/features/filterEdge-shard-1.spec.ts @@ -59,13 +59,13 @@ test( "disclosure-data", "disclosure-models", "disclosure-helpers", - "disclosure-vector stores", "disclosure-agents", "disclosure-logic", "disclosure-tools", "disclosure-bundles-langchain", "disclosure-bundles-assemblyai", "disclosure-bundles-datastax", + "disclosure-bundles-vector stores", ]; const elementTestIds = [