diff --git a/app/[workspace]/activity/layout.tsx b/app/[workspace]/activity/layout.tsx new file mode 100644 index 0000000..8b03595 --- /dev/null +++ b/app/[workspace]/activity/layout.tsx @@ -0,0 +1,20 @@ +"use client"; + +import { VIBNSidebar } from "@/components/layout/vibn-sidebar"; +import { useParams } from "next/navigation"; +import { ReactNode } from "react"; +import { Toaster } from "sonner"; + +export default function ActivityLayout({ children }: { children: ReactNode }) { + const params = useParams(); + const workspace = params.workspace as string; + return ( + <> +
+ Everything happening across your projects +
+ + {/* Filter pills */} +Loading…
+ )} + + {/* Timeline */} + {!loading && filtered.length === 0 && ( +No activity yet.
+ )} + + {!loading && filtered.length > 0 && ( +- Connect your hosting platforms to manage deployments, view logs, - and monitor your application's health across all environments. -
-+ Links, environments, and hosting for {project?.productName ?? "this project"} +
+ + {/* Project URLs */} ++ {!hasPRD + ? "Complete your PRD with Atlas first, then build and deploy." + : !hasRepo + ? "No repository yet — the Architect agent will scaffold one from your PRD." + : "No deployment yet — kick off a build to get a live URL."} +
++ Point your own domain to this project. SSL certificates are handled automatically. +
++ Manage environment variables in Coolify for your deployed services. + {project?.coolifyDeployUrl && ( + <> Open Coolify ↗> + )} +
+ ) : ( +Available after first build completes.
+ )} ++ {project?.status === "live" + ? "Deploy history will appear here." + : "No deploys yet."} +
+Project not found
+- Manage your project configuration and workspace settings +
+ Configure {project?.productName ?? "this project"}
-- 💡 Tip: Right-click your project folder → Get Info (Mac) or Properties (Windows) to copy the full path -
-{project.workspacePath} to {workspacePath}.
- GitHub Repository
-- {project.githubRepo || 'Not connected'} -
-ChatGPT Project
-- {project.chatgptUrl ? 'Connected' : 'Not connected'} -
-+ {projectDescription} +
+ )}