Skip to content

VSN-2371 : Implementing feature of fetchi folder metadata & correcting prev codes to hadle folders favorite status in a correct way.

yassine.elazami a demandé de fusionner VSN-2371 vers develop

Merge Request Description

Repository Method Addition

A new repository method was introduced to verify whether a folder is marked as favorite for the connected user. This provides the foundational data access layer for handling folder favorite status.

Method Signature Definition

A method signature was added to support the action of checking if a folder is marked as favorite by the currently connected user. This ensures consistency in the service layer and prepares the ground for implementation.

Implementation of Favorite Folder Status Retrieval

The logic to retrieve the favorite status of user folders was implemented. This enables the application to correctly determine and expose whether a folder is a favorite for the connected user.

Mapper Refactoring

The mapper was refactored to correctly handle the favorite status of folders. This ensures that data transformations between entities and DTOs properly reflect the favorite state.

Service Refactoring

All service methods were refactored to improve maintainability and consistency. This restructuring enhances readability and ensures that business logic is streamlined.

Controller Refactoring

Controller invocations were refactored to align with updated service and mapper logic. This improves the clarity of request handling and ensures proper delegation of responsibilities.

Feature Exposure via Controller

The newly implemented feature was exposed through the controller. This allows external clients to interact with the system and retrieve folder favorite status through defined endpoints.

Documentation Update

The changelog documentation was updated to reflect the newly added feature and refactoring changes. This ensures that contributors and users are aware of the modifications introduced in this merge request.

Closes VSN-2371

Rapports de requête de fusion