nus-tic4002-AY2122S2 / pe-dev-response

0 stars 0 forks source link

When undoing commands, the action of "list command" is not reverted #228

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Undo should also apply to filter-related commands like "list".

Commands sequence executed: find Spencer list undo

After executing the 3rd command (undo), the app should display the filtered contact list (i.e. execute "find" command). However, app does not do this currently - it display all contact (result of the 2nd command (list))


[original: nus-tic4002-AY2122s2/pe-interim#251] [original labels: severity.Medium type.FunctionalityBug]

chenghuiyuan commented 2 years ago

Team's Response

The undo command will only undo commands that modify the actual contact list, e.g. edit, delete, add and clear

list filter are just for display. For example, in MicroSoft Word, you won't expect to be able to undo if you go to View and turn on ruler or zoom at different level.

Duplicate status (if any):

--