release2.1
·
155 commits
to master
since this release
. ButtonFactory Enhancements
- Improved the
CopyImageFilenameCommandandUseThisImageCommandto handle input validation more robustly. - Simplified logic by removing unnecessary conditions and increasing readability.
. Error Logging Improvements
- Enhanced the
LogErrorsclass 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
ImageLoaderclass:- 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
Settingsclass:- Added explicit handling for culture-specific formatting in XML serialization.
- Improved saving and loading logic for image size parameters.
##. General Refactoring
- Replaced redundant
ifconditions 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.