meeting-calendar
meeting-calendar copied to clipboard
Handle missing fields
Missing fields are currently handled poorly. They either result in some info being omitted on the front end (eg if the meeting title is empty), or errors (if the date or time is empty).
Some of those should probably be required fields. Others could simply use a reasonable default string such as "unnamed meeting" for the missing title.
I tried to break the calendar with incomplete data. Here is how it looks:
- With no
title
orteam
and an incompletedatetime
("2019-08-27").
- If there is no
datetime
, the date area changes toinvalid date
, which i think is fair.
- If there is no
date
nothing shows up in the calendar.
Conclusion I don't think there is anything to be done here, at least from the front end. If there is no title, the layout still works and probably doesn't need more clarification. If some of the other data is missing, i think it's a good idea for it to look a tad broken to alert meeting managers.