Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

add feedback button

Vasek Mlejnsky5b4a3269890c
diff --git a/components/AgentRunsList.tsx b/components/AgentRunsList.tsx
index 282f28a64..47dbe0ed0 100644
--- a/components/AgentRunsList.tsx
+++ b/components/AgentRunsList.tsx
@@ -111,7 +111,7 @@ function AgentRunsList({
<div className="flex flex-col space-y-3 w-full">
{Object.keys(runs).map((runID: string) => (
<div key={runID} className="px-4 py-2 cursor-pointer bg-[#1F2437] hover:bg-[#262C40] border border-[#2A3441] rounded-md">
- <span>runID: {runID}</span>
+ <span>runID: {runID} [TODO: Better name]</span>
</div>
))}
</div>
diff --git a/pages/index.tsx b/pages/index.tsx
index f4ebad476..d4cec07c3 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -9,6 +9,7 @@ import {
ListEnd,
X,
Menu,
+ MessageCircle,
} from 'lucide-react'
import { useRouter } from 'next/router'
import { usePostHog } from 'posthog-js/react'
@@ -268,7 +269,7 @@ function Home({ projects }: Props) {
{/* Static sidebar for desktop */}
<div className="hidden xl:fixed xl:inset-y-0 xl:z-50 xl:flex xl:w-72 xl:flex-col">
{/* Sidebar component, swap this element with another sidebar if you like */}
- <div className="flex grow flex-col gap-y-5 overflow-y-auto bg-black/10 px-6 ring-1 ring-white/5">
+ <div className="flex grow flex-col gap-y-5 overflow-y-auto bg-black/10 px-6 border-r border-white/5">
{/* Logo */}
{/* <div className="flex h-16 shrink-0 items-center">
<img
@@ -326,6 +327,15 @@ function Home({ projects }: Props) {
</button>
</div>
+ <div className="flex py-2 px-6 border-b border-white/5">
+ <button
+ className="group ml-auto flex items-center space-x-1 cursor-pointer transition-all py-1 px-2 rounded-md bg-gray-900 border border-white/5 hover:border-white/10"
+ >
+ <MessageCircle size={14} className="text-gray-400 group-hover:text-gray-100 transition-all" />
+ <span className="text-sm text-gray-400 group-hover:text-gray-100 transition-all">Feedback</span>
+ </button>
+ </div>
+
{view === 'deployed' ? (
<AgentList
agents={projectsWithDeployments}