Open chiageng opened 3 months ago
We believe users should follow the correct command format which we displayed on the command panel and specified in the user guide. We do not think we can do more than that, like detecting unspecified fields.
Team chose [response.Rejected
]
Reason for disagreement: There is a lot of commands to be memorized by user. The application should be more user friendly to guide user to use correct commands.
In most of the cases, user will mistaken of field from other command as one of the field as current command.
For eg: description field exist in add transaction
command but not in add employee
command. However, user insert description field in add employee
causing the command unable to be executed. This flaw will ocassional cause inconvenience to users hence the severity was justify as medium.
This app is catered for fast typist, hence this is an addition to help fast typist to know which part goes wrong, and edit the command promptly. It doesnt make sense for fast typist remembering wrong field, but have to scroll through UG to check command format, when the error messages are also fail to display correct error message which make user even more clueless to understand what is wrong.
We do not think we can do more than that, like detecting unspecified fields.
Quote from your explanation.
This can be easily done by extracting all fields, and do a checking of each field and make there is no invalid/unknown field for current command. If there is invalid field, you can easily display all invalid fields to user by throwing an error.
Justification : There is a lot command and a lot fields, user will always mistaken some other field exist in certain command, hence i justify as medium
Output :![image.png](https://raw.githubusercontent.com/chiageng/pe/main/files/ab519755-ecfc-49de-a988-9a38a489bd0d.png)
Expected : Catch unknown field and remind user that this field is not supported by this command. When i remove unknown field, everything work as usual