4 Commits

Author SHA1 Message Date
d9395def63 feat(calendar): integrate calendar manager with widget (Phase 3 - Part 2)
- Created calendarWidgetIntegration.js as integration layer
- Modified calendarWidget.js to use new calendar filtering system
- Added fallback to legacy mode for backward compatibility
- Updated calendar_scripts.html to initialize integration
- Implemented fetchEventsForVisibleCalendars with calendar_id filtering
- Added event deduplication and color override from calendars
- Exposed window.calendarIntegration for global access
- Added comprehensive logging for debugging

Technical decisions:
- Non-invasive integration via optional chaining
- Callback-based synchronization (onCalendarToggle, onCalendarsChange)
- Parallel event loading with Promise.all()
- Automatic legacy mode when no calendars configured
2026-02-11 10:10:30 +03:00
a29aa69d16 docs(calendar): update progress - Phase 2 complete with testing
- Phase 2 (API + Testing) now marked as complete
- Added detailed test results section:
  * 34 legacy tests passing (backward compatibility)
  * 29 new tests passing (new functionality)
  * Total: 63 tests successfully passing
- Reorganized Phase 4 to reflect completed vs pending tests
- Next step: Phase 3 (Frontend implementation)
2026-02-11 08:37:57 +03:00
ab0c91b2e8 docs(calendar): update architecture doc with Phase 2 completion status 2026-02-11 08:19:23 +03:00
c6c0adbd31 docs: добавлена архитектура опциональных календарей 2026-02-11 07:53:04 +03:00