Skip to content

release2.1

Choose a tag to compare

@drpetersonfernandes drpetersonfernandes released this 29 Apr 23:02
· 155 commits to master since this release

. ButtonFactory Enhancements

  • Improved the CopyImageFilenameCommand and UseThisImageCommand to handle input validation more robustly.
  • Simplified logic by removing unnecessary conditions and increasing readability.

. Error Logging Improvements

  • Enhanced the LogErrors class with:
    • New API endpoint support for sending bug reports.
    • Better exception handling and logging for debugging.
    • Added support for structured JSON payloads when sending logs.

. Image Loading Enhancements

  • Improved the ImageLoader class:
    • Added validations to check for missing or invalid image files.
    • Enhanced memory management by ensuring proper stream disposal.
    • Improved logging for invalid images.

. Improved Similarity Calculations

  • Refactored the SimilarityCalculator:
    • Simplified the logic for calculating similarity using various algorithms.
    • Enhanced exception handling for directory access issues.
    • Improved sorting and filtering of image similarities.

. UI Updates

  • Updated MainWindow.xaml:
    • Added design-time data context binding for better design previews.
    • Refactored property setters to handle redundant checks.
  • Improved handling of user interactions, such as theme and accent color selection, with simplified logic.

##. Settings Enhancements

  • Updated Settings class:
    • Added explicit handling for culture-specific formatting in XML serialization.
    • Improved saving and loading logic for image size parameters.

##. General Refactoring

  • Replaced redundant if conditions with pattern-matching (is not).
  • Applied coding standards for better readability and maintainability.
  • Removed unused usings and optimized imports across files.

These updates improve the code's maintainability, UI responsiveness, and error handling, while also adding new features like enhanced logging and improved similarity calculations for images.