mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 08:52:59 +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):
|
**3d. Update Marketplace Template** (if needed):
|
||||||
Add button logic to `agents/templates/agents/marketplace.html` for custom marketplace behavior.
|
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**
|
#### **Step 4: Setup External Services**
|
||||||
|
|
||||||
**For Webhook Agents:**
|
**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
|
3. **Wrong access_url_name** - Empty for webhook agents, populated for direct access
|
||||||
4. **Forgetting populate_agents** - Run after creating JSON config
|
4. **Forgetting populate_agents** - Run after creating JSON config
|
||||||
5. **Complex custom commands** - Use JSON + populate_agents instead
|
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
|
## Production Deployment
|
||||||
|
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{% elif agent.slug == 'swot-analysis-expert' %}
|
{% elif agent.slug == 'swot-analysis-expert' %}
|
||||||
<a href="{% url 'agents:swot_analysis_expert_access' %}" class="try-btn">
|
<a href="{% url 'agents:swot_analysis_expert_access' %}" class="try-btn">
|
||||||
📊 Try Now →
|
Try Now →
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{% url 'agents:detail' agent.slug %}" class="try-btn">Try Now →</a>
|
<a href="{% url 'agents:detail' agent.slug %}" class="try-btn">Try Now →</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user