Closed cosmin42 closed 2 months ago
[!CAUTION]
Review failed
The pull request is closed.
The changes involve significant modifications across multiple files in the codebase, focusing on the removal of several persistence-related classes and methods, as well as the restructuring of various components to enhance project management capabilities. Key updates include the integration of ProjectId
and PaperSettings
in the ImageToPaperTask
class, the introduction of a ProjectManagementSystem
, and a shift from persistence services to project management functionalities. The overall architecture reflects a move towards a more modular design with streamlined dependencies.
Files | Change Summary |
---|---|
PB/CMakeLists.txt | Removal of multiple header and source files related to image processing and persistence. |
PB/include/pb/Command.h, PB/include/pb/ImageMonitor.h, PB/include/pb/ImageToPaperTask.h, PB/include/pb/ImportFoldersLogic.h, PB/include/pb/PhotoBook.h, PB/include/pb/PhotobookListener.h, PB/include/pb/Platform.h, PB/include/pb/StagedImages.h, PB/include/pb/WorkersManager.h, PB/include/pb/export/Exportable.h, PB/include/pb/export/Html.h, PB/include/pb/export/Pdf.h, PB/include/pb/image/Image.h, PB/include/pb/image/ImageFactory.h, PB/include/pb/image/ImageOperations.h, PB/include/pb/image/ImageReader.h, PB/include/pb/image/ImageSetWriter.h, PB/include/pb/image/VirtualImage.h, PB/include/pb/persistence/FilePersistence.h, PB/include/pb/persistence/Persistence.h, PB/include/pb/persistence/PersistenceService.h, PB/include/pb/persistence/SQLPersistence.h, PB/include/pb/persistence/SerializationStrategy.h, PB/include/pb/project/PaperSettings.h, PB/include/pb/project/Project.h, PB/include/pb/project/ProjectMetadata.h, PB/include/pb/tasks/ParallelTaskConsumer.h, PB/include/pb/tasks/SequentialTaskConsumer.h, PB/include/pb/tasks/Tasks.h, PB/include/pb/tasks/ThumbnailsProcessor.h, PB/include/pb/util/Util.h | Removal of various classes and methods related to persistence; refactoring of classes to utilize ProjectManagementSystem and new project management methods. |
PB/src/FilePersistence.cpp, PB/src/ImageSetWriter.cpp, PB/src/Persistence.cpp, PB/src/PersistenceService.cpp, PB/src/SQLPersistence.cpp, PB/src/util/SequentialTaskConsumer.cpp | Complete removal of persistence-related implementation files, indicating a significant change in how persistence is managed. |
PB/src/ImageOperations.cpp, PB/src/PhotoBook.cpp, PB/src/PaperSettings.cpp, PB/src/ProgressManager.cpp | Refactoring and updates to utilize new dependencies and methods; adjustments to streamline functionality. |
PB/tests/TestComparator.cpp, PB/tests/TestErrors.cpp, PB/tests/TestIteratorWithState.cpp | Modifications to test files to reflect changes in dependencies and focus on error handling. |
sequenceDiagram
participant User
participant ProjectManagementSystem
participant ImageFactory
participant ImageToPaperService
participant ThumbnailsProcessor
User->>ProjectManagementSystem: Create Project
ProjectManagementSystem-->>User: Project Created
User->>ImageFactory: Configure with ProjectManagementSystem
ImageFactory->>ImageToPaperService: Map Image to Project
ImageToPaperService->>ThumbnailsProcessor: Generate Thumbnails
ThumbnailsProcessor-->>ImageToPaperService: Thumbnails Generated
ImageToPaperService-->>User: Process Completed
🐰 "In the garden where changes bloom,
New paths are carved, dispelling gloom.
Projects managed with a hop and a skip,
Images dance, on a joyful trip.
With every refactor, we leap and cheer,
For a brighter future, drawing near!" 🥕
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Refactor
ImageFactory
,Photobook
, andImageToPaperTask
to utilize the new project management architecture.Bug Fixes
Documentation