Enhance event definitions and parsing logic for new event types
Added new event definitions for "Meet the Candidates", "Chapter Officer Meeting", "Voting Delegate Meeting", and "Social Gathering". Updated the EventOccurrenceParser to handle these new event types and modified related services and views to accommodate the changes. Improved test coverage for the new event definitions and ensured proper parsing and display in the calendar components.
This commit is contained in:
@@ -239,8 +239,14 @@
|
||||
{
|
||||
if (eventDefinition == EventDefinition.GeneralSchedule)
|
||||
return "General Schedule";
|
||||
if (eventDefinition == EventDefinition.VotingDelegates)
|
||||
return "Voting Delegates";
|
||||
if (eventDefinition == EventDefinition.MeetTheCandidates)
|
||||
return "Meet the Candidates";
|
||||
if (eventDefinition == EventDefinition.ChapterOfficerMeeting)
|
||||
return "Chapter Officer Meeting";
|
||||
if (eventDefinition == EventDefinition.VotingDelegateMeeting)
|
||||
return "Voting Delegate Meeting";
|
||||
if (eventDefinition == EventDefinition.SocialGathering)
|
||||
return "Social Gathering";
|
||||
return eventDefinition.Name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user