Open rismm opened 7 months ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Inconsistency in command conventions
While this may be a nitpick, it is rather confusing that the flag for quantity is sometimes "q/" and sometimes "a/"
[original: nus-cs2113-AY2324S2/pe-interim#553] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
Hi there, thank you for your report.
Having different flags for the "Quantity" field is an intentional choice, as "Quantity" has different purposes in the different commands.
In the
add
andedit
command,q/QUANTITY
is used to specify the total quantity of the product. In theinflow
andoutflow
command,a/QUANTITIY
is used to specify the change in quantity of the product. Reusingq/QUANTITY
for theinflow
andoutflow
command may hence confuse users as to whether they are editing the total quantity of the product, or merely increasing/decreasing the amount.We hope this clears up the design choice. Nevertheless, thank you for bringing up this concern.
Best Regards, StockPal Team
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]
Based on the parameters of the new command, I would also expect the parameter to indicate quantity would also use
q/
instead ofa/
. I feel that there is a lack of consistency in the commands and only adds to confusion of the user.