forked from GitHubMirrors/silverbullet-icalendar
1.2 KiB
1.2 KiB
Specification: Fix Recurring Meetings Visibility
Overview
Users report that all recurring meetings are missing from calendar views without any error messages. This suggests an issue with the expansion or indexing logic for recurring events, possibly introduced by recent changes.
Functional Requirements
- Visibility: Recurring events must appear in the calendar views.
- Expansion: The
expandRecurrencesfunction must correctly expand valid RRULE strings into occurrences within the specified window.
Implementation Steps
- Investigation: Create a test case with a valid recurring event (unlike the previous invalid one) and verify if
expandRecurrencesproduces the expected occurrences. - Debugging: Inspect the
filterlogic inexpandRecurrences(specifically thefilterStartandwindowEndlogic). - Fix: Adjust the logic to ensure valid occurrences are returned.
- Verify: Confirm the fix with the new test case.
Acceptance Criteria
- A new test case with a valid recurring event passes and returns the expected number of occurrences.
- Recurring events are visible in the calendar view (manual verification).