Skip to content

Commit

Permalink
Try without the feature flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
SokratisVidros committed Jun 12, 2024
1 parent 6b15390 commit fa3d9a9
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/AppRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<Routes>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/SettingsRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NotificationBell unseenCount={unseenCount} colorScheme={colorScheme} />;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<EnsureOnboardingComplete>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/layout/components/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/layouts/v2/LayoutsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/settings/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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, '');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<IFormExtended>();
const stepFormPath = useStepFormPath();
const contentBlocks = useFieldArray<IFormExtended, any, 'id' | 'type'>({
Expand Down

0 comments on commit fa3d9a9

Please sign in to comment.