diff --git a/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx b/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx
index a0053fcb..98707fd2 100644
--- a/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx
+++ b/apps/rowboat/app/projects/[projectId]/workflow/components/TopBar.tsx
@@ -1,7 +1,7 @@
"use client";
import React from "react";
import { Button, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, Spinner, Tooltip, Input } from "@heroui/react";
-import { RadioIcon, RedoIcon, UndoIcon, RocketIcon, PenLine, AlertTriangle, DownloadIcon, SettingsIcon, ChevronDownIcon, ZapIcon, Clock } from "lucide-react";
+import { RadioIcon, RedoIcon, UndoIcon, RocketIcon, PenLine, AlertTriangle, DownloadIcon, SettingsIcon, ChevronDownIcon, ZapIcon, Clock, Plug } from "lucide-react";
import { useParams, useRouter } from "next/navigation";
interface TopBarProps {
@@ -105,7 +105,7 @@ export function TopBar({
Copied to clipboard
}
- {isLive &&
+ {isLive &&
This version is locked. Changes applied will not be reflected.
@@ -133,43 +133,59 @@ export function TopBar({
{/* Deploy CTA - always visible */}
- }
- data-tour-target="deploy"
- >
- Deploy
-
-
-
+ {isLive ? (
+
+
+ }
+ >
+ Use Assistant
+
+
+
+
+ }
+ onPress={() => { if (projectId) { router.push(`/projects/${projectId}/config`); } }}
+ >
+ API & SDK Settings
+
+ }
+ onPress={() => { if (projectId) { router.push(`/projects/${projectId}/manage-triggers`); } }}
+ >
+ Manage Triggers
+
+
+
+ ) : (
+ <>
}
+ data-tour-target="deploy"
>
-
+ Publish
-
-
- }
- onPress={() => { if (projectId) { router.push(`/projects/${projectId}/config`); } }}
- >
- API & SDK settings
-
- }
- onPress={() => { if (projectId) { router.push(`/projects/${projectId}/manage-triggers`); } }}
- >
- Manage triggers
-
- {!isLive ? (
- <>
+
+
+
+
+
}
@@ -185,10 +201,10 @@ export function TopBar({
>
Reset to live version
- >
- ) : null}
-
-
+
+
+ >
+ )}
{isLive &&
@@ -197,6 +213,7 @@ export function TopBar({
size="md"
onPress={() => onChangeMode('draft')}
className="gap-2 px-4 bg-gray-600 hover:bg-gray-700 text-white font-semibold text-sm"
+ startContent={
}
>
Switch to draft