-
Notifications
You must be signed in to change notification settings - Fork 45k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(market): Market featured agent card #9463
Conversation
Replaced all instances of `FeaturedStoreCard` with `FeaturedAgentCard` to align with updated component naming. Adjusted story arguments structure for better consistency and maintainability. Removed unused properties like `onClick` where not necessary.
…d reusability. Replaced `FeaturedStoreCard` with `FeaturedAgentCard` for preciseness. Updated `FeaturedSection` to align with changes and added `Link` for navigation. Simplified type definitions and improved hover functionality for better UX. Leveraging built in StoreAgent type already supplied by api.
This cleans up the code by removing an unused import from FeaturedSection.tsx. The change improves code readability and eliminates potential confusion for future maintenance.
Updated the structure of arguments to nest agent-related properties under an `agent` object and added `backgroundColor` control. This improves organization and supports better flexibility for future enhancements.
This pull request has been ignored for the connected project Preview Branches by Supabase. |
This PR targets the Automatically setting the base branch to |
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Here's the code health analysis summary for commits Analysis Summary
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
Replaced the FeaturedAgent type with StoreAgent in the FeaturedSection stories for better alignment with the backend API. Removed unused imports and commented-out code to improve maintainability.
… market-featured-agent-card
Background
Resolves: #9313
The marketplace featured agent's section has a bug where if you hover over a featured agent's card we are getting an incorrect background color applied to the description.
Changes 🏗️
Refactored
FeaturedStoreCard
toFeaturedAgentCard
:Enhanced
FeaturedCardSection
components:useRouter
implementationChecklist 📋
For code changes:
Test Plan