diff --git a/apps/rowboat/app/lib/feature_flags.ts b/apps/rowboat/app/lib/feature_flags.ts index 0634c83a..2c10fb5e 100644 --- a/apps/rowboat/app/lib/feature_flags.ts +++ b/apps/rowboat/app/lib/feature_flags.ts @@ -18,3 +18,6 @@ export const SHOW_COPILOT_MARQUEE = false; export const SHOW_PROMPTS_SECTION = true; export const SHOW_DARK_MODE_TOGGLE = false; export const SHOW_VISUALIZATION = false; + +// Client-safe flags +export const SHOW_COMMUNITY_PUBLISH = false; diff --git a/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx b/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx index b535829a..08820627 100644 --- a/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx +++ b/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx @@ -7,6 +7,7 @@ import { useParams, useRouter } from "next/navigation"; import { ProgressBar, ProgressStep } from "@/components/ui/progress-bar"; import { useUser } from '@auth0/nextjs-auth0'; import { useState, useEffect } from "react"; +import { SHOW_COMMUNITY_PUBLISH } from "@/app/lib/feature_flags"; interface TopBarProps { localProjectName: string; @@ -708,126 +709,130 @@ export function TopBar({ {/* Divider */} -
Make it discoverable by others
-- Successfully published to community! -
+ Successfully published to community! +
+Publishing to community will make this assistant and its description publicly visible to other users.
-Publishing to community will make this assistant and its description publicly visible to other users.
+