zoomcal-jeffemmett/backlog/tasks/task-5 - Implement-source-v...

823 B

id title status assignee created_date updated_date labels dependencies priority
task-5 Implement source visibility filtering Done
2026-01-02 14:28 2026-01-02 16:45
medium

Description

Wire up the source checkboxes in the sidebar to actually filter displayed events by calendar source

Implementation Notes

Refactored source visibility to use "hidden sources" approach:

  • Changed visibleSources to hiddenSources in store (cleaner logic: empty = show all)
  • Updated CalendarSidebar to check !hiddenSources.includes(source.id)
  • Updated MonthView to filter events by hidden sources before display
  • Event count header shows "X of Y events" when filtering is active
  • State persisted via Zustand persist middleware