Redesign and refactor batch resize functionality#262
Merged
Conversation
- Implement `BatchResizeViewModel` to manage batch resizing operations. - Update `MainViewModel` to include `BatchResizeViewModel`. - Add logic for initiating and closing the batch resize window in both macOS and Win32 `WindowInitializer` implementations. - Introduce new model `BatchLogEntry` for logging batch resize operations. - Enhance batch resize with options for resizing, conversion, compression, and maintaining aspect ratio.
- Implement `BatchResizeViewModel` to manage batch resizing operations. - Update `MainViewModel` to include `BatchResizeViewModel`. - Add logic for initiating and closing the batch resize window in both macOS and Win32 `WindowInitializer` implementations. - Introduce new model `BatchLogEntry` for logging batch resize operations. - Enhance batch resize with options for resizing, conversion, compression, and maintaining aspect ratio. # Conflicts: # src/PicView.Avalonia.Win32/WindowImpl/WindowInitializer.cs # src/PicView.Avalonia/ViewModels/MainViewModel.cs
…tion. - Added hover and selected state styling for tab items. - Enhanced ProgressBar control template with improved structure and animations. - Updated translations across multiple languages, adding new keys like "AddFiles", "AddFolder", "RemoveAll", and more. - Removed redundant "SourceFolder" key across JSON localization files.
…-resize # Conflicts: # src/PicView.Avalonia.MacOS/WindowImpl/WindowInitializer.cs # src/PicView.Avalonia.Win32/WindowImpl/WindowInitializer.cs # src/PicView.Avalonia/ViewModels/MainViewModel.cs # src/PicView.Avalonia/Views/Main/BatchResizeView.axaml.cs # src/PicView.Core/ViewModels/BatchResizeViewModel.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request redesigns and refactors the Batch Resize feature:
Batch Resizewindow is now resizable with a new MVVM-based implementation.BatchResizeViewModelfor managing resizing operations andBatchLogEntryfor logging operations.Motivation and Context
This change improves the user interface, flexibility, and functionality of the Batch Resize feature while ensuring better maintainability through an MVVM architecture.