As a user
I want to navigate easily through the detailed view of the seven basic emotions
In order to avoid having to always navigate back to the main list if I want to see another emotion.
Description
Acceptance criteria
[ ] When the user chooses to see one of the seven basic emotions, on the sides of the EmotionDetail, they see a next button on the right side and a previous button on the left side.
[ ] The user can navigate through the seven basic emotions without having a "first emotion" and "last emotion". So both buttons are displayed on each of the seven basic emotions. The previous Button on the details page of Joy navigates to Anger and the next button of Anger navigates to Joy. In order to avoid the impression of hierarchy amongst the seven basic emotions.
[ ] To navigate back to the List, the user can click on the "back to list" link on the bottom.
Tasks
[ ] Create and switch to the feature branch feature/next-and-previous-button.
[ ] Add two buttons to the EmotionDetail Page, one for next and one for previous.
[ ] Add logic to the buttons accordingly to navigate through the seven basic emotions.
Value proposition
As a user I want to navigate easily through the detailed view of the seven basic emotions In order to avoid having to always navigate back to the main list if I want to see another emotion.
Description
Acceptance criteria
EmotionDetail
, they see a next button on the right side and a previous button on the left side.previous
Button on the details page of Joy navigates to Anger and thenext
button of Anger navigates to Joy. In order to avoid the impression of hierarchy amongst the seven basic emotions.Tasks
feature/next-and-previous-button
.EmotionDetail
Page, one fornext
and one forprevious
.