jayasting98 / pe

0 stars 0 forks source link

`undo` does not work properly after changing participation marks #4

Open jayasting98 opened 2 years ago

jayasting98 commented 2 years ago

To reproduce:

  1. Type participation command like participation 2 ses/3 add/420

image.png

image.png

  1. Use undo command
    • Result (wrong; removes neither participation nor attendance):

image.png

nus-pe-bot commented 2 years ago

Team's Response

After reproduction of the bug, the attendance and participation were indeed 'undone', it is just that the view was not updated concurrently (it is outdated because it is the result of a past command, not the current command)

If view can be updated concurrently, it would be out-of-scope of development as it requires multiple commands to be recognized and executed at the same time.

In order to view the updated state of the undone changes, the user needs to use the view command again to refresh the view, as the view you have is outdated.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: In that case, where it seems to be a deliberate design decision, then it might be a feature flaw, though I cannot change the bug type anymore. Nevertheless, I feel this response is merely trying to come up with an excuse, and it might not have actually been a design decision. In which case, it should remain a functionality bug.

I believe it is expected for the UI to update for any action no matter what. Imagine using Microsoft Word and no matter how much you type, you do not see any words being displayed because we did not click some refresh button (in reference to my grade-related bug that you marked as a duplicate which is my issue #5 or your issue #1318). Then let us say once we refresh, and the words pop up, we do not like it so we want to undo, but no matter how much we undo, the words still remain the same unless we click some refresh button. That is also frustrating and not something any user would expect, and it should be the same case here.

What is worse is that if we really were required to use view to refresh the UI, the dropdown menus would collapse again, and I would have to click to open them again. It was pretty frustrating, and probably not optimised for fast typists.

I also do not think this concerns multiple commands to be executed at the same time. I think that because this is expected behaviour, this actually falls within the same command still. It would be like in a browser. It is pretty standard to have a feature where users click on a tab to show it; this is the parallel to the view command. Another feature is to open a link; this is the parallel to the undo or grade command. It would be expected that once the link is opened, the browser shows the tab or window that shows the web page of that link. However, this is still part of the same feature. It is not multiple features together. In the same way, updating the UI after undo or grade should still be part of the same feature.

Also, as I have mentioned probably multiple times now, this behaviour of updating the UI immediately is expected. Thus, I do not think it can be considered out-of-scope development.

Not only that, if all of what was stated in the response were all really planned for, then why does attendance work and update the UI as expected. Why is there such an inconsistency?