2025-10-09 17:29:57 -07:00
# MTG Python Deckbuilder ${VERSION}
2025-10-19 13:29:47 -07:00
## [Unreleased]
2025-10-06 14:12:17 -07:00
### Summary
2025-10-28 16:17:55 -07:00
Web UI improvements with Tailwind CSS migration, TypeScript conversion, component library, and optional card image caching for faster performance and better maintainability.
2025-10-19 13:29:47 -07:00
### Added
2025-10-28 08:21:52 -07:00
- **Card Image Caching**: Optional local image cache for faster card display
- Downloads card images from Scryfall bulk data
- Graceful fallback to Scryfall API for uncached images
- Enable with `CACHE_CARD_IMAGES=1` environment variable
- Intelligent statistics caching (weekly refresh, matching card data staleness)
- **Component Library**: Living documentation at `/docs/components`
- Interactive examples of all UI components
- Reusable Jinja2 macros for consistent design
- Component partial templates for reuse across pages
2025-10-28 16:17:55 -07:00
- **TypeScript Support**: Migrated JavaScript to TypeScript for better code quality
- Type definitions for state management, telemetry, and UI components
- Improved IDE support with autocomplete and type checking
- Integrated into build process (compiles during Docker build)
2025-10-19 13:29:47 -07:00
### Changed
2025-10-28 08:21:52 -07:00
- **Migrated CSS to Tailwind**: Consolidated and unified CSS architecture
- Tailwind CSS v3 with custom MTG color palette
- PostCSS build pipeline with autoprefixer
- Minimized inline styles in favor of shared CSS classes
2025-10-28 16:17:55 -07:00
- **Light theme visual improvements**: Warm earth tone palette with better button/panel contrast
- **JavaScript Modernization**: Updated to modern JavaScript patterns
- Converted to TypeScript for better type safety
- Replaced `var` with `const` /`let` throughout
- Improved error handling and code organization
2025-10-28 08:21:52 -07:00
- **Docker Build Optimization**: Improved developer experience
- Hot reload for templates and CSS (no rebuild needed)
2025-10-28 16:17:55 -07:00
- TypeScript compilation integrated into build process
2025-10-28 08:21:52 -07:00
- **Template Modernization**: Migrated templates to use component system
2025-10-19 13:29:47 -07:00
### Removed
_None_
### Fixed
2025-10-19 14:07:55 -07:00
_None_
2025-10-19 13:29:47 -07:00
### Performance
2025-10-28 08:21:52 -07:00
- Hot reload for CSS/template changes (no Docker rebuild needed)
- Optional image caching reduces Scryfall API calls
- Faster page loads with optimized CSS
2025-10-28 16:17:55 -07:00
- TypeScript compilation produces optimized JavaScript
2025-10-17 16:17:36 -07:00
2025-10-18 21:32:12 -07:00
### For Users
2025-10-28 08:21:52 -07:00
- Faster card image loading with optional caching
- Cleaner, more consistent web UI design
- Improved page load performance
2025-10-28 16:17:55 -07:00
- More reliable JavaScript behavior
### For Developers
- TypeScript provides better IDE support and error detection
- Clear type definitions for all JavaScript utilities
- Easier onboarding with typed interfaces
- Automated build process handles TypeScript compilation
2025-10-19 13:29:47 -07:00
### Deprecated
_None_
### Security
_None_