Files
silverbullet-icalendar/conductor/archive/fix_recurring_visibility_20260219/spec.md

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 expandRecurrences function must correctly expand valid RRULE strings into occurrences within the specified window.

Implementation Steps

  1. Investigation: Create a test case with a valid recurring event (unlike the previous invalid one) and verify if expandRecurrences produces the expected occurrences.
  2. Debugging: Inspect the filter logic in expandRecurrences (specifically the filterStart and windowEnd logic).
  3. Fix: Adjust the logic to ensure valid occurrences are returned.
  4. 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).