feature: Hide integrations (#4074)
* hide integrations * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
04fa6351a2
commit
d0bfac3e7e
3 changed files with 8 additions and 4 deletions
|
|
@ -6,3 +6,4 @@ export const ENABLE_SOCIAL_LINKS = true;
|
|||
export const ENABLE_BRANDING = true;
|
||||
export const ENABLE_MVPS = false;
|
||||
export const ENABLE_CUSTOM_PARAM = false;
|
||||
export const ENABLE_INTEGRATIONS = false;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
import { ENABLE_MVPS } from "@/customization/feature-flags";
|
||||
import {
|
||||
ENABLE_INTEGRATIONS,
|
||||
ENABLE_MVPS,
|
||||
} from "@/customization/feature-flags";
|
||||
import { useStoreStore } from "@/stores/storeStore";
|
||||
import { cloneDeep } from "lodash";
|
||||
import { useEffect, useState } from "react";
|
||||
|
|
@ -245,7 +248,7 @@ export default function ExtraSidebar(): JSX.Element {
|
|||
<div key={index}></div>
|
||||
),
|
||||
)}
|
||||
<>
|
||||
{ENABLE_INTEGRATIONS && (
|
||||
<ParentDisclosureComponent
|
||||
defaultOpen={true}
|
||||
key={`${search.length !== 0}-${getFilterEdge.length !== 0}-Bundle`}
|
||||
|
|
@ -273,7 +276,7 @@ export default function ExtraSidebar(): JSX.Element {
|
|||
),
|
||||
)}
|
||||
</ParentDisclosureComponent>
|
||||
</>
|
||||
)}
|
||||
<ParentDisclosureComponent
|
||||
defaultOpen={search.length !== 0 || getFilterEdge.length !== 0}
|
||||
key={`${search.length !== 0}-${getFilterEdge.length !== 0}-Advanced`}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ test("user should be able to connect RetrieverTool to another components", async
|
|||
await chromaDbOutput.hover();
|
||||
await page.mouse.down();
|
||||
const retrieverToolInput = await page
|
||||
.getByTestId("handle-nvidiarerankcomponent-shownode-retriever-left")
|
||||
.getByTestId("handle-retrievertool-shownode-retriever-left")
|
||||
.nth(0);
|
||||
await retrieverToolInput.hover();
|
||||
await page.mouse.up();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue