feat: Google Calendar integration for SIG events #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Google Calendar Integration for SIG Events
Overview
Fixes: #60
Adds Google Calendar integration to display Special Interest Group (SIG) events directly on related blog pages. Calendars render conditionally if the linked SIG has a valid
google_calendar_id.Backend
google_calendar_idfield to SIG content type (schema.json).GET /api/sigs– List SIGs with calendar IDsGET /api/sigs/:id– Fetch SIG with calendar dataGET /api/sigs?filters[blogs][id][$eq]=:blogId– Fetch SIG by blogFrontend
GoogleCalendar.jsx)calendarIdas inputnullif ID is missing/invalidData Fetching
getSIGs.js)getSIGByBlogId(blogId)→ Fetch SIG linked to a bloggetAllSIGs()→ Fetch all SIGs (sorted)getSIG(sigId)→ Fetch individual SIG with calendar dataBlog Page Integration (
page.js)getBlog(slug)→ Extract blog IDgetSIGByBlogId(blog.id)google_calendar_id, renderGoogleCalendarbelow blog contentData Flow
Blog Slug → getBlog(slug) → Blog Object (ID) ↓ Blog ID → getSIGByBlogId(blog.id) → SIG Object ↓ SIG.google_calendar_id → Calendar Component → Embedded Google CalendarUsage
google_calendar_idin Strapi SIG entry.Files Modified
schema.jsongoogle_calendar_idfieldcontentTypes.d.tsGoogleCalendar.jsxgetSIGs.jspage.js