Kair0s3 / pe

0 stars 0 forks source link

"Accidentally" entering tab breaks the food category for `add` #4

Open Kair0s3 opened 2 years ago

Kair0s3 commented 2 years ago

When adding a food for breakfast, if a user accidentally enters as such add /bfast<tab>myFood, then the program treats it as an invalid food category although on their console, it may seem like thr is no issues in syntax - as shown below.

image.png

Note - replace the with your tab key, to test it out

nus-pe-script commented 2 years ago

Team's Response

No details provided by team.

The 'Original' Bug

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

Most commands when a <tab> is added breaks the command

Most of the commands available on the program breaks on tab.

As such below, shows how if the user types an between the command and the parameter, it becomes treated as an invalid command. e.g. here is the example shown calorie<tab>/set 2000.

image.png


[original: nus-cs2113-AY2122S1/pe-interim#2850] [original labels: severity.High type.FunctionalityBug]

Their Response to the 'Original' Bug

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

This is a valid issue and an oversight on our part. However, we feel this deserves a Low severity tag, as this error will only occur when the tab is deliberately entered in between command describers as shown in your preview and as such, will not affect the user experience of a user who follows the command format.

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]


:question: Issue severity

Team chose [severity.Low] Originally [severity.High]

Reason for disagreement: [replace this with your explanation]