AY2324S2-CS2103T-F13-2 / tp

https://nus-cs2103-ay2324s2.github.io/tp/
MIT License
0 stars 4 forks source link

[PE-D][Tester A] Unable to remove upcoming date after the time for the upcoming appointment has passed #135

Closed soc-se-bot closed 6 months ago

soc-se-bot commented 7 months ago

Details

After an appointment is completed, or when the time for an upcoming appointment with a contact has passed, it is not possible to remove the value in the "upcoming" field using the edit command. This can lead to cases for instance: An upcoming appointment with John on the 4th of April when today is the 5th of April displayed in the GUI.

The inability to remove upcoming appointment dates can also interfere with the "upcoming" function, which sorts the list of contacts by the date and time of their upcoming appointments, leading to decreased efficacy.

Expected

There is a way to remove the date for an upcoming appointment once it is completed, or when the date and time has passed, such that it is then removed from the contact.

Actual

Screenshot taken at 05-04-2024 1727, but Joshua has an upcoming appointment at 05-04-2024 1722, 5 minutes in the past.

image.png


Labels: severity.Medium type.FeatureFlaw original: J-wang-CSMA/ped#13

ziyang27 commented 7 months ago

Planned Enhancement