student-hub / acs-upb-mobile

A mobile application for students at ACS UPB.
MIT License
26 stars 22 forks source link

Mark events as 'canceled' #98

Open iugabogdan98 opened 3 years ago

iugabogdan98 commented 3 years ago

Make them more transparent on the timetable and maybe on the event page show something like 'John Doe marked this event as cancelled'.

iugabogdan98 commented 2 years ago

Context: when an instance of an event gets canceled, it should reflect on the timetable. An authorized user should be able to mark an INSTANCE of an event as canceled and appear different from the other instances of the same event (imagine a recurring event exp: course and the teacher says on date X it won't be held -> must be reflected in the app). Must understand how recurring events are generated and how they populate the timetable and add a special case for when an instance of the event might be different from the others.

Consider adding a new field in the database events document, and use it when generating instances.