Skip to content

Fix public calendar subscriptions and meetup links - #24

Merged
Elvis020 merged 1 commit into
mainfrom
feature/calendar-subscribe-hotfix
Aug 7, 2026
Merged

Fix public calendar subscriptions and meetup links#24
Elvis020 merged 1 commit into
mainfrom
feature/calendar-subscribe-hotfix

Conversation

@Elvis020

@Elvis020 Elvis020 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fix the public events calendar subscription flow and keep published meetup links usable from the website and preview deployments.

Why it failed earlier

The calendar feed was not stale or empty. It was returning the current published events correctly, but the Google Calendar cid link passed the feed as an https:// URL. Google’s subscription flow expects the calendar source in webcal:// form, which caused the “Unable to add calendar. Check the URL.” error.

The live August meetup data also contained a localhost registration URL, which would only work from the local development environment and not from the deployed website.

User-facing changes

  • Google Calendar subscriptions now use a webcal:// feed and the current site origin.
  • Added a direct .ics download fallback for calendar clients that reject the Google flow.
  • Public meetup localhost URLs are rewritten to the public Events Management origin during static generation.
  • Retained event and meetup title/location truncation with full values available on hover.

Verification

  • pnpm build passed; 15 pages and the live published event feed were generated.
  • Generated output contains August and October events and no localhost/loopback URLs.
  • git diff --check passed.

The PR is ready for review.

- Use a webcal feed in the Google Calendar subscription URL and derive the feed origin at runtime so preview deployments subscribe to their own public feed.\n- Add a direct .ics download fallback for calendar clients that reject the Google subscription flow.\n- Rewrite loopback meetup registration and media URLs to the public Events Management origin during static generation.\n- Preserve the existing event and meetup title/location truncation improvements.\n\nVerification: pnpm build completed successfully with 15 pages and the live published event feed; git diff --check passed; generated output contained no localhost or loopback URLs.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
devcongress-website 9e9873c Commit Preview URL

Branch Preview URL
Aug 07 2026, 02:34 PM

@Elvis020
Elvis020 requested a review from bubunyo August 7, 2026 14:53
@Elvis020
Elvis020 merged commit e9834a3 into main Aug 7, 2026
5 checks passed
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.

2 participants