Skip to content

Add beautiful-agent-dashboard example (UI for agent workflows)#8

Open
tvjmohan wants to merge 3 commits intocursor:mainfrom
tvjmohan:main
Open

Add beautiful-agent-dashboard example (UI for agent workflows)#8
tvjmohan wants to merge 3 commits intocursor:mainfrom
tvjmohan:main

Conversation

@tvjmohan
Copy link
Copy Markdown

@tvjmohan tvjmohan commented Apr 29, 2026

This PR adds a new example showcasing a modern, developer-friendly UI for managing Cursor agent workflows.

The example focuses on clean design, usability, and structure for interacting with coding agents.

Features:

  • Dashboard with agent status summary (Running, Completed, Failed)
  • Runs page with execution history
  • Prompt library view
  • Activity timeline panel
  • Start Agent modal with dynamic run creation
  • Sidebar navigation with multiple sections
  • Premium dark UI built with Tailwind CSS

Tech Stack:

  • React
  • TypeScript
  • Vite
  • Tailwind CSS

Purpose:
This example demonstrates how an agent dashboard experience can be designed for real-world developer workflows. It is UI-focused and can be extended to integrate with the Cursor SDK for real agent execution and data.

Future Improvements:

  • Integrate Cursor SDK for real runs
  • Add logs and artifact viewer
  • Add filters and search
  • Improve responsiveness and accessibility

Note

Low Risk
New isolated example app and assets only; no changes to existing runtime logic or shared libraries beyond adding files and dependencies.

Overview
Adds a new sdk/beautiful-agent-dashboard example app: a Vite + React + Tailwind dashboard UI with sidebar navigation (Dashboard/Runs/Prompts/Settings), run status cards, recent runs/activity panels, and a “Start Agent” modal that creates queued runs via local state.

Includes the full project scaffold and tooling (package.json/lockfile, vite.config.ts, TypeScript configs, ESLint flat config, and static assets like favicon.svg/icons.svg).

Reviewed by Cursor Bugbot for commit 786f0fc. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread sdk/beautiful-agent-dashboard/src/pages/Dashboard.tsx Outdated
Comment thread sdk/beautiful-agent-dashboard/src/App.css Outdated
Comment thread sdk/beautiful-agent-dashboard/src/pages/Dashboard.tsx
@tvjmohan
Copy link
Copy Markdown
Author

Updated the README to clarify that this example is UI-focused and can be extended to integrate with Cursor SDK.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high mode and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 786f0fc. Configure here.

<symbol id="x-icon" viewBox="0 0 19 19">
<path fill="#08060d" fill-rule="evenodd" d="M1.893 1.98c.052.072 1.245 1.769 2.653 3.77l2.892 4.114c.183.261.333.48.333.486s-.068.089-.152.183l-.522.593-.765.867-3.597 4.087c-.375.426-.734.834-.798.905a1 1 0 0 0-.118.148c0 .01.236.017.664.017h.663l.729-.83c.4-.457.796-.906.879-.999a692 692 0 0 0 1.794-2.038c.034-.037.301-.34.594-.675l.551-.624.345-.392a7 7 0 0 1 .34-.374c.006 0 .93 1.306 2.052 2.903l2.084 2.965.045.063h2.275c1.87 0 2.273-.003 2.266-.021-.008-.02-1.098-1.572-3.894-5.547-2.013-2.862-2.28-3.246-2.273-3.266.008-.019.282-.332 2.085-2.38l2-2.274 1.567-1.782c.022-.028-.016-.03-.65-.03h-.674l-.3.342a871 871 0 0 1-1.782 2.025c-.067.075-.405.458-.75.852a100 100 0 0 1-.803.91c-.148.172-.299.344-.99 1.127-.304.343-.32.358-.345.327-.015-.019-.904-1.282-1.976-2.808L6.365 1.85H1.8zm1.782.91 8.078 11.294c.772 1.08 1.413 1.973 1.425 1.984.016.017.241.02 1.05.017l1.03-.004-2.694-3.766L7.796 5.75 5.722 2.852l-1.039-.004-1.039-.004z" clip-rule="evenodd"/>
</symbol>
</svg>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused icons.svg file never referenced anywhere

Low Severity · Code Quality

The icons.svg file defines SVG symbols for social media icons (Bluesky, Discord, GitHub, X, documentation, social) but is never referenced by any source file in the project. Grepping for all symbol IDs and the filename across sdk/beautiful-agent-dashboard returns matches only within icons.svg itself. This appears to be a template artifact unrelated to the agent dashboard functionality.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 786f0fc. Configure here.

@tvjmohan
Copy link
Copy Markdown
Author

Addressed the review feedback:

  • Fixed state update issue

  • Added queued status handling

  • Cleaned unused files

Let me know if any further improvements are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant