Releases: LebToki/MoA
Releases · LebToki/MoA
bug in process_fn
Staged the fix to bot.py
Committed with a descriptive message
Pulled remote changes (merged a README.md update)
Pushed to the remote repository
The bug where process_fn was trying to slice a streaming iterator is resolved by explicitly using generate_together to return a string response.
v2.0.1
MoA Chatbot v2.0.1 - Release Notes
Release Date: November 2025
Version: 2.0.1
Type: Major Release
🎉 Overview
Version 2.0.0 represents a complete transformation of the MoA Chatbot application, featuring a modern UI overhaul, comprehensive branding system, and significant technical improvements. This major release focuses on user experience, customization, and Windows compatibility.
🎨 UI/UX Enhancements
Complete UI Redesign
- NEW: Modern dark theme with glassmorphism effects inspired by contemporary design trends
- NEW: Beautiful gradient backgrounds with subtle animations
- NEW: Improved color scheme with CSS variables for easy theme customization
- IMPROVED: Enhanced visual hierarchy and spacing throughout the application
- IMPROVED: Better contrast ratios for improved readability
Light/Dark Theme Toggle
- NEW: Elegant toggle switch replacing the previous button-based theme switcher
- NEW: Visual indicators with sun/moon icons and "Light"/"Dark" labels
- NEW: Theme persistence using localStorage - your preference is remembered across sessions
- IMPROVED: Smooth transitions between themes with CSS animations
- NEW: System theme detection - automatically matches your OS preference on first visit
Responsive Sidebar
- IMPROVED: Compact, modern sidebar design (260px width)
- NEW: Grok logo integration in sidebar header
- IMPROVED: Better organization of navigation elements
- NEW: Compact GitHub Community section moved to bottom with 2x2 grid layout
- IMPROVED: More space allocated for conversation list
Enhanced Chat Interface
- IMPROVED: Redesigned message bubbles with better spacing and typography
- NEW: Smooth animations for message appearance (slide-in effect)
- IMPROVED: Better code block styling with syntax highlighting support
- NEW: Improved empty state with large icon and helpful messaging
- IMPROVED: Better scrollbar styling matching the theme
Footer
- NEW: Fixed footer at bottom of page with branding information
- NEW: Social links (GitHub) integration
- NEW: Copyright information with dynamic year
- NEW: "Made with ❤️" credit section
- IMPROVED: Responsive footer that adjusts on mobile devices
Modern Typography
- NEW: Inter font family for improved readability
- IMPROVED: Better font sizing and line heights
- NEW: Gradient text effects for headings
- IMPROVED: Consistent typography throughout the application
🎯 Branding System
Full Branding Support
- NEW: Complete branding configuration system via
config.pyand.envfile - NEW: Customizable app name and description
- NEW: Developer name and company name support
- NEW: Company URL and logo integration
- NEW: GitHub username and repository configuration
Dynamic Branding
- NEW: Environment-based configuration - no code changes needed
- NEW: Logo display in sidebar header (supports PNG, JPG, SVG, WEBP)
- NEW: Branding information in footer
- NEW: Dynamic meta tags with branding information
Company Integration
- NEW: Company logo support in sidebar
- NEW: Company URL links in footer and empty states
- NEW: GitHub integration with customizable username and repository
- NEW: Developer attribution throughout the application
Meta Tags & Open Graph
- NEW: Complete Open Graph (OG) tag support for Facebook/LinkedIn sharing
- NEW: Twitter Card support for Twitter sharing
- NEW: OG banner image support (1200x630px recommended)
- NEW: Dynamic meta descriptions with branding
- NEW: Proper image alt tags and descriptions
- NEW: Theme color meta tag for mobile browsers
🔧 Technical Improvements
Windows Compatibility
- NEW: Full Windows support with batch scripts (
run.bat) - NEW: PowerShell scripts for advanced users (
run.ps1) - NEW: Windows-specific log viewing scripts (
view_logs.bat,view_logs.ps1) - FIXED: SQLite database path handling for Windows (absolute paths with forward slashes)
- FIXED: File upload path handling for Windows
- IMPROVED: Cross-platform compatibility maintained
Logging System
- NEW: Comprehensive file-based logging system
- NEW: Log rotation (10MB max, keeps last 10 files)
- NEW: Detailed log formatting with timestamps and file locations
- NEW: Logs stored in
logs/moa_app.log - NEW: Windows scripts for easy log viewing
- IMPROVED: Better error tracking and debugging capabilities
Database Management
- IMPROVED: SQLite database handling with proper Windows path management
- IMPROVED: Automatic directory creation for database storage
- FIXED: Database connection issues on Windows
- IMPROVED: Better error handling for database operations
Icon System
- NEW: Iconify integration for modern icon support
- NEW: Grok logo using
mingcute:grok-fillicon - NEW: Robot icon support with
meteor-icons:robot - IMPROVED: Font Awesome icons for consistent rendering
- FIXED: CDN loading issues (switched to jsDelivr)
- IMPROVED: Icon loading moved to
<head>for better performance
CDN Optimization
- IMPROVED: Switched Iconify CDN from
cdn.iconify.designtocdn.jsdelivr.netfor better reliability - IMPROVED: All external resources use reliable CDN sources
- IMPROVED: Better fallback handling for CDN failures
Code Quality
- IMPROVED: Better code organization and structure
- NEW:
config.pyfor centralized configuration - NEW:
BRANDING.mddocumentation for branding setup - IMPROVED: Better error handling throughout the application
- NEW: Compatibility fixes for Flask-Uploads and Werkzeug
📱 Features
Theme Persistence
- NEW: Theme preference saved in localStorage
- NEW: Automatic theme restoration on page load
- NEW: System theme detection on first visit
- IMPROVED: Better theme switching performance
Auto-scroll
- IMPROVED: Automatic scrolling to latest messages
- NEW: Smooth scroll behavior
- IMPROVED: Better handling of long conversations
Form Enhancements
- IMPROVED: Auto-resizing textarea for chat input
- NEW: Maximum height limit (200px) for textarea
- IMPROVED: Better form validation and error handling
- NEW: Keyboard shortcuts (Ctrl+Enter to submit)
File Upload
- IMPROVED: Enhanced document upload with better error handling
- IMPROVED: Better file type validation
- IMPROVED: Improved file processing feedback
- NEW: Better error messages for upload failures
Conversation Management
- IMPROVED: Better conversation list organization
- IMPROVED: Improved conversation item styling
- NEW: Active conversation highlighting
- IMPROVED: Better date formatting in conversation list
🐛 Bug Fixes
Database Issues
- FIXED: Database path issues on Windows - now uses absolute paths with forward slashes
- FIXED: Database directory creation issues
- FIXED: SQLite connection errors on Windows
Icon Loading
- FIXED: Iconify CDN loading issues - switched to reliable jsDelivr CDN
- FIXED: Icon rendering issues across browsers
- FIXED: Missing icons in footer and sidebar
Layout Issues
- FIXED: Footer positioning and overlap issues
- FIXED: Content overlap with fixed footer
- FIXED: Sidebar scrollbar visibility
- FIXED: Mobile responsive issues
Compatibility Issues
- FIXED: Flask-Uploads compatibility with newer Werkzeug versions
- FIXED: Python 3.13 compatibility (PyMuPDF version update)
- FIXED: Windows path handling throughout the application
📚 Documentation
README Updates
- IMPROVED: Comprehensive installation instructions
- NEW: Windows-specific installation and running instructions
- NEW: Logging documentation section
- NEW: Branding configuration guide
- IMPROVED: Better file structure documentation
- NEW: Professional services section
- IMPROVED: Styling adapted from Laragon-Dashboard
New Documentation Files
- NEW:
BRANDING.md- Complete branding configuration guide - NEW:
env.example- Environment variables template - NEW:
test_installation.py- Installation verification script - NEW:
check_branding.py- Branding configuration checker
Code Documentation
- IMPROVED: Better code comments
- NEW: Configuration documentation in
config.py - IMPROVED: Function documentation
📦 New Files & Scripts
Windows Scripts
- NEW:
run.bat- Windows batch script to run the application - NEW:
run.ps1- Windows PowerShell script to run the application - NEW:
view_logs.bat- Windows batch script to view logs - NEW:
view_logs.ps1- Windows PowerShell script with colored log viewer
Configuration Files
- NEW:
config.py- Centralized configuration and branding - NEW:
env.example- Environment variables template - NEW:
.gitignore- Comprehensive gitignore file
Documentation Files
- NEW:
BRANDING.md- Branding configuration guide - NEW:
test_installation.py- Installation verification - NEW:
check_branding.py- Branding checker
Assets
- NEW:
static/images/og_banner.png- Open Graph banner (1200x630px) - NEW:
assets/images/og_banner.png- Source OG banner
🔄 Migration Guide
From v1.1.0 to v2.0.1
-
Update Dependencies:
pip install -r requirements.txt
-
Set Up Branding (Optional):
- Copy
.env.exampleto.env - Update branding variables in
.env - Add your company logo to ...
- Copy