As a user
I want to be notified if a player/season combination is already saved in my list
So that I can avoid duplicates
Description
Acceptance Criteria
[x] After searching for a player/season combination, that is already saved in the player list, a modal and an overlay open
[x] The user gets the message "This player/season combination is already saved."
[x] Two buttons New Search and View Player are visible
[x] Hitting New Search closes the modal and overlay so that the user can search again
[x] Hitting View Player closes the modal and overlay and redirects the user to the details view for the searched player
Tasks
[x] Create a feature branch feature/duplicate-avoidance
[x] Add a modal and an overlay and style them
[x] Implement the logic to compare the searched player/season combination with the database entries and trigger the modal and overlay if there is a match
[x] Create two buttons New Search and View Player for the overlay and Implement the logic for them
Value Proposition
As a user I want to be notified if a player/season combination is already saved in my list So that I can avoid duplicates
Description
Acceptance Criteria
New Search
andView Player
are visibleNew Search
closes the modal and overlay so that the user can search againView Player
closes the modal and overlay and redirects the user to the details view for the searched player Tasks
feature/duplicate-avoidance
New Search
andView Player
for the overlay and Implement the logic for them