mirror of
https://github.com/cap153/LANChat.git
synced 2026-12-06 08:01:41 +00:00
- Enable asset protocol in Tauri configuration with CSP policy for secure asset loading - Add http-range dependency to Cargo.toml for range request support - Implement image file detection utility to identify supported image formats - Create image preview rendering for sent and accepted image files with lazy loading - Add fallback to file icon display when image fails to load or file is not an image - Extract file icon creation into reusable createFileIcon() helper function - Add CSS styling for image preview container with hover effects and transparent backgrounds - Support both desktop (convertFileSrc) and web (/api/download) image loading paths - Refactor file message layout to accommodate image previews alongside traditional file icons