forked from GitHubMirrors/silverbullet-icalendar
chore(conductor): Add new track 'Fix recurring meetings visibility'
This commit is contained in:
@@ -16,3 +16,8 @@ This file tracks all major tracks for the project. Each track has its own detail
|
||||
|
||||
- [ ] **Track: Fix version inconsistency in PLUG.md and icalendar.plug.yaml and investigate plug-manager error.**
|
||||
*Link: [./tracks/fix_version_mismatch_20260219/](./tracks/fix_version_mismatch_20260219/)*
|
||||
|
||||
---
|
||||
|
||||
- [ ] **Track: Fix issue where recurring meetings are not showing up.**
|
||||
*Link: [./tracks/fix_recurring_visibility_20260219/](./tracks/fix_recurring_visibility_20260219/)*
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
# Track fix_recurring_visibility_20260219 Context
|
||||
|
||||
- [Specification](./spec.md)
|
||||
- [Implementation Plan](./plan.md)
|
||||
- [Metadata](./metadata.json)
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"track_id": "fix_recurring_visibility_20260219",
|
||||
"type": "bug",
|
||||
"status": "new",
|
||||
"created_at": "2026-02-19T00:00:00Z",
|
||||
"updated_at": "2026-02-19T00:00:00Z",
|
||||
"description": "Fix issue where recurring meetings are not showing up."
|
||||
}
|
||||
20
conductor/tracks/fix_recurring_visibility_20260219/plan.md
Normal file
20
conductor/tracks/fix_recurring_visibility_20260219/plan.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Implementation Plan - Fix Recurring Meetings Visibility
|
||||
|
||||
## Phase 1: Investigation & Reproduction
|
||||
- [ ] Task: Create validation test case
|
||||
- [ ] Add a test in `icalendar_test.ts` with a valid weekly recurring event starting in the past.
|
||||
- [ ] Assert that it returns multiple occurrences within the 30-day window.
|
||||
- [ ] Run the test to see if it fails (confirming the bug).
|
||||
- [ ] Task: Conductor - User Manual Verification 'Investigation & Reproduction' (Protocol in workflow.md)
|
||||
|
||||
## Phase 2: Fix Logic
|
||||
- [ ] Task: Debug and Fix `expandRecurrences`
|
||||
- [ ] Analyze the date window filtering logic (`filterStart`, `windowEnd`).
|
||||
- [ ] Adjust logic if events are being filtered out incorrectly.
|
||||
- [ ] Run the validation test case to confirm the fix.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Fix Logic' (Protocol in workflow.md)
|
||||
|
||||
## Phase 3: Cleanup & Verification
|
||||
- [ ] Task: Full Regression Check
|
||||
- [ ] Run all tests in `icalendar_test.ts`.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Cleanup & Verification' (Protocol in workflow.md)
|
||||
18
conductor/tracks/fix_recurring_visibility_20260219/spec.md
Normal file
18
conductor/tracks/fix_recurring_visibility_20260219/spec.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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).
|
||||
Reference in New Issue
Block a user