Skip to content

feat(platform): custom agents empty state, skeleton, and toggle improvements#457

Merged
Israeltheminer merged 1 commit into
mainfrom
feat/custom-agents-ux-polish
Feb 13, 2026
Merged

feat(platform): custom agents empty state, skeleton, and toggle improvements#457
Israeltheminer merged 1 commit into
mainfrom
feat/custom-agents-ux-polish

Conversation

@Israeltheminer

@Israeltheminer Israeltheminer commented Feb 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add empty state and loading skeleton for the custom agents page
  • Improve active toggle to handle draft agents with published versions (re-publish instead of activate)
  • Auto-initialize AI assistant thread when creating automations with a description
  • Minor UI fixes (automations empty state padding, vendor details label)

Test plan

  • Verify custom agents page shows skeleton while loading
  • Verify custom agents page shows empty state when no agents exist
  • Verify toggling a draft agent with prior published versions calls publish
  • Verify creating an automation with a description initializes an AI thread
  • Run existing custom agent toggle tests

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • AI-assisted workflow creation automatically triggered after setting up new automations with thread collaboration
    • Draft custom agents can now be published directly
    • Enhanced custom agents section with loading states and empty-state messaging
  • UI/UX Improvements

    • Updated UI labels for consistency and clarity

…ions

Move custom agents and automations to page-level empty state rendering
matching the pattern used by customers, products, and vendors. Add
dedicated empty state and skeleton components with proper padding.
Also resolve merge conflicts from TanStack DB collections migration.
@coderabbitai

coderabbitai Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This PR integrates AI-assisted workflow creation into the automation flow and enhances custom agents functionality. It adds a chat thread creation mechanism triggered after automation creation, updates automation metadata with thread IDs, and invokes a workflow assistant with an initial prompt. The custom agents feature gains new empty-state and skeleton UI components, and the active-toggle component now handles agent publishing in addition to version activation. Related routes conditionally render loading and empty states. Translations are added for custom agent empty states and automation initialization prompts.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 2 | ❌ 2
❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Merge Conflict Detection ⚠️ Warning ❌ Merge conflicts detected (8 files):

⚔️ package-lock.json (content)
⚔️ services/platform/app/features/automations/components/automation-create-dialog.tsx (content)
⚔️ services/platform/app/features/custom-agents/components/custom-agent-active-toggle.test.tsx (content)
⚔️ services/platform/app/features/custom-agents/components/custom-agent-active-toggle.tsx (content)
⚔️ services/platform/app/routes/dashboard/$id/automations/index.tsx (content)
⚔️ services/platform/app/routes/dashboard/$id/custom-agents/index.tsx (content)
⚔️ services/platform/messages/en.json (content)
⚔️ services/platform/package.json (content)

These conflicts must be resolved before merging into main.
Resolve conflicts locally and push changes to this branch.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: custom agents empty state and skeleton components, plus the active toggle improvements for handling draft agents with published versions.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/custom-agents-ux-polish
⚔️ Resolve merge conflicts (beta)
  • Auto-commit resolved conflicts to branch feat/custom-agents-ux-polish
  • Create stacked PR with resolved conflicts
  • Post resolved changes as copyable diffs in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
services/platform/app/routes/dashboard/$id/custom-agents/index.tsx (1)

35-44: 🧹 Nitpick | 🔵 Trivial

Consider removing the redundant isLoading prop.

Since the loading state is handled by the early return on line 19, isLoading will always be false when CustomAgentTable renders. Consider removing this prop if it's not needed by the table component.

♻️ Proposed refactor
   return (
     <ContentWrapper>
       <CustomAgentTable
         organizationId={organizationId}
         agents={agents}
-        isLoading={isLoading}
         collection={customAgentCollection}
       />
     </ContentWrapper>
   );

@Israeltheminer Israeltheminer merged commit fd77edd into main Feb 13, 2026
15 checks passed
@Israeltheminer Israeltheminer deleted the feat/custom-agents-ux-polish branch February 13, 2026 17:18
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