diff --git a/apps/rowboat/app/projects/[projectId]/copilot/app.tsx b/apps/rowboat/app/projects/[projectId]/copilot/app.tsx index 859aea90..538b6070 100644 --- a/apps/rowboat/app/projects/[projectId]/copilot/app.tsx +++ b/apps/rowboat/app/projects/[projectId]/copilot/app.tsx @@ -14,6 +14,9 @@ import { Messages } from "./components/messages"; import { CopyIcon, CheckIcon, PlusIcon, XIcon, InfoIcon, Sparkles } from "lucide-react"; import { useCopilot } from "./use-copilot"; import { BillingUpgradeModal } from "@/components/common/billing-upgrade-modal"; +import { SHOW_COPILOT_MARQUEE } from "@/app/lib/feature_flags"; +import Image from "next/image"; +import mascot from "@/public/mascot.png"; const CopilotContext = createContext<{ workflow: z.infer | null; @@ -205,6 +208,56 @@ const App = forwardRef<{ handleCopyChat: () => void; handleUserMessage: (message
+ {messages.length === 0 && ( +
+ {/* Replace Sparkles icon with mascot image */} + Rowboat Mascot + + {/* Welcome/Intro Section */} +
+

+ 👋 Welcome to Rowboat! +

+

+ I'm your copilot for building agents and adding tools to them. +

+

+ Here's what you can do in Rowboat: +

+
+
+ âš¡ + Build AI agents instantly with natural language. +
+
+ 🔌 + Connect tools with one-click integrations. +
+
+ 📂 + Power with knowledge by adding documents for RAG. +
+
+ 🔄 + Automate workflows by setting up triggers and actions. +
+
+ 🚀 + Deploy anywhere via API or SDK. +
+
+
+ + {SHOW_COPILOT_MARQUEE && ( +
+
+
What can I help you build?
+
 
+
+
+ )} +
+ )} void } title="Skipper" subtitle="Build your assistant" diff --git a/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx b/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx index 563bf798..2b891084 100644 --- a/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx +++ b/apps/rowboat/app/projects/[projectId]/copilot/components/messages.tsx @@ -575,7 +575,7 @@ export function Messages({ }; return ( -
+
{displayMessages.map((message, index) => (
diff --git a/apps/rowboat/components/common/panel-common.tsx b/apps/rowboat/components/common/panel-common.tsx index 1ceb8208..3ee7875f 100644 --- a/apps/rowboat/components/common/panel-common.tsx +++ b/apps/rowboat/components/common/panel-common.tsx @@ -81,56 +81,6 @@ export function Panel({ onClick={onClick} data-tour-target={tourTarget} > - {variant === 'copilot' && showWelcome && ( -
- {/* Replace Sparkles icon with mascot image */} - Rowboat Mascot - - {/* Welcome/Intro Section */} -
-

- 👋 Welcome to Rowboat! -

-

- I'm your copilot for building agents and adding tools to them. -

-

- Here's what you can do in Rowboat: -

-
-
- âš¡ - Build AI agents instantly with natural language. -
-
- 🔌 - Connect tools with one-click integrations. -
-
- 📂 - Power with knowledge by adding documents for RAG. -
-
- 🔄 - Automate workflows by setting up triggers and actions. -
-
- 🚀 - Deploy anywhere via API or SDK. -
-
-
- - {SHOW_COPILOT_MARQUEE && ( -
-
-
What can I help you build?
-
 
-
-
- )} -
- )}
{children}
- ) : children} + ) : ( + children + )}
; } \ No newline at end of file