Murugan-Maniish / pe

0 stars 0 forks source link

Using edit tag after sort undoes the sorting #2

Open Murugan-Maniish opened 5 months ago

Murugan-Maniish commented 5 months ago

Inputs: -sort name desc -edit 3 t/boy

Expected: Edit preserves sorting Actual: Undoes sorting

After sort: Screenshot 2024-04-19 at 4.40.03 PM.png

After edit: Screenshot 2024-04-19 at 4.40.35 PM.png

nus-se-script commented 5 months ago

Team's Response

Hi thanks for the report,

This is an intended feature to reset the view to our default sorting order, name in ascending lexicographic order, after each command besides sort. This is to ensure that after editing one of the student's fields, the list will still have an order to it. Otherwise editing would lead to the order possibly getting broken

However, this should have been specified in the UG under sort to make this clearer to users that this is an intended behaviour

Items for the Tester to Verify

:question: Issue type

Team chose [type.DocumentationBug] Originally [type.FunctionalityBug]

Reason for disagreement: If it is a documentation bug it would still be a feature flaw as the user might want to interact with the same contact but the rearrangement of the contact list would inconvenience them making them find the contact again.