From 7a0d906bcc6e8694b685be573122782ddf467b56 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 Aug 2025 08:57:06 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20marketplace=20button=20con?= =?UTF-8?q?sistency=20and=20update=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove icon from SWOT Analysis Expert Try Now button for consistency - All marketplace buttons now use standard "Try Now →" format - Add documentation warnings about marketplace button consistency - Prevent future icon inconsistencies in agent creation process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- CLAUDE.md | 3 +++ agents/templates/agents/marketplace.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 9fef5c1..964edbe 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -359,6 +359,8 @@ Add routes to `agents/urls.py` following the pattern of existing direct access a **3d. Update Marketplace Template** (if needed): Add button logic to `agents/templates/agents/marketplace.html` for custom marketplace behavior. +**⚠️ Important**: Keep all "Try Now" buttons consistent with the format `Try Now →` (no icons or emojis). + #### **Step 4: Setup External Services** **For Webhook Agents:** @@ -396,6 +398,7 @@ Add button logic to `agents/templates/agents/marketplace.html` for custom market 3. **Wrong access_url_name** - Empty for webhook agents, populated for direct access 4. **Forgetting populate_agents** - Run after creating JSON config 5. **Complex custom commands** - Use JSON + populate_agents instead +6. **Adding icons to Try Now buttons** - Keep all marketplace buttons consistent with "Try Now →" format ## Production Deployment diff --git a/agents/templates/agents/marketplace.html b/agents/templates/agents/marketplace.html index 2ad8eda..6935ba4 100644 --- a/agents/templates/agents/marketplace.html +++ b/agents/templates/agents/marketplace.html @@ -88,7 +88,7 @@ {% elif agent.slug == 'swot-analysis-expert' %} - 📊 Try Now → + Try Now → {% else %} Try Now →