OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

Set up a TO DO list while adding a habit #130

Open OlhenShu opened 5 months ago

OlhenShu commented 5 months ago

As a user, I want to be able to set up a to do list while adding a habit so that I could select items that will help me to track my habits better.

Preconditions:

Business rule: User is able to manage maximum six habits in progress at the same time.

Acceptance criteria:

  1. When user click on the “More” button on the chosen standard habit on "All Habit" page, system redirect his/her to the Habit's page where displays a to do list with items: a. system displays items in the to do list according to the document “To do list items per habit”; b. when user hovers a cursor over the item, system displays the whole item’s name on pop-up; c. system displays 3 items by default, to see all the list user should click on the button “see all”; d. system represents “see all” list by an expanded area; e. system represents items with the "+" (as on mockup) button by default which means that item is not added to the to do list.

  2. To select items in the to do list user should click on the “+” button: a. after adding the item the “+” button is automatically replaced by the “-” button; b. user can delete the added item by clicking on the “-” button.

  3. User is able to add his/her custom item to the to do list by clicking on the “+ Add custom habit” button at the bottom of the list: a. after clicking on the “+ Add custom habit” bottom user sees an input field where he/she can type the item’s name; b. the input field should contain no more than 50 characters (all types of characters); c. user should be able to type a link in the input field which should be clickable on the Habit’s page (preview mode); d. user can close the input field by clicking on the button “x” at the right side of the input field. e. after typing the custom item’s name, user can add this item to his/her to do list by clicking ENTER or the “+” button.
    f. user can add an unlimited quantity of his/her custom items to the to do list.

image

  1. When a habit doesn’t have items in the shopping list (according to the document “Shopping list items per habit”) system displays a message “No items to recommend” and a “+ Add custom item” button;

  2. User can save modified habit with the shopping list by clicking “Add Habit” button (user story #102).

Epic: My habits #7