Bumps the development-dependencies group in /autogpt_platform/frontend with 5 updates: | Package | From | To | | --- | --- | --- | | [@storybook/test-runner](https://github.com/storybookjs/test-runner) | `0.22.0` | `0.22.1` | | [@types/negotiator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/negotiator) | `0.6.3` | `0.6.4` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.15.29` | `22.15.30` | | [msw](https://github.com/mswjs/msw) | `2.9.0` | `2.10.2` | | [msw-storybook-addon](https://github.com/mswjs/msw-storybook-addon/tree/HEAD/packages/msw-addon) | `2.0.4` | `2.0.5` | Updates `@storybook/test-runner` from 0.22.0 to 0.22.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/storybookjs/test-runner/releases"><code>@storybook/test-runner</code>'s releases</a>.</em></p> <blockquote> <h2>v0.22.1</h2> <h4>🐛 Bug Fix</h4> <ul> <li>Patch: Add telemetry to test run <a href="https://redirect.github.com/storybookjs/test-runner/pull/565">#565</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h2>v0.22.1-next.0</h2> <h4>🐛 Bug Fix</h4> <ul> <li>Replace <code>@storybook/csf</code> with storybook's internal csf implementation <a href="https://redirect.github.com/storybookjs/test-runner/pull/556">#556</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/storybookjs/test-runner/blob/v0.22.1/CHANGELOG.md"><code>@storybook/test-runner</code>'s changelog</a>.</em></p> <blockquote> <h1>v0.22.1 (Sat Jun 07 2025)</h1> <h4>🐛 Bug Fix</h4> <ul> <li>Patch: Add telemetry to test run <a href="https://redirect.github.com/storybookjs/test-runner/pull/565">#565</a> (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Yann Braga (<a href="https://github.com/yannbf"><code>@yannbf</code></a>)</li> </ul> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="ed37196132"><code>ed37196</code></a> Bump version to: 0.22.1 [skip ci]</li> <li><a href="df34390ef7"><code>df34390</code></a> Update CHANGELOG.md [skip ci]</li> <li><a href="0b60c084fe"><code>0b60c08</code></a> Merge pull request <a href="https://redirect.github.com/storybookjs/test-runner/issues/565">#565</a> from storybookjs/telemetry-main</li> <li><a href="4baeaf3d3d"><code>4baeaf3</code></a> Add telemetry to test run</li> <li>See full diff in <a href="https://github.com/storybookjs/test-runner/compare/v0.22.0...v0.22.1">compare view</a></li> </ul> </details> <br /> Updates `@types/negotiator` from 0.6.3 to 0.6.4 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/negotiator">compare view</a></li> </ul> </details> <br /> Updates `@types/node` from 22.15.29 to 22.15.30 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> Updates `msw` from 2.9.0 to 2.10.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mswjs/msw/releases">msw's releases</a>.</em></p> <blockquote> <h2>v2.10.2 (2025-06-09)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>TypeScript:</strong> support <code>Response.error()</code> and <code>HttpResponse.error()</code> as mocked responses (<a href="https://redirect.github.com/mswjs/msw/issues/2132">#2132</a>) (72cc8ddac8f030f747b674148b03e5a025e412d2) <a href="https://github.com/jacquesg"><code>@jacquesg</code></a> <a href="https://github.com/kettanaito"><code>@kettanaito</code></a></li> </ul> <h2>v2.10.1 (2025-06-07)</h2> <h3>Bug Fixes</h3> <ul> <li>update <code>@mswjs/interceptors</code> to support WebSocket server protocol (<a href="https://redirect.github.com/mswjs/msw/issues/2528">#2528</a>) (6704fa042a3eaa71b68eb7b9028a7464b2b30cef) <a href="https://github.com/kettanaito"><code>@kettanaito</code></a></li> </ul> <h2>v2.10.0 (2025-06-07)</h2> <h3>Features</h3> <ul> <li><strong>WebSocketHandler:</strong> add <code>run</code> method (<a href="https://redirect.github.com/mswjs/msw/issues/2527">#2527</a>) (94fc78ea50bd8c3334945d3047650c8b82c2f754) <a href="https://github.com/kettanaito"><code>@kettanaito</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="a30cdf591e"><code>a30cdf5</code></a> chore(release): v2.10.2</li> <li><a href="72cc8ddac8"><code>72cc8dd</code></a> fix(TypeScript): support <code>Response.error()</code> and <code>HttpResponse.error()</code> as moc...</li> <li><a href="d38097f162"><code>d38097f</code></a> chore(release): v2.10.1</li> <li><a href="6704fa042a"><code>6704fa0</code></a> fix: update <code>@mswjs/interceptors</code> to support WebSocket server protocol (<a href="https://redirect.github.com/mswjs/msw/issues/2528">#2528</a>)</li> <li><a href="dce459e32c"><code>dce459e</code></a> chore(release): v2.10.0</li> <li><a href="94fc78ea50"><code>94fc78e</code></a> feat(WebSocketHandler): add <code>run</code> method (<a href="https://redirect.github.com/mswjs/msw/issues/2527">#2527</a>)</li> <li><a href="ca9d87768e"><code>ca9d877</code></a> chore: run preview release on all pull requests (<a href="https://redirect.github.com/mswjs/msw/issues/2526">#2526</a>)</li> <li>See full diff in <a href="https://github.com/mswjs/msw/compare/v2.9.0...v2.10.2">compare view</a></li> </ul> </details> <br /> Updates `msw-storybook-addon` from 2.0.4 to 2.0.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mswjs/msw-storybook-addon/releases">msw-storybook-addon's releases</a>.</em></p> <blockquote> <h2>v2.0.5</h2> <h4>🐛 Bug Fix</h4> <ul> <li>fix: updates types to increase compatibility with storybook types <a href="https://redirect.github.com/mswjs/msw-storybook-addon/pull/169">#169</a> (<a href="https://github.com/rhuanbarreto"><code>@rhuanbarreto</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Rhuan Barreto (<a href="https://github.com/rhuanbarreto"><code>@rhuanbarreto</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mswjs/msw-storybook-addon/blob/main/packages/msw-addon/CHANGELOG.md">msw-storybook-addon's changelog</a>.</em></p> <blockquote> <h1>v2.0.5 (Thu Jun 05 2025)</h1> <h4>🐛 Bug Fix</h4> <ul> <li>fix: updates types to increase compatibility with storybook types <a href="https://redirect.github.com/mswjs/msw-storybook-addon/pull/169">#169</a> (<a href="https://github.com/rhuanbarreto"><code>@rhuanbarreto</code></a>)</li> </ul> <h4>Authors: 1</h4> <ul> <li>Rhuan Barreto (<a href="https://github.com/rhuanbarreto"><code>@rhuanbarreto</code></a>)</li> </ul> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="ec35e9371f"><code>ec35e93</code></a> Update CHANGELOG.md [skip ci]</li> <li><a href="d67ffc6b26"><code>d67ffc6</code></a> fix: updates types to increase compatibility with storybook types (<a href="https://github.com/mswjs/msw-storybook-addon/tree/HEAD/packages/msw-addon/issues/169">#169</a>)</li> <li>See full diff in <a href="https://github.com/mswjs/msw-storybook-addon/commits/v2.0.5/packages/msw-addon">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Swifty <craigswift13@gmail.com> Co-authored-by: Lluis Agusti <hi@llu.lu> Co-authored-by: Ubbe <hi@ubbe.dev>
This is the frontend for AutoGPT's next generation
🧢 Getting Started
This project uses pnpm as the package manager via corepack. Corepack is a Node.js tool that automatically manages package managers without requiring global installations.
Prerequisites
Make sure you have Node.js 16.10+ installed. Corepack is included with Node.js by default.
⚠️ Migrating from yarn
This project was previously using yarn1, make sure to clean up the old files if you set it up previously with yarn:
rm -f yarn.lock && rm -rf node_modulesThen follow the setup steps below.
Setup
-
Enable corepack (run this once on your system):
corepack enableThis enables corepack to automatically manage pnpm based on the
packageManagerfield inpackage.json. -
Install dependencies:
pnpm i -
Start the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
Subsequent Runs
For subsequent development sessions, you only need to run:
pnpm dev
Every time a new Front-end dependency is added by you or others, you will need to run pnpm i to install the new dependencies.
Available Scripts
pnpm dev- Start development serverpnpm build- Build for productionpnpm start- Start production serverpnpm lint- Run ESLint and Prettier checkspnpm format- Format code with Prettierpnpm type-check- Run TypeScript type checkingpnpm test- Run Playwright testspnpm test-ui- Run Playwright tests with UI
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
🚚 Deploy
TODO
📙 Storybook
Storybook is a powerful development environment for UI components. It allows you to build UI components in isolation, making it easier to develop, test, and document your components independently from your main application.
Purpose in the Development Process
- Component Development: Develop and test UI components in isolation.
- Visual Testing: Easily spot visual regressions.
- Documentation: Automatically document components and their props.
- Collaboration: Share components with your team or stakeholders for feedback.
How to Use Storybook
-
Start Storybook: Run the following command to start the Storybook development server:
pnpm storybookThis will start Storybook on port 6006. Open http://localhost:6006 in your browser to view your component library.
-
Build Storybook: To build a static version of Storybook for deployment, use:
pnpm build-storybook -
Running Storybook Tests: Storybook tests can be run using:
pnpm test-storybookFor CI environments, use:
pnpm test-storybook:ci -
Writing Stories: Create
.stories.tsxfiles alongside your components to define different states and variations of your components.
By integrating Storybook into our development workflow, we can streamline UI development, improve component reusability, and maintain a consistent design system across the project.
🔭 Tech Stack
Core Framework & Language
- Next.js - React framework with App Router
- React - UI library for building user interfaces
- TypeScript - Typed JavaScript for better developer experience
Styling & UI Components
- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Re-usable components built with Radix UI and Tailwind CSS
- Radix UI - Headless UI components for accessibility
- Lucide React - Beautiful & consistent icons
- Framer Motion - Animation library for React
Development & Testing
- Storybook - Component development environment
- Playwright - End-to-end testing framework
- ESLint - JavaScript/TypeScript linting
- Prettier - Code formatting
Backend & Services
- Supabase - Backend-as-a-Service (database, auth, storage)
- Sentry - Error monitoring and performance tracking
Package Management
Additional Libraries
- React Hook Form - Forms with easy validation
- Zod - TypeScript-first schema validation
- React Table - Headless table library
- React Flow - Interactive node-based diagrams