mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 06:52:58 +00:00
🎨 Fix marketplace button consistency and update documentation
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
cf33065315
commit
7a0d906bcc
@ -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
|
||||
|
||||
|
||||
@ -88,7 +88,7 @@
|
||||
</a>
|
||||
{% elif agent.slug == 'swot-analysis-expert' %}
|
||||
<a href="{% url 'agents:swot_analysis_expert_access' %}" class="try-btn">
|
||||
📊 Try Now →
|
||||
Try Now →
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{% url 'agents:detail' agent.slug %}" class="try-btn">Try Now →</a>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user