diff --git a/frontend/src/component/integrations/IntegrationList/AvailableIntegrations/AvailableIntegrations.tsx b/frontend/src/component/integrations/IntegrationList/AvailableIntegrations/AvailableIntegrations.tsx index f80d09dc1b0e..4349b2a7a613 100644 --- a/frontend/src/component/integrations/IntegrationList/AvailableIntegrations/AvailableIntegrations.tsx +++ b/frontend/src/component/integrations/IntegrationList/AvailableIntegrations/AvailableIntegrations.tsx @@ -6,9 +6,6 @@ import { JIRA_INFO } from '../../ViewIntegration/JiraIntegration/JiraIntegration import { StyledCardsGrid } from '../IntegrationList.styles'; import { RequestIntegrationCard } from '../RequestIntegrationCard/RequestIntegrationCard'; import { OFFICIAL_SDKS } from './SDKs'; -import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; -import { useUiFlag } from 'hooks/useUiFlag'; -import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig'; interface IAvailableIntegrationsProps { providers: AddonTypeSchema[]; @@ -54,9 +51,6 @@ const StyledGrayContainer = styled('div')(({ theme }) => ({ export const AvailableIntegrations: VFC = ({ providers, }) => { - const { isEnterprise } = useUiConfig(); - const signalsEnabled = useUiFlag('signals'); - const customProviders = [JIRA_INFO]; const serverSdks = OFFICIAL_SDKS.filter((sdk) => sdk.type === 'server'); const clientSdks = OFFICIAL_SDKS.filter((sdk) => sdk.type === 'client'); @@ -97,17 +91,6 @@ export const AvailableIntegrations: VFC = ({ /> ), )} - - } - /> {/* TODO: sort providers from backend with custom providers */} {customProviders?.map( ({ name, displayName, description }) => ( diff --git a/frontend/src/component/integrations/IntegrationList/ConfiguredIntegrations/ConfiguredIntegrations.tsx b/frontend/src/component/integrations/IntegrationList/ConfiguredIntegrations/ConfiguredIntegrations.tsx index 4ca4018d2321..abd9925c6a8a 100644 --- a/frontend/src/component/integrations/IntegrationList/ConfiguredIntegrations/ConfiguredIntegrations.tsx +++ b/frontend/src/component/integrations/IntegrationList/ConfiguredIntegrations/ConfiguredIntegrations.tsx @@ -4,10 +4,6 @@ import { StyledCardsGrid } from '../IntegrationList.styles'; import { IntegrationCard } from '../IntegrationCard/IntegrationCard'; import type { VFC } from 'react'; import { Typography, styled } from '@mui/material'; -import { useSignalEndpoints } from 'hooks/api/getters/useSignalEndpoints/useSignalEndpoints'; -import { useUiFlag } from 'hooks/useUiFlag'; -import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; -import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig'; const StyledConfiguredSection = styled('section')(({ theme }) => ({ display: 'flex', @@ -27,10 +23,6 @@ export const ConfiguredIntegrations: VFC = ({ addons, providers, }) => { - const { signalEndpoints } = useSignalEndpoints(); - const signalsEnabled = useUiFlag('signals'); - const { isEnterprise } = useUiConfig(); - const ref = useLoading(loading || false); return ( @@ -73,27 +65,6 @@ export const ConfiguredIntegrations: VFC = ({ /> ); })} - 0 - } - show={ - - } - /> ); diff --git a/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx b/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx index c61f48490435..edb81049d11e 100644 --- a/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx +++ b/frontend/src/component/layout/MainLayout/NavigationSidebar/NewInUnleash/NewInUnleash.tsx @@ -1,6 +1,4 @@ import type { ReactNode } from 'react'; -import { useUiFlag } from 'hooks/useUiFlag'; -import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig'; import { useLocalStorageState } from 'hooks/useLocalStorageState'; import { Badge, @@ -86,7 +84,6 @@ interface INewInUnleashProps { export const NewInUnleash = ({ mode = 'full', - onItemClick, onMiniModeClick, }: INewInUnleashProps) => { const { trackEvent } = usePlausibleTracker(); @@ -94,8 +91,6 @@ export const NewInUnleash = ({ 'new-in-unleash-seen:v1', new Set(), ); - const { isEnterprise } = useUiConfig(); - const signalsEnabled = useUiFlag('signals'); const items: NewItem[] = [ { @@ -105,7 +100,7 @@ export const NewInUnleash = ({ preview: , link: '/integrations/signals', docsLink: 'https://docs.getunleash.io/reference/signals', - show: isEnterprise() && signalsEnabled, + show: false, longDescription: ( <>