Skip to content

ChatPPT v0.2

Compare
Choose a tag to compare
@DjangoPeng DjangoPeng released this 20 Oct 14:04
· 37 commits to main since this release
bc4d4da

ChatPPT v0.2 Release Notes

New Features

  • Automated Layout Management: Introduced a LayoutManager that automatically assigns appropriate layouts based on slide content (e.g., titles, bullet points, and images). Layouts are no longer manually specified in input text, significantly simplifying the input format.
  • Configurable Layout Mapping via config.json: Added support for managing layout configurations through a config.json file, ensuring flexibility and central control over layout mappings without hardcoding them in the main application.
  • Simplified Input Text Format: Updated the input format to remove layout names, leveraging the LayoutManager for dynamic layout assignment. Users now only need to provide titles, bullet points, and images in a streamlined structure.
  • Enhanced PowerPoint Parsing: Implemented a new parsing method using a SlideBuilder class that ensures a clean, modular way to handle slide generation and layout assignment, improving code structure and reusability.
  • Integrated Configuration Loader: The Config class now loads essential settings from config.json, including input mode, PowerPoint templates, and layout mappings, facilitating a more adaptable system.

Enhancements

  • Layout Strategy Refactor: Refactored layout assignment logic into a strategy-based system, making it easier to add or modify layout rules. This enhances flexibility for future releases and custom use cases.
  • Updated Input Documentation: Revised the input format documentation to reflect the new layout management system, providing clear guidelines on creating presentations without needing to specify layouts manually.
  • Error Handling for Configuration: Introduced robust error handling to ensure the application gracefully manages missing or malformed configuration files.

Commit Log

  • Introduced the LayoutManager for automated layout assignment.
  • Added support for layout_mapping in config.json.
  • Updated input parsing to utilize SlideBuilder for cleaner slide generation.
  • Simplified the input text format by removing manual layout specifications.
  • Implemented Config class to load settings from config.json.
  • Refactored layout logic into a strategy pattern for improved flexibility.
  • Enhanced error handling for configuration loading.
  • Updated the documentation to reflect the new input format and automated layout system.