You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation lacks a dedicated interface for managing art gallery content, which hinders the admin team's ability to efficiently handle image uploads, template mapping, and visual previewing for art assets.
Summary of change
Implemented a comprehensive Admin Art Gallery management module:
Art Management: Added a dynamic image list component with drag-and-drop functionality for uploading and managing art assets.
CRUD Operations: Integrated functionality to save new art entries and remove existing images from the gallery list.
Template Integration: Implemented backend template fetching, allowing users to map and drag images from the asset list into specific templates.
Editor & Preview: Added a mini-editor for template configuration and a preview carousel for the final art composition.
Composition Control: Enabled drag-and-drop reordering, deletion, and editing capabilities within the preview carousel to adjust the final output.
Testing approach
Unit Testing: Verified component rendering and state management using xUnit and Moq.
Integration Testing: Tested the interaction between the frontend components and the backend API for art creation and update endpoints.
Manual Validation:
Verify that images can be dragged from the source list into template slots.
Test reordering logic in the carousel.
Confirm that Save/Delete actions correctly trigger backend repository calls (ensuring CancellationToken propagation as required by SonarCloud).
CHECK LIST
СI passed
Сode coverage >=95%
PR is reviewed manually again (to make sure you have 100% ready code)
All reviewers agreed to merge the PR
I've checked new feature as logged in and logged out user if needed
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
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.
dev
JIRA
Code reviewers
Second Level Review
Summary of issue
The current implementation lacks a dedicated interface for managing art gallery content, which hinders the admin team's ability to efficiently handle image uploads, template mapping, and visual previewing for art assets.
Summary of change
Implemented a comprehensive Admin Art Gallery management module:
Art Management: Added a dynamic image list component with drag-and-drop functionality for uploading and managing art assets.
CRUD Operations: Integrated functionality to save new art entries and remove existing images from the gallery list.
Template Integration: Implemented backend template fetching, allowing users to map and drag images from the asset list into specific templates.
Editor & Preview: Added a mini-editor for template configuration and a preview carousel for the final art composition.
Composition Control: Enabled drag-and-drop reordering, deletion, and editing capabilities within the preview carousel to adjust the final output.
Testing approach
Unit Testing: Verified component rendering and state management using xUnit and Moq.
Integration Testing: Tested the interaction between the frontend components and the backend API for art creation and update endpoints.
Manual Validation:
Verify that images can be dragged from the source list into template slots.
Test reordering logic in the carousel.
Confirm that Save/Delete actions correctly trigger backend repository calls (ensuring CancellationToken propagation as required by SonarCloud).
CHECK LIST