Skip to content

feat(platform): add integration link image for agents without custom images - #12447

Draft
Abhi1992002 wants to merge 6 commits into
devfrom
abhi/add-integration-link-functionality-for-bg
Draft

feat(platform): add integration link image for agents without custom images#12447
Abhi1992002 wants to merge 6 commits into
devfrom
abhi/add-integration-link-functionality-for-bg

Conversation

@Abhi1992002

Copy link
Copy Markdown
Member

Summary

  • Backend: Compute top integrations (providers by credential frequency, categories by priority) from agent graphs. Persist as topIntegrations JSON field on LibraryAgent, computed on creation and version update, with on-the-fly fallback for pre-existing agents.
  • Frontend: New IntegrationLinkImage component renders up to 3 provider/category icons connected with SVG arrow lines. Replaces the animated gradient fallback in LibraryAgentCard and empty image states in StoreCard and FeaturedAgentCard.
  • Migration: Adds topIntegrations JSONB column with empty array default to LibraryAgent table.

Test plan

  • Create an agent with known integrations (e.g., GitHub + OpenAI blocks), verify the library card shows provider icons instead of gradient
  • Create an agent with only generic blocks, verify category icons appear
  • Create an agent with no blocks, verify Robot fallback icon appears
  • Verify existing agents with imageUrl still show their custom image
  • Run pnpm format && pnpm lint && pnpm types — no new errors
  • Run poetry run format && poetry run lint — no new errors

🤖 Generated with Claude Code

…images

Compute top integrations (providers + categories) from agent graphs and
display them as a composite icon image instead of the animated gradient
fallback when no custom image exists.
@coderabbitai

coderabbitai Bot commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 41c7548a-e130-431b-ae90-78eefacd9644

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch abhi/add-integration-link-functionality-for-bg

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 and usage tips.

@github-actions github-actions Bot added platform/frontend AutoGPT Platform - Front end platform/backend AutoGPT Platform - Back end labels Mar 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 PR Overlap Detection

This check compares your PR against all other open PRs targeting the same branch to detect potential merge conflicts early.

🔴 Merge Conflicts Detected

The following PRs have been tested and will have merge conflicts if merged after this PR. Consider coordinating with the authors.

🟢 Low Risk — File Overlap Only

These PRs touch the same files but different sections (click to expand)

Summary: 1 conflict(s), 0 medium risk, 9 low risk (out of 10 PRs with file overlap)


Auto-generated on push. Ignores: openapi.json, lock files.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

- Remove hardcoded "platform" schema from migration SQL (use unqualified table name)
- Resolve merge conflicts in FeaturedAgentCard and StoreCard with dev branch
- Regenerate openapi.json to match current API schema
@github-actions github-actions Bot removed the conflicts Automatically applied to PRs with merge conflicts label Mar 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@CLAassistant

CLAassistant commented May 11, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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

Labels

cla: signed CLA signed by all contributors conflicts Automatically applied to PRs with merge conflicts platform/backend AutoGPT Platform - Back end platform/frontend AutoGPT Platform - Front end size/l

Projects

Status: 🆕 Needs initial review
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants