nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

It is easy for data to be accidentally wiped using `clearRealodex` #702

Open nus-se-script opened 3 months ago

nus-se-script commented 3 months ago

If the user wanted to display the help message for the clearRealodex command but accidentally made a typo, such as clearRealodex hel[ instead of clearReloadex help, the application would wipe all the data without the user intending to do so.

Screenshot 2024-04-19 at 4.50.12 PM.png

Screenshot 2024-04-19 at 4.49.28 PM.png


[original: nus-cs2103-AY2324S2/pe-interim#548] [original labels: severity.Medium type.FeatureFlaw]

UdhayaShan1 commented 3 months ago

Team's Response

Thanks for raising this issue, we see how it might become an issue.

However, we documented this in our user guide that the exception for clear command help is to use clear help. We did this intentionally to avoid users from mistyping clearRealodex help and clearing the list as you mentioned. The effort needed to rectify this issue is deemed less important than the work done for other features precisely due to our safety net that we thoughtfully implemented. Hence, it will be a rare occurrence for users to type clearRealodex hel[

Duplicate status (if any):

--