Skip to content

feat(webapp): storybook gallery for the dashboard agent - #4516

Open
kathiekiwi wants to merge 4 commits into
feat/dashboard-agent-flowsfrom
feat/agent-storybook-gallery
Open

feat(webapp): storybook gallery for the dashboard agent#4516
kathiekiwi wants to merge 4 commits into
feat/dashboard-agent-flowsfrom
feat/agent-storybook-gallery

Conversation

@kathiekiwi

@kathiekiwi kathiekiwi commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Split out of #4418 so that PR carries only what ships to users.

Adds the agent gallery: five storybook.agent-* pages (chat UI, view blocks, report, investigation, watch) with their shared shell and manifest, the demo fixtures and two demo-only cards that feed them, the agent toast examples, and the screenshot script.

Screenshot 2026-08-06 at 00 36 19

@changeset-bot

changeset-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 662e92f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ec5c2f4f-07e2-455a-9d21-a344be6c3a41

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

Added client-safe dashboard-agent demo fixtures for identifiers, charts, view blocks, investigations, intents, watches, and messages. Added reusable chart and intent components. Replaced the diagnosis-only Storybook route with a gallery framework and routes for agent UI, view blocks, reports, investigations, and watches. Added toast examples, gallery navigation, theme controls, validation tests, and a Playwright screenshot utility with optional chat capture support.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 6.15% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The description explains the main change and includes a screenshot, but it omits the required issue, checklist, testing, and changelog sections. Add the required template sections, complete the checklist, document testing steps, provide a changelog entry, and reference the closing issue.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the main change: adding a Storybook gallery for the dashboard agent.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/agent-storybook-gallery

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot]

This comment was marked as resolved.

@kathiekiwi kathiekiwi changed the title Dashboard agent storybook gallery feat(webapp): storybook gallery for the dashboard agent Aug 6, 2026
@kathiekiwi
kathiekiwi marked this pull request as ready for review August 6, 2026 00:07
devin-ai-integration[bot]

This comment was marked as resolved.

The gallery pages for the agent chat, view blocks, report, investigation and
watch cards, the demo fixtures behind them, and the screenshot script.

This reverts commit bbdcb0881, which held these back out of the parent PR.
@kathiekiwi
kathiekiwi force-pushed the feat/agent-storybook-gallery branch from bfe64cc to 1b6dfb1 Compare August 6, 2026 00:56
devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

Open in Devin Review

Comment on lines 162 to +186
{
sectionTitle: "Dashboard agent",
name: "Agent UI",
sectionTitle: "Trigger Agent",
name: "Chat UI",
slug: "agent-ui",
},
{
name: "View blocks",
slug: "agent-view-blocks",
},
{
name: "Report view",
slug: "agent-report",
},
{
name: "Investigation card",
slug: "agent-investigation",
},
{
name: "Watch card",
slug: "agent-watch",
},
{
name: "Icons & Buttons",
slug: "ai-agent",
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Release-notes entry missing for a webapp-only change

This pull request changes only files under apps/webapp/ (see apps/webapp/app/routes/storybook/route.tsx:163) without adding the required release-note file, so the change will not appear anywhere in the published notes.
Impact: The change ships undocumented, and the repository's contribution checklist is not satisfied.

Where the rule comes from and how to satisfy it

AGENTS.md and CONTRIBUTING.md both state: "When modifying only server components (apps/webapp/, apps/supervisor/, etc.) with no package changes, add a .server-changes/ file instead" of a changeset. The full diff touches only apps/webapp/** (new storybook.agent-* routes, the dashboard-agent/demo fixtures and the toast story) and no files under packages/ or integrations/, and git diff --name-only against the merge base shows no new file under .server-changes/. The fix is to add a markdown file to .server-changes/ with area: webapp and type: feature/improvement frontmatter plus a one-line, user-facing description, per .server-changes/README.md.

Prompt for agents
This PR modifies only apps/webapp (new storybook gallery routes, dashboard-agent demo fixtures, toast story) and contains no changes under packages/ or integrations/. AGENTS.md and CONTRIBUTING.md require that server-only PRs add a file under .server-changes/ so the change lands in the user-visible release notes; no such file exists in this branch. Add a `.server-changes/<descriptive-name>.md` with frontmatter `area: webapp` and an appropriate `type`, and a single plain sentence describing the change for users (see .server-changes/README.md for the writing guidance).
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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