CSC207-fiveguys / music-java-app

MIT License
1 stars 1 forks source link

Unfollow Artist #31

Closed umututku03 closed 11 months ago

umututku03 commented 11 months ago

Motivation and Context

In line with our specifications, this update empowers users to unfollow artists, offering greater flexibility in managing music preferences. Users can now effortlessly remove artists from their followed collection, ensuring a more personalized music discovery journey.

Your Changes

I've revamped the code in the unfollow_artist module to align with Clean Architecture and SOLID Design Principles. The modifications focus on isolating all components related to this use case, ensuring a clear structure. By adhering to the Dependency Inversion Principle, our code now relies on abstractions rather than high-level modules, promoting flexibility and maintainability.

Description:

Following the update, our Database and View State for the followed artists are now synchronized with the specified changes. The unfollow of a an artist is efficiently handled, reflecting in both the data access object (DAOs) and the view state of the followed artists collection.

Type of change (select all that apply):

Testing

I conducted a comprehensive self-review of the code, addressing both back-end and front-end considerations. Notably, I've incorporated unit tests to validate the functionality of the code's back-end. In terms of front-end aspects, I ensured adherence to expected specifications through thorough checks. This dual-focused review aims to enhance the overall robustness and reliability of the codebase.

Questions and Comments (if applicable)

N/A

Checklist