Skip to content

fix(webapp): polish AI agent setup panel on tasks blank state - #4807

Merged
samejr merged 3 commits into
mainfrom
samejr/fix-ai-agent-panel-copy-button
Aug 28, 2026
Merged

fix(webapp): polish AI agent setup panel on tasks blank state#4807
samejr merged 3 commits into
mainfrom
samejr/fix-ai-agent-panel-copy-button

Conversation

@samejr

@samejr samejr commented Aug 27, 2026

Copy link
Copy Markdown
Member

Visual-only changes to the Tasks-page onboarding blank state (brand-new project, dev environment). Formatting, lint, and knip pass via the pre-push hooks; open the Tasks page for a new project to confirm the panel, copy button, and step 2 render as intended.


Changelog

Polished the "Set it up with your AI agent" onboarding panel: top-aligned the badge and switched it to the custom Ask AI sparkle icon, stopped the copy-prompt button from resizing when it swaps to "Copied prompt" (the bright check icon now sits beside the label), removed the sparkle from the button's idle state, removed the spinner next to "Start the dev server", and widened the gap between the panel text and the copy button.


Screenshots

CleanShot 2026-08-27 at 19 04 43

🤖 Generated with Claude Code


Open workspace in Conductor

Refine the "Set it up with your AI agent" onboarding panel: top-align the
badge icon and switch it to the custom Ask AI sparkle icon, stop the copy
button from resizing when it swaps to "Copied prompt" (bright check icon
now sits beside the label), drop the sparkle from the button's idle state,
remove the spinner next to "Start the dev server", and widen the gap
between the panel text and the copy button.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8f7f5a9

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

@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: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Updated the development setup panels to use AISparkleIcon, adjust responsive spacing, and remove the disconnected-state spinner from the dev server step. Updated the command copy button to use inline icon and label elements while reserving the idle label width during copied-state changes. Removed unused SparklesIcon imports.

Merge Risk: 🔵 Low · up to 17a86

The PR polishes the onboarding panel, but the setup prompt button may not preserve tooltip behavior and accessibility attributes after the layout change. It is mergeable with explicit owner follow-up to forward or wrap the trigger props.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 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 summarizes the main change: polishing the AI agent setup panel in the web app task blank state.
Description check ✅ Passed The description explains the visual changes, testing guidance, changelog, and screenshots. It does not include the required issue reference or checklist, and the testing details are not under the temp…
Full details: Description check

Explanation

The description explains the visual changes, testing guidance, changelog, and screenshots. It does not include the required issue reference or checklist, and the testing details are not under the template's Testing heading, but the content is mostly complete and directly relevant.

  • Fix all pre-merge checks with AI
✨ 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 samejr/fix-ai-agent-panel-copy-button

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 coderabbitai 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.

Actionable comments posted: 2

🧹 Nitpick comments (1)
apps/webapp/app/components/BlankStatePanels.tsx (1)

135-145: 🎯 Functional Correctness | 🔵 Trivial

Run the required visual check for the responsive setup panel. Use Chrome DevTools MCP on the new-project Tasks page at narrow and sm widths. Inspect snapshots, screenshots, and console messages. Check badge alignment, prompt spacing, and spinner removal.

Source: Coding guidelines


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4265ad1b-6083-4817-80ae-2d6d47811944

📥 Commits

Reviewing files that changed from the base of the PR and between acaa5ec and 17a86a6.

📒 Files selected for processing (2)
  • apps/webapp/app/components/BlankStatePanels.tsx
  • apps/webapp/app/components/SetupCommands.tsx

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📜 Review details
⏰ Context from checks skipped due to timeout. (19)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (17, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (20, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (5, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (15, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (13, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (10, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (9, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (14, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (7, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (11, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (12, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (21, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (18, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (19, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (6, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (8, 24)
  • GitHub Check: webapp / 🧪 Unit Tests: Webapp (16, 24)
  • GitHub Check: e2e-webapp / 🧪 E2E Tests: Webapp (1, 2)
  • GitHub Check: e2e-webapp / 🧪 E2E Tests: Webapp (2, 2)
🧰 Additional context used
📓 Path-based instructions (7)
For dashboard changes, visually verify the running Remix app with Chrome DevTools MCP, using snapshots, screenshots, interaction, and console-message checks as appropriate.

📄 CodeRabbit inference engine (apps/webapp/CLAUDE.md)

Files:

  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
**Prefer static imports over dynamic imports.** Only use dynamic `import()` when:

📄 CodeRabbit inference engine (AGENTS.md)

Files:

  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
Add crumbs as you write code — not just when debugging. Mark lines with

📄 CodeRabbit inference engine (AGENTS.md)

Files:

  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
Use zod for validation in packages/core and apps/webapp

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Files:

  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
Access environment variables through the `env` export of `env.server.ts` instead of directly accessing `process.env`

📄 CodeRabbit inference engine (.cursor/rules/webapp.mdc)

Files:

  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
Use function declarations instead of default exports

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Files:

  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
Use types over interfaces for TypeScript

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Files:

  • apps/webapp/app/components/SetupCommands.tsx
  • apps/webapp/app/components/BlankStatePanels.tsx
🔇 Additional comments (3)
apps/webapp/app/components/BlankStatePanels.tsx (2)

12-12: LGTM!


184-184: 🎯 Functional Correctness

No change is needed. StepNumber defaults displaySpinner to false, so removing the prop does not render a spinner when disconnected.

apps/webapp/app/components/SetupCommands.tsx (1)

1-1: LGTM!

Comment thread apps/webapp/app/components/SetupCommands.tsx
Comment thread apps/webapp/app/components/SetupCommands.tsx
@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trigger.dev/build

npm i https://pkg.pr.new/@trigger.dev/build@8f7f5a9

trigger.dev

npm i https://pkg.pr.new/trigger.dev@8f7f5a9

@trigger.dev/core

npm i https://pkg.pr.new/@trigger.dev/core@8f7f5a9

@trigger.dev/python

npm i https://pkg.pr.new/@trigger.dev/python@8f7f5a9

@trigger.dev/react-hooks

npm i https://pkg.pr.new/@trigger.dev/react-hooks@8f7f5a9

@trigger.dev/redis-worker

npm i https://pkg.pr.new/@trigger.dev/redis-worker@8f7f5a9

@trigger.dev/rsc

npm i https://pkg.pr.new/@trigger.dev/rsc@8f7f5a9

@trigger.dev/schema-to-json

npm i https://pkg.pr.new/@trigger.dev/schema-to-json@8f7f5a9

@trigger.dev/sdk

npm i https://pkg.pr.new/@trigger.dev/sdk@8f7f5a9

commit: 8f7f5a9

@samejr
samejr merged commit 2e24c01 into main Aug 28, 2026
52 checks passed
@samejr
samejr deleted the samejr/fix-ai-agent-panel-copy-button branch August 28, 2026 13:31
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.

2 participants