| | 1 | = UseCase005 - View Artist page |
| | 2 | |
| | 3 | **Initiating actors:** |
| | 4 | |
| | 5 | * Unregistered Guest |
| | 6 | |
| | 7 | * Logged-Out User |
| | 8 | |
| | 9 | * Logged-In Consumer |
| | 10 | |
| | 11 | * Logged-In Admin |
| | 12 | |
| | 13 | {{{#!div style="text-align: justify; width: 100%;" |
| | 14 | The goal of this use case is to allow any user to view a dedicated profile page for a musical artist. This provides centralized access to the artist's biography and a complete discography of all releases associated with them in the database, facilitating easier navigation through the store's inventory. |
| | 15 | }}} |
| | 16 | |
| | 17 | == Scenario |
| | 18 | |
| | 19 | {{{#!div style="text-align: justify; width: 100%;" |
| | 20 | 1. User clicks on an artist's name or photo from a release page or search result. |
| | 21 | |
| | 22 | 2. System retrieves the Artist record from the database, specifically accessing the artist_name, description, and photo. |
| | 23 | |
| | 24 | 3. System identifies all entries in the Release table that have a relationship with the selected artist_id. |
| | 25 | |
| | 26 | 4. System retrieves every specific song where the artist is credited through the "features" relationship, ensuring appearances on singles or other albums are included in the profile. |
| | 27 | |
| | 28 | 5. System retrieves metadata for these linked releases and featured tracks, including titles, cover_photos, and release_dates. |
| | 29 | |
| | 30 | 6. System displays the consolidated artist profile, featuring their biography, primary !Albums/Singles, and a list of songs where they are featured. |
| | 31 | }}} |