Skip to content

Add multi-day and recurring calendar events#669

Open
darshan-Jahagirdar wants to merge 1 commit into
ryanhowdy:masterfrom
darshan-Jahagirdar:codex/calendar-recurring-events
Open

Add multi-day and recurring calendar events#669
darshan-Jahagirdar wants to merge 1 commit into
ryanhowdy:masterfrom
darshan-Jahagirdar:codex/calendar-recurring-events

Conversation

@darshan-Jahagirdar
Copy link
Copy Markdown

@darshan-Jahagirdar darshan-Jahagirdar commented May 13, 2026

Fixes #377.

This adds calendar creation support for:

  • multi-day events by expanding the selected date range into normal calendar rows
  • daily, weekly, and monthly recurring events up to a chosen end date
  • recurring multi-day spans by preserving the span duration for each occurrence

The implementation avoids a database migration by storing generated occurrences as existing fcms_calendar rows, so the current month view, day view, homepage widgets, and exports continue to read the same table shape.

Verification:

  • git diff --check -- familyconnections/calendar.php familyconnections/inc/calendar_class.php familyconnections/ui/themes/default/templates/calendar/add.php passes locally.
  • Codacy Static Code Analysis is passing with 0 new issues.
  • Could not run PHP locally because this machine does not have php, Composer, or Docker installed on PATH.

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 13, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 321 complexity · 0 duplication

Metric Results
Complexity 321
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@darshan-Jahagirdar darshan-Jahagirdar force-pushed the codex/calendar-recurring-events branch 2 times, most recently from 772a9d0 to 12c3e50 Compare May 13, 2026 01:07
@darshan-Jahagirdar darshan-Jahagirdar force-pushed the codex/calendar-recurring-events branch from 12c3e50 to cba8a15 Compare May 13, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calendar - recurring events [$15]

1 participant