Ruizhi2001 / pe

0 stars 0 forks source link

Able to add same ingredient multiple times #1

Open Ruizhi2001 opened 7 months ago

Ruizhi2001 commented 7 months ago

There could be an instance when the user is inputting the recipe while creating it and he forgets that he had inserted the ingredient. The function here should be the same as the adding of the ingredients where it increments the existing ingredient list rather than adding it in as a duplicate.

image.png

soc-pe-bot commented 7 months ago

Team's Response

Valid functionality that should be added for future version.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Same ingredients using the addrecipe command are not summed up

Steps to reproduce:

  1. addrecipe
  2. dummy
  3. dummy 10pc
  4. dummy 2pc
  5. steps start
  6. 1. dummy step
  7. complete recipe

Expected: Dummy to have a total of 12pc.

Result:

image.png

This brings inconvenience to the users as if they wanted to add more ingredients to that recipe, or mistakenly inputted the same ingredients, they would have to restart the addrecipe command from the beginning.


[original: nus-cs2103-AY2324S1/pe-interim#4609] [original labels: severity.Low type.FeatureFlaw]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

Valid functionality that should be added for future version.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]