8183c0200d
This commit introduces a new SchoolLevel enum and updates the EventOccurrenceParser to filter event occurrences based on the specified school level (Middle School or High School). The EventOccurrenceParseResult and EventOccurrenceParserResult classes have been updated to track skipped section headers and counts for both school levels. Additionally, the EventOccurrenceParserService has been modified to read the school level from configuration, and the UI has been updated to allow users to select the school level for event imports. This enhancement improves the accuracy of event parsing and provides better user feedback on skipped occurrences.
19 lines
294 B
C#
19 lines
294 B
C#
namespace Core.Models;
|
|
|
|
/// <summary>
|
|
/// School level for filtering event occurrences.
|
|
/// </summary>
|
|
public enum SchoolLevel
|
|
{
|
|
/// <summary>
|
|
/// Middle School level
|
|
/// </summary>
|
|
MiddleSchool,
|
|
|
|
/// <summary>
|
|
/// High School level
|
|
/// </summary>
|
|
HighSchool
|
|
}
|
|
|