From 151fad5cedfe912c11780b8834ab2c35e3cb7fe6 Mon Sep 17 00:00:00 2001 From: Swifty Date: Thu, 31 Oct 2024 13:38:54 +0000 Subject: [PATCH 1/5] docs(platform): Update frontend instructions (#8514) update readme --- autogpt_platform/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogpt_platform/README.md b/autogpt_platform/README.md index 02cbe6814929..79a9cf9a7d43 100644 --- a/autogpt_platform/README.md +++ b/autogpt_platform/README.md @@ -28,9 +28,9 @@ To run the AutoGPT Platform, follow these steps: 3. Run the following command: ``` - cp supabase/docker/.env.example .env + cp supabase/docker/.env.example .env.local ``` - This command will copy the `.env.example` file to `.env` in the `supabase/docker` directory. You can modify the `.env` file to add your own environment variables. + This command will copy the `.env.example` file to `.env.local` in the `supabase/docker` directory. You can modify the `.env.local` file to add your own environment variables. 4. Run the following command: ``` From 952f6f58efd68c9af511a4841b721e084b93d2f9 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Fri, 1 Nov 2024 09:13:25 +0000 Subject: [PATCH 2/5] docs(platform): correct readme --- autogpt_platform/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autogpt_platform/README.md b/autogpt_platform/README.md index 79a9cf9a7d43..64e61e880c06 100644 --- a/autogpt_platform/README.md +++ b/autogpt_platform/README.md @@ -28,9 +28,9 @@ To run the AutoGPT Platform, follow these steps: 3. Run the following command: ``` - cp supabase/docker/.env.example .env.local + cp supabase/docker/.env.example .env ``` - This command will copy the `.env.example` file to `.env.local` in the `supabase/docker` directory. You can modify the `.env.local` file to add your own environment variables. + This command will copy the `.env.example` file to `.env` in the `supabase/docker` directory. You can modify the `.env` file to add your own environment variables. 4. Run the following command: ``` @@ -46,9 +46,9 @@ To run the AutoGPT Platform, follow these steps: 6. Run the following command: ``` - cp .env.example .env + cp .env.example .env.local ``` - This command will copy the `.env.example` file to `.env` in the `frontend` directory. You can modify the `.env` within this folder to add your own environment variables for the frontend application. + This command will copy the `.env.example` file to `.env.local` in the `frontend` directory. You can modify the `.env.local` within this folder to add your own environment variables for the frontend application. 7. Run the following command: ``` From ed45600f2755b78335bdbcfce728abf16d010924 Mon Sep 17 00:00:00 2001 From: Abhimanyu Date: Mon, 4 Nov 2024 07:11:06 +0530 Subject: [PATCH 3/5] feat(build-page): make all content unselectable except flowEditor --- autogpt_platform/frontend/src/app/build/page.tsx | 12 ++++++------ autogpt_platform/frontend/src/components/NavBar.tsx | 2 +- .../frontend/src/components/PrimaryActionButton.tsx | 2 +- .../frontend/src/components/TallyPopup.tsx | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/autogpt_platform/frontend/src/app/build/page.tsx b/autogpt_platform/frontend/src/app/build/page.tsx index 6b5ea497e233..55302556aae7 100644 --- a/autogpt_platform/frontend/src/app/build/page.tsx +++ b/autogpt_platform/frontend/src/app/build/page.tsx @@ -1,16 +1,16 @@ "use client"; import { useSearchParams } from "next/navigation"; -import FlowEditor from '@/components/Flow'; +import FlowEditor from "@/components/Flow"; export default function Home() { const query = useSearchParams(); return ( - + ); } diff --git a/autogpt_platform/frontend/src/components/NavBar.tsx b/autogpt_platform/frontend/src/components/NavBar.tsx index cd8de5802d99..b22cbd48eaaa 100644 --- a/autogpt_platform/frontend/src/components/NavBar.tsx +++ b/autogpt_platform/frontend/src/components/NavBar.tsx @@ -18,7 +18,7 @@ export async function NavBar() { const { user } = await getServerUser(); return ( -
+
diff --git a/autogpt_platform/frontend/src/components/PrimaryActionButton.tsx b/autogpt_platform/frontend/src/components/PrimaryActionButton.tsx index ee3c837848aa..0e8f31f77fa0 100644 --- a/autogpt_platform/frontend/src/components/PrimaryActionButton.tsx +++ b/autogpt_platform/frontend/src/components/PrimaryActionButton.tsx @@ -32,7 +32,7 @@ const PrimaryActionBar: React.FC = ({ const runButtonOnClick = !isRunning ? onClickRunAgent : requestStopRun; return ( -
+
diff --git a/autogpt_platform/frontend/src/components/TallyPopup.tsx b/autogpt_platform/frontend/src/components/TallyPopup.tsx index 89b02cf49a48..001317cf7035 100644 --- a/autogpt_platform/frontend/src/components/TallyPopup.tsx +++ b/autogpt_platform/frontend/src/components/TallyPopup.tsx @@ -48,7 +48,7 @@ const TallyPopupSimple = () => { }; return ( -
+