diff --git a/airbyte-webapp/src/components/source/SelectConnector/ConnectorGrid.tsx b/airbyte-webapp/src/components/source/SelectConnector/ConnectorGrid.tsx index 4e8ba77ca3e..9fe35f8114f 100644 --- a/airbyte-webapp/src/components/source/SelectConnector/ConnectorGrid.tsx +++ b/airbyte-webapp/src/components/source/SelectConnector/ConnectorGrid.tsx @@ -27,7 +27,7 @@ export const ConnectorGrid = ({ showConnectorBuilderButton = false, }: ConnectorGridProps) => { const [searchTerm, setSearchTerm] = useState(""); - const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", false); + const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", true); const filteredDefinitions = useMemo( () => diff --git a/airbyte-webapp/src/packages/cloud/cloudRoutes.tsx b/airbyte-webapp/src/packages/cloud/cloudRoutes.tsx index 0a1fb167cf5..2af0c0596a3 100644 --- a/airbyte-webapp/src/packages/cloud/cloudRoutes.tsx +++ b/airbyte-webapp/src/packages/cloud/cloudRoutes.tsx @@ -55,7 +55,7 @@ const MainRoutes: React.FC = () => { ); useAnalyticsRegisterValues(analyticsContext); - const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", false); + const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", true); return ( diff --git a/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/SourcesPage.tsx b/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/SourcesPage.tsx index 67e77d68886..6321b28d464 100644 --- a/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/SourcesPage.tsx +++ b/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/SourcesPage.tsx @@ -22,7 +22,7 @@ const SourcesPage: React.FC = () => { const { sources } = useSourceList(); const sourceDefinitions = useAvailableSourceDefinitions(); - const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", false); + const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", true); const { mutateAsync: updateSourceDefinition } = useUpdateSourceDefinition(); const [updatingDefinitionId, setUpdatingDefinitionId] = useState(); diff --git a/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/CreateConnector.tsx b/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/CreateConnector.tsx index e4bcabd6747..96b382742a1 100644 --- a/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/CreateConnector.tsx +++ b/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/CreateConnector.tsx @@ -38,7 +38,7 @@ const CreateConnector: React.FC = ({ type }) => { setIsModalOpen(!isModalOpen); setErrorMessage(""); }; - const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", false); + const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", true); const { formatMessage } = useIntl(); diff --git a/airbyte-webapp/src/pages/source/CreateSourcePage/SourceForm.tsx b/airbyte-webapp/src/pages/source/CreateSourcePage/SourceForm.tsx index 5111d2d206a..019cbbddb0d 100644 --- a/airbyte-webapp/src/pages/source/CreateSourcePage/SourceForm.tsx +++ b/airbyte-webapp/src/pages/source/CreateSourcePage/SourceForm.tsx @@ -2,21 +2,14 @@ import React, { useState } from "react"; import { FormattedMessage } from "react-intl"; import { useLocation } from "react-router-dom"; -import { BuilderPrompt } from "components/connectorBuilder/BuilderPrompt"; -import { Card } from "components/ui/Card"; - import { ConnectionConfiguration } from "core/domain/connection"; import { SourceDefinitionRead } from "core/request/AirbyteClient"; import { LogsRequestError } from "core/request/LogsRequestError"; -import { useExperiment } from "hooks/services/Experiment"; -import { RoutePaths } from "pages/routePaths"; import { useGetSourceDefinitionSpecificationAsync } from "services/connector/SourceDefinitionSpecificationService"; import { FormError } from "utils/errorStatusMessage"; import { ConnectorCard } from "views/Connector/ConnectorCard"; import { ConnectorCardValues } from "views/Connector/ConnectorForm/types"; -import styles from "./SourceForm.module.scss"; - export interface SourceFormValues { name: string; serviceType: string; @@ -66,28 +59,20 @@ export const SourceForm: React.FC = ({ ...values, sourceDefinitionId: sourceDefinitionSpecification?.sourceDefinitionId, }); - const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", false); return ( - <> - } - description={} - isLoading={isLoading} - fetchingConnectorError={sourceDefinitionError instanceof Error ? sourceDefinitionError : null} - availableConnectorDefinitions={sourceDefinitions} - onConnectorDefinitionSelect={onDropDownSelect} - selectedConnectorDefinitionSpecification={sourceDefinitionSpecification} - selectedConnectorDefinitionId={sourceDefinitionId} - onSubmit={onSubmitForm} - jobInfo={LogsRequestError.extractJobInfo(error)} - /> - {showBuilderNavigationLinks && !sourceDefinitionSpecification && ( - - - - )} - + } + description={} + isLoading={isLoading} + fetchingConnectorError={sourceDefinitionError instanceof Error ? sourceDefinitionError : null} + availableConnectorDefinitions={sourceDefinitions} + onConnectorDefinitionSelect={onDropDownSelect} + selectedConnectorDefinitionSpecification={sourceDefinitionSpecification} + selectedConnectorDefinitionId={sourceDefinitionId} + onSubmit={onSubmitForm} + jobInfo={LogsRequestError.extractJobInfo(error)} + /> ); }; diff --git a/airbyte-webapp/src/views/Connector/ConnectorForm/components/Controls/ConnectorServiceTypeControl/ConnectorDefinitionTypeControl.tsx b/airbyte-webapp/src/views/Connector/ConnectorForm/components/Controls/ConnectorServiceTypeControl/ConnectorDefinitionTypeControl.tsx index c747caa8a6c..e42b6ee2da1 100644 --- a/airbyte-webapp/src/views/Connector/ConnectorForm/components/Controls/ConnectorServiceTypeControl/ConnectorDefinitionTypeControl.tsx +++ b/airbyte-webapp/src/views/Connector/ConnectorForm/components/Controls/ConnectorServiceTypeControl/ConnectorDefinitionTypeControl.tsx @@ -39,7 +39,7 @@ import { WarningMessage } from "../../WarningMessage"; type MenuWithRequestButtonProps = MenuListProps & { selectProps: any }; const ConnectorList: React.FC> = ({ children, ...props }) => { - const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", false); + const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", true); return ( <> diff --git a/airbyte-webapp/src/views/layout/SideBar/MainNavItems.tsx b/airbyte-webapp/src/views/layout/SideBar/MainNavItems.tsx index 3b7c456d78d..fdbdbfb8429 100644 --- a/airbyte-webapp/src/views/layout/SideBar/MainNavItems.tsx +++ b/airbyte-webapp/src/views/layout/SideBar/MainNavItems.tsx @@ -12,7 +12,7 @@ import SourceIcon from "./components/SourceIcon"; import styles from "./MainNavItems.module.scss"; export const MainNavItems: React.FC = () => { - const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", false); + const showBuilderNavigationLinks = useExperiment("connectorBuilder.showNavigationLinks", true); return (