PyVizAST Release 0.7.1
Social Card Generator & UI Improvements
New Features:
- Social Card Generator: Generate shareable image cards from the Share dropdown
- Brand card with AST visualization, logo, and feature highlights
- 2D Preview card with captured AST visualization
- 3D Preview card with captured 3D AST visualization
- Black/white theme adaptation
- PNG download (1200x630px standard social share size)
Toast System Improvements:
- Toast position moved to top-right of screen
- Simplified vertical stacking (removed complex stacking logic)
- Increased maximum toast limit from 5 to 15
- Increased border-radius from 16px to 24px for rounder corners
UI Enhancements:
- Share button now shows dropdown menu with "Share Code" and "Social Card" options
- Visualizer components expose
captureScreenshotmethod for card generation - Improved card preview modal with style selector
Known Issues:
- Social Card export may be unstable in certain browsers/conditions
- 3D visualization capture requires the 3D view to be fully rendered
Files Modified:
frontend/src/components/SocialCardGenerator.js- New social card generator componentfrontend/src/components/Header.js- Share dropdown menufrontend/src/components/Toast.js- Simplified toast systemfrontend/src/components/ToastContext.js- Increased toast limitfrontend/src/App.js- Screenshot capture handlersfrontend/src/App.css- Social card styles, toast improvementsfrontend/src/components/ASTVisualizer.js- Screenshot capture methodfrontend/src/components/ASTVisualizer3D.js- Screenshot capture method