As a user of the Event List, I want ongoing events to be displayed as default -- but to be able to hide ongoing events, so that I can see all events that are still possible to join but also have the option to filter out events that are not only applicable to the date range that I have selected.
Background: The Event List currently displays ongoing events. So, for example, if a user goes to the Event List and they choose to see events between Jan 1 and March 1, they could see events that actually started earlier (such as in December), as long as the event was ongoing during that period (for example, if the event started on December 10 but ended on February 10). We should allow users to hide ongoing events (perhaps with a search filter or checkbox?), but it should not be the default. This way, users can see all events going on in a certain period (i.e., ongoing events) and only events that started within a certain period (i.e., not ongoing events... I don't know what they would be called instead!).
Acceptance Criteria:
- Given that a user is on Special:AllEvents,
- The user should be able to see ongoing events in the Event List (as default)
- The user should be able to hide ongoing events, if they want, by checking a box below the "From" field, which states:
- Include ongoing events within the date range
- When the toggle is turned off, show:
- Events that start and end within the selected date range.
- Events that start within the range but end after the range.
- The visual appearance should be updated:
- The date is now bold and the clock icon is removed
- The year has been added to the month heading with a divider underneath
- A check box below the From and To filters to include or exclude ongoing events
Design
Design specs