Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 2.12 KB

File metadata and controls

64 lines (46 loc) · 2.12 KB

Release Notes - v3.23

🎉 New Features

HTML File Preview Support

  • Direct HTML Content Rendering: Added native HTML file preview capability
  • HtmlContentViewer Component: New component for safe HTML rendering with iframe isolation
  • Dual Mode Support: Switch between preview mode and source code mode
  • Responsive Scaling: Support for 25%-200% zoom levels
  • Full Feature Set: Refresh, copy, fullscreen capabilities

Enhanced Card Generation

  • HTML File Detection: Automatic detection and rendering of HTML files generated by templates
  • Improved SSE Handling: Better handling of HTML file success events
  • File List Auto-refresh: Automatic update of file list after generation

🐛 Bug Fixes

  • Fixed dataPath is not defined error in /card/html/:folderId/:fileName route
  • Fixed SSE event handling for HTML files in frontend
  • Fixed file detection logic for cardplanet-Sandra template
  • Fixed timeout issues for long-running generations (increased to 7 minutes)

🔧 Technical Improvements

Backend

  • Enhanced /api/terminal/card to support HTML file reading
  • Added proper HTML content type detection
  • Improved file detection logging for debugging

Frontend

  • Added HtmlContentViewer component for safe HTML rendering
  • Updated CardGenerator.vue to support HTML content preview
  • Enhanced terminal API to support multiple file types
  • Improved preview type detection and switching

Docker

  • Cleaned up Docker configuration (single Dockerfile at root)
  • Removed redundant Docker files from subdirectories
  • Optimized build process

📚 Documentation

  • Updated main README.md with cleaner structure
  • Created DEVELOPER.md for development guide
  • Organized documentation directory structure
  • Removed outdated temporary documentation

🚀 Deployment

Docker image: ai-terminal:v3.23

docker run -d -p 8083:6000 ai-terminal:v3.23

📝 Known Issues

  • Large HTML files may take time to render
  • Some complex HTML with external resources may not display correctly in isolated iframe

🔄 Migration Notes

No breaking changes. Update Docker image to v3.23 for new features.