mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 15:13:00 +00:00
## Major System Simplification - **90% reduction** in agent configuration complexity (369 → 83 lines) - Removed unused dynamic field system (174 lines eliminated) - Deleted generic template fallback (dead code removal) - Enhanced JavaScript utilities with 15+ shared functions ## New Workflows App Architecture - Unified agent processing with hybrid N8N/Django approach - Shared component system (6 reusable components) - Individual templates with consistent UI patterns - Configuration-driven agent definitions (metadata only) ## Enhanced Developer Experience - 4-step agent creation process (vs complex multi-step before) - Agent template starter file for easy copying - Comprehensive documentation with before/after examples - Enhanced WorkflowsCore utilities for common operations ## Files Added - `workflows/` - Complete new Django app with simplified architecture - `agent-template-starter.html` - Template for easy agent creation - `workflows-core.js` - Enhanced JavaScript utilities (15+ functions) - Shared components: header, quick-agents, processing, results, wallet - Simplified agent configs (5 lines vs 50+ lines each) ## Benefits Achieved ✅ 90% less configuration code per agent ✅ Shared component reusability with dynamic data ✅ Enhanced JavaScript utilities automatically available ✅ Consistent UI/UX across all agents ✅ Dramatically simplified maintenance 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
609 B
Python
14 lines
609 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'wallet'
|
|
|
|
urlpatterns = [
|
|
path('', views.wallet_view, name='wallet'),
|
|
path('topup/', views.wallet_topup_view, name='wallet_topup'),
|
|
path('top-up/success/', views.wallet_topup_success_view, name='wallet_topup_success'),
|
|
path('top-up/cancel/', views.wallet_topup_cancel_view, name='wallet_topup_cancel'),
|
|
path('stripe/debug/', views.stripe_debug_view, name='stripe_debug'),
|
|
path('stripe/webhook/', views.stripe_webhook_view, name='stripe_webhook'),
|
|
path('api/deduct/', views.wallet_deduct_api, name='wallet_deduct_api'),
|
|
] |