- Restrict file upload to PDF files only in frontend and backend
- Add comprehensive PDF MIME type validation
- Remove duplicate processing view and URL endpoint
- Update model help text and UI labels for PDF-only
- Clean up unused imports and code references
- Maintain rich results formatting with HTML rendering
- Preserve all existing webhook processing functionality
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
BREAKING CHANGES:
- Move marketplace and agent discovery views from core to agent_base app
- Transfer all wallet functionality from core to dedicated wallet app
- Move Stripe webhook handling to wallet app for better organization
- Consolidate payment system logic under single responsibility
NEW STRUCTURE:
- core app: Platform pages only (homepage, pricing)
- agent_base app: Complete agent marketplace and catalog system
- wallet app: Full payment system with Stripe integration
- Individual agent apps: Unchanged, self-contained
IMPROVEMENTS:
- Clean URL namespacing (agent_base:marketplace, wallet:wallet)
- Template organization by app responsibility
- Removed deprecated CSS files (header.css)
- Added utility classes (.hidden)
- Updated all template references to new URL structure
- Comprehensive CLAUDE.md documentation updates
TECHNICAL CHANGES:
- Templates moved: marketplace.html, agent_detail.html → agent_base/
- Templates moved: wallet*.html → wallet/
- New files: agent_base/views.py, agent_base/urls.py, wallet/urls.py
- Updated main urls.py routing configuration
- Fixed Django system checks and namespace conflicts
- Verified all functionality with test suite
This reorganization follows Django best practices with single responsibility
principle, making the codebase more maintainable and scalable.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Standardize widget dimensions (min-width: 400px for large, flex: 0 0 280px for small)
- Fix status icon size consistency (48px across all agents)
- Add missing flexbox properties to widget titles for proper icon alignment
- Standardize section subtitle styling with accent lines and proper margins
- Add enhanced form element CSS for consistent input/textarea styling
- Implement unified scrollbar-gutter to prevent page shake
- Add comprehensive results typography system across all agents
- Ensure perfect visual consistency when switching between agents
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Create toggle button in header for quick access to other agents
- Add slide-out panel with grid of available agents (Weather Reporter, Job Posting Generator, Social Ads Generator, Five Whys Analyzer)
- Include agent icons, names, descriptions, and pricing information
- Add mobile-responsive design with full-width panel on small screens
- Implement toggle functionality with JavaScript (open/close with button, overlay click, or Escape key)
- Add smooth animations and hover effects
- Include "View All Agents" link to marketplace
- Enhance user experience with quick navigation between agents
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace "dashboard" terminology with "agent" throughout template
- Update CSS classes from dashboard-* to agent-*
- Change page title from "Data Analyzer Dashboard" to "Data Analyzer"
- Update JavaScript function names from initializeDashboard to initializeAgent
- Maintain all existing functionality while using proper agent terminology
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace all alert() calls with custom toast notifications
- Create elegant toast notifications instead of browser popups
- Toast notifications appear in top-right corner with smooth styling
- Auto-dismiss after 3 seconds
- Green toasts for success, red for errors
- Prevents localhost popup interruptions during agent processing
Benefits:
- Better user experience (no popup interruptions)
- Professional appearance
- Non-blocking notifications
- Consistent styling across the app
- Implement agent-specific JavaScript utilities for container-like isolation
- Standardize HTML structure across all 5 agents with agent-container grid layout
- Fix Data Analyzer wallet positioning by moving wallet-section to separate grid column
- Reduce Data Analyzer custom CSS from 400+ lines to ~78 lines essential styles
- Apply unified theme system (professional/creative/minimal) consistently
- Add agent isolation with DataAnalyzerUtils, WeatherUtils, SocialAdsUtils, etc.
- Update CLAUDE.md with comprehensive agent architecture documentation
- Document standardization improvements, layout rules, and JavaScript isolation patterns
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove duplicate updateWalletBalance and showToast functions from individual agents
- Standardize all agents to use AgentUtils.functionName() pattern consistently
- Update Five Whys Analyzer to use shared utility functions
- Maintain agent-specific functions only where necessary for unique workflows
- Ensure consistent function call patterns across Data Analyzer, Job Posting Generator, and Five Whys Analyzer
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
## Issues Fixed
- Fixed TypeError: text.replace is not a function in parseMarkdown
- Enhanced type checking for null/undefined inputs in agent-utils.js
- Data analyzer now properly handles all response data types
## Enhancements
- Improved parseMarkdown function with better type safety
- Enhanced markdown parsing with proper HTML styling
- Added custom parseMarkdownToHTML for data analyzer with rich formatting
- Better handling of headers, lists, bold text, and paragraphs
## Data Analyzer Improvements
- Custom markdown parser with styled headers and lists
- Proper content extraction priority: report_text > insights_summary > raw_response.analysis
- Enhanced visual formatting with CSS variables for consistent theming
- Better error handling and fallback content
## Technical Changes
- Added typeof checks to prevent non-string inputs causing errors
- Enhanced bullet point and numbered list conversion
- Improved paragraph formatting and line break handling
- Consistent styling across all markdown elements
## Test Results
- Data analyzer successfully processes PDF files
- Returns proper JSON responses with formatted analysis
- Markdown parsing works correctly with complex content structure
- No more JavaScript type errors in console
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
## Unified Agent Architecture
- Create agent-base.css with theme support (professional, creative, minimal)
- Implement shared JavaScript utilities in agent-utils.js
- Standardize form submission patterns across all agents
- Reduce code duplication by ~600 lines
## CSS Theme System
- Professional theme: Job posting, data analyzer, weather reporter
- Creative theme: Social ads generator (glassmorphism effects)
- Minimal theme: Available for future agents
- Consistent component library with CSS custom properties
## Text Display Standardization
- Replace complex markdown parsing with simple text formatting
- Remove external dependencies (Marked.js + DOMPurify)
- Implement basic text cleaning: remove **, convert line breaks to <br>
- Fix layout stretching issues in job posting results
## Data Analyzer Fixes
- Fix network errors by converting from button click to form submission
- Update to use unified CSS system and professional theme
- Improve file upload handling with conditional checks
- Standardize template structure with other agents
## Form Submission Improvements
- Unified form submission pattern across all agents
- Automatic CSRF token handling via FormData(form)
- Consistent error handling and user feedback
- Reliable polling mechanism for webhook-based agents
## Documentation Updates
- Document unified CSS system and theme architecture
- Add text display standardization guidelines
- Update agent examples with current features
- Include form submission best practices
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add missing {% csrf_token %} to data analyzer template
- Resolves "Cannot read properties of null (reading 'value')" error
- JavaScript now properly accesses CSRF token for form submission
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Fix secondary buttons with white background/border invisibility
- Improve disabled button states with proper contrast ratios
- Update form element borders for better visibility
- Establish unified color system with CSS variables
- Replace 11 random gradient classes with 4 professional ones
- Fix authentication page styling and button definitions
- Ensure accessibility compliance with visible interactive elements
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replace demo JavaScript implementation with real backend processing:
- Remove fake analyzeData() function that only updated frontend
- Add real AJAX submission to /agents/data-analyzer/process/ endpoint
- Implement proper polling for results using request ID
- Add displayResults() function to handle backend responses
- Update wallet balance from server response to ensure persistence
- Remove generateSampleAnalysis() demo function
- Fix wallet balance to persist across page navigation
This resolves the issue where wallet deduction would revert when
navigating to other pages, as the frontend was using demo mode
instead of actual database transactions.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Redesigned Data Analyzer with glassmorphism effects and two-column layout
- Updated Job Posting Generator with organized form sections and orange theme
- Refreshed Social Ads Generator with simplified platform selection and pink theme
- Modernized Weather Reporter with streamlined radio interface and blue theme
- Implemented consistent full-width gradient backgrounds across all agents
- Added interactive processing status indicators with step-by-step feedback
- Enhanced form validation and user experience patterns
- Maintained Django functionality while adopting fast and simple design patterns
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>