From fa3d9a92023dd131bafe9c783ed85e1fbd4863e9 Mon Sep 17 00:00:00 2001 From: Sokratis Vidros Date: Wed, 12 Jun 2024 17:27:19 +0300 Subject: [PATCH] Try without the feature flag. --- apps/web/src/AppRoutes.tsx | 2 +- apps/web/src/SettingsRoutes.tsx | 2 +- .../src/components/layout/components/NotificationCenterBell.tsx | 2 +- apps/web/src/components/layout/components/PrivatePageLayout.tsx | 2 +- apps/web/src/components/layout/components/SideNav.tsx | 2 +- apps/web/src/pages/layouts/v2/LayoutsPage.tsx | 2 +- apps/web/src/pages/settings/SettingsPage.tsx | 2 +- .../templates/components/email-editor/EmailMessageEditor.tsx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/web/src/AppRoutes.tsx b/apps/web/src/AppRoutes.tsx index b6d678859f24..e12e82555d7f 100644 --- a/apps/web/src/AppRoutes.tsx +++ b/apps/web/src/AppRoutes.tsx @@ -52,7 +52,7 @@ import { WorkflowsListPage } from './studio/components/workflows/WorkflowsListPa export const AppRoutes = () => { const isImprovedOnboardingEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_IMPROVED_ONBOARDING_ENABLED); - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; return ( diff --git a/apps/web/src/SettingsRoutes.tsx b/apps/web/src/SettingsRoutes.tsx index a7cdde2863a6..3b5b579c33d3 100644 --- a/apps/web/src/SettingsRoutes.tsx +++ b/apps/web/src/SettingsRoutes.tsx @@ -17,7 +17,7 @@ import { OrganizationPage } from './pages/settings/organization'; /** Note: using a hook is the only way to separate routes */ export const useSettingsRoutes = () => { - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; if (isInformationArchitectureEnabled) { return ( diff --git a/apps/web/src/components/layout/components/NotificationCenterBell.tsx b/apps/web/src/components/layout/components/NotificationCenterBell.tsx index 9b1e4c679885..25a638801f9a 100644 --- a/apps/web/src/components/layout/components/NotificationCenterBell.tsx +++ b/apps/web/src/components/layout/components/NotificationCenterBell.tsx @@ -12,7 +12,7 @@ export function NotificationCenterBell({ unseenCount?: number; colorScheme: ColorScheme; }) { - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; if (!isInformationArchitectureEnabled) { return ; diff --git a/apps/web/src/components/layout/components/PrivatePageLayout.tsx b/apps/web/src/components/layout/components/PrivatePageLayout.tsx index 74664318a834..2271cea9d39e 100644 --- a/apps/web/src/components/layout/components/PrivatePageLayout.tsx +++ b/apps/web/src/components/layout/components/PrivatePageLayout.tsx @@ -33,7 +33,7 @@ const ContentShell = styled.div` export function PrivatePageLayout() { const [isIntercomOpened, setIsIntercomOpened] = useState(false); - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; return ( diff --git a/apps/web/src/components/layout/components/SideNav.tsx b/apps/web/src/components/layout/components/SideNav.tsx index 5d77240b5486..4feaddc8ba16 100644 --- a/apps/web/src/components/layout/components/SideNav.tsx +++ b/apps/web/src/components/layout/components/SideNav.tsx @@ -80,7 +80,7 @@ export function SideNav({}: Props) { updateOnboardingStatus, } = useUserOnboardingStatus(); const showOnBoarding = isLoadingShowOnBoarding ? false : showOnBoardingState; - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; useEffect(() => { removeItems(['toggle-environment']); diff --git a/apps/web/src/pages/layouts/v2/LayoutsPage.tsx b/apps/web/src/pages/layouts/v2/LayoutsPage.tsx index 24d254573081..1d4c00c75309 100644 --- a/apps/web/src/pages/layouts/v2/LayoutsPage.tsx +++ b/apps/web/src/pages/layouts/v2/LayoutsPage.tsx @@ -14,7 +14,7 @@ const LAYOUT = 'Layouts'; export function LayoutsPage() { const { currentOrganization, currentUser } = useAuth(); const { environment } = useEnvController(); - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; const segment = useSegment(); diff --git a/apps/web/src/pages/settings/SettingsPage.tsx b/apps/web/src/pages/settings/SettingsPage.tsx index 0032b72b1fa0..48bc4b3f5d74 100644 --- a/apps/web/src/pages/settings/SettingsPage.tsx +++ b/apps/web/src/pages/settings/SettingsPage.tsx @@ -30,7 +30,7 @@ export function SettingsPage() { const navigate = useNavigate(); const { pathname } = useLocation(); const billingEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_BILLING_ENABLED); - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; const value = useMemo(() => { return pathname === ROUTES.SETTINGS ? '/' : pathname.replace(ROUTES.SETTINGS, ''); diff --git a/apps/web/src/pages/templates/components/email-editor/EmailMessageEditor.tsx b/apps/web/src/pages/templates/components/email-editor/EmailMessageEditor.tsx index 6b5496a7e8a4..e4718145097f 100644 --- a/apps/web/src/pages/templates/components/email-editor/EmailMessageEditor.tsx +++ b/apps/web/src/pages/templates/components/email-editor/EmailMessageEditor.tsx @@ -32,7 +32,7 @@ export function EmailMessageEditor({ branding: { color: string; logo: string } | undefined; readonly: boolean; }) { - const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED); + const isInformationArchitectureEnabled = true; const methods = useFormContext(); const stepFormPath = useStepFormPath(); const contentBlocks = useFieldArray({