diff --git a/autogpt_platform/frontend/src/app/(platform)/admin/layout.tsx b/autogpt_platform/frontend/src/app/(platform)/admin/layout.tsx
index 526c8064f3..c2239e195a 100644
--- a/autogpt_platform/frontend/src/app/(platform)/admin/layout.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/admin/layout.tsx
@@ -1,13 +1,12 @@
import { Sidebar } from "@/components/__legacy__/Sidebar";
import {
Users,
- DollarSign,
- UserSearch,
+ CurrencyDollar,
+ UserFocus,
FileText,
Database,
-} from "lucide-react";
-
-import { IconSliders } from "@/components/__legacy__/ui/icons";
+ Faders,
+} from "@phosphor-icons/react";
const sidebarLinkGroups = [
{
@@ -15,32 +14,32 @@ const sidebarLinkGroups = [
{
text: "Marketplace Management",
href: "/admin/marketplace",
- icon: ,
+ icon: ,
},
{
text: "User Spending",
href: "/admin/spending",
- icon: ,
+ icon: ,
},
{
text: "User Impersonation",
href: "/admin/impersonation",
- icon: ,
+ icon: ,
},
{
text: "Execution Analytics",
href: "/admin/execution-analytics",
- icon: ,
+ icon: ,
},
{
text: "Admin User Management",
href: "/admin/settings",
- icon: ,
+ icon: ,
},
{
text: "Test Data",
href: "/admin/test-data",
- icon: ,
+ icon: ,
},
],
},
diff --git a/autogpt_platform/frontend/src/app/(platform)/admin/test-data/components/GenerateTestDataButton.tsx b/autogpt_platform/frontend/src/app/(platform)/admin/test-data/components/GenerateTestDataButton.tsx
index e600404433..51c44cefed 100644
--- a/autogpt_platform/frontend/src/app/(platform)/admin/test-data/components/GenerateTestDataButton.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/admin/test-data/components/GenerateTestDataButton.tsx
@@ -119,25 +119,32 @@ export function GenerateTestDataButton() {
options={scriptTypeOptions}
/>
-
-
Warning: This will add significant data to your
- database. This endpoint is disabled in production environments.
+
+
+
+ Warning:
+ {" "}
+ This will add significant data to your database. This endpoint
+ is disabled in production environments.
+
{result && (
-
{result.message}
+
{result.message}
{result.details && (
{Object.entries(result.details).map(([key, value]) => (
-
- {key.replace(/_/g, " ")}: {String(value)}
+
+ {key.replace(/_/g, " ")}: {String(value)}
+
))}
diff --git a/autogpt_platform/frontend/src/app/(platform)/admin/test-data/page.tsx b/autogpt_platform/frontend/src/app/(platform)/admin/test-data/page.tsx
index ab2d94ca13..c9c880c537 100644
--- a/autogpt_platform/frontend/src/app/(platform)/admin/test-data/page.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/admin/test-data/page.tsx
@@ -1,5 +1,6 @@
import { withRoleAccess } from "@/lib/withRoleAccess";
import { GenerateTestDataButton } from "./components/GenerateTestDataButton";
+import { Text } from "@/components/atoms/Text/Text";
function TestDataDashboard() {
return (
@@ -7,32 +8,48 @@ function TestDataDashboard() {
-
Test Data Generation
-
+
+ Test Data Generation
+
+
Generate sample data for testing and development
-
+
-
Generate Test Data
-
+
+ Generate Test Data
+
+
Use this tool to populate the database with sample test data. This
is useful for development and testing purposes.
-
+
-
Available Script Types:
+
+ Available Script Types:
+
-
- E2E Test Data: Creates 15 test users with
- graphs, library agents, presets, store submissions, and API
- keys. Uses API functions for better compatibility.
+
+
+ E2E Test Data:
+ {" "}
+ Creates 15 test users with graphs, library agents, presets,
+ store submissions, and API keys. Uses API functions for better
+ compatibility.
+
-
- Full Test Data: Creates 100+ users with
- comprehensive test data including agent blocks, nodes,
- executions, analytics, and more. Takes longer to complete.
+
+
+ Full Test Data:
+ {" "}
+ Creates 100+ users with comprehensive test data including
+ agent blocks, nodes, executions, analytics, and more. Takes
+ longer to complete.
+
@@ -41,33 +58,93 @@ function TestDataDashboard() {
-
+
What data is created?
-
+
-
E2E Script:
+
E2E Script:
- - 15 test users
- - 15 graphs per user
- - Library agents
- - Agent presets
- - Store submissions
- - API keys
- - Creator profiles
+ -
+
+ 15 test users
+
+
+ -
+
+ 15 graphs per user
+
+
+ -
+
+ Library agents
+
+
+ -
+
+ Agent presets
+
+
+ -
+
+ Store submissions
+
+
+ -
+
+ API keys
+
+
+ -
+
+ Creator profiles
+
+
-
Full Script:
+
Full Script:
- - 100 users
- - 100 agent blocks
- - Multiple graphs per user
- - Agent nodes and links
- - Graph executions
- - Store listings and reviews
- - Analytics data
- - Credit transactions
+ -
+
+ 100 users
+
+
+ -
+
+ 100 agent blocks
+
+
+ -
+
+ Multiple graphs per user
+
+
+ -
+
+ Agent nodes and links
+
+
+ -
+
+ Graph executions
+
+
+ -
+
+ Store listings and reviews
+
+
+ -
+
+ Analytics data
+
+
+ -
+
+ Credit transactions
+
+