elliot-tang / pe

0 stars 0 forks source link

[Notes Delete Command] Lack of Error Message when Deleting Note from Contact Without Notes #3

Open elliot-tang opened 1 week ago

elliot-tang commented 1 week ago

Actual Output

When removing a note from a contact without notes, a success message is shown: "Deleted notes for NAME".

Expected Output

An error message to be shown, stating that the contact did not have any notes to begin with. To me, this would make it clearer to the user and avoid potential confusion with the command!

Steps to Reproduce

Command sequence:

1. clear
2. add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 i/low age/50 t/client t/owesMoney
3. notes del/1

Screenshots

image.png

nus-pe-script commented 4 days ago

Your response not required for this bug as the team has accepted the bug as it is.