Skip to content

feat: add upcoming events calendar - #23

Merged
Elvis020 merged 1 commit into
mainfrom
feature/upcoming-events-calendar
Aug 7, 2026
Merged

feat: add upcoming events calendar#23
Elvis020 merged 1 commit into
mainfrom
feature/upcoming-events-calendar

Conversation

@Elvis020

@Elvis020 Elvis020 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a responsive events calendar and a subscribable feed for ongoing and upcoming published events.

Preview

Open the Cloudflare branch preview

Cloudflare branch previews are now enabled so reviewers can test changes before approval and merging.

There are currently no published future events, so the preview demonstrates the disabled subscription state. The Google Calendar subscription becomes available automatically when a current or future event is published.

Changes

  • adds List and Calendar views to /events/
  • keeps desktop month cells a fixed height, showing two events plus +N more for busy days
  • uses a complete agenda view on mobile
  • adds an accessible day-events panel with Escape handling and focus restoration
  • publishes /events/calendar.ics using the validated Events Management feed
  • limits subscriptions to ongoing and future published events
  • adds a compact Google Calendar subscription action
  • shows a clearly disabled, motionless subscription control with explanatory copy when no eligible events are available
  • enables Cloudflare branch preview URLs and avoids duplicate main-branch deployment from GitHub Actions
  • documents the feed and refresh behavior

Screenshots

Mobile — Google Calendar action and events calendar

Mobile view of the Google Calendar action and events calendar

Desktop — Google Calendar action

Desktop view of the Google Calendar action

No upcoming events — subscription unavailable

Disabled Google Calendar subscription when there are no upcoming events

Desktop — events calendar

Desktop events calendar view

Implementation notes

  • Past events remain visible on the website but are excluded from calendar subscriptions.
  • The feed is generated during the existing static build and refreshes on production builds.
  • Event links resolve safely for both internal event pages and external registration URLs.

Verification

  • pnpm build
  • generated iCalendar envelope, CRLF termination, and 75-byte line folding validated
  • desktop cells verified at one consistent height
  • overflow panel verified with keyboard close and focus return
  • mobile agenda verified to show every event without truncation
  • empty upcoming-event state verified to disable calendar subscription with explanatory copy and no hover/press motion
  • git diff --check

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 5, 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 7994e2f Commit Preview URL

Branch Preview URL
Aug 05 2026, 01:38 PM

@Elvis020
Elvis020 force-pushed the feature/upcoming-events-calendar branch 3 times, most recently from ad2c4c9 to 0fdb20d Compare August 5, 2026 13:33
- add responsive list and calendar views with fixed-density desktop cells, a mobile agenda, and accessible overflow details for busy days
- publish a standards-compliant iCalendar subscription containing only ongoing and future published events
- add a compact Google Calendar subscription action that resolves correctly on production and preview origins
- enable Cloudflare preview URLs while leaving main-branch delivery to Git integration and scheduled/manual workflow refreshes
- document the calendar feed, refresh behavior, and public-data boundary

Verification:
- pnpm build
- validated generated calendar envelope, CRLF termination, and 75-byte line folding
- verified fixed desktop cell heights, overflow-panel keyboard behavior, and complete mobile agenda rendering
- git diff --cached --check
@Elvis020
Elvis020 force-pushed the feature/upcoming-events-calendar branch from 0fdb20d to 7994e2f Compare August 5, 2026 13:38
@Elvis020
Elvis020 requested a review from bubunyo August 5, 2026 14:09
@Elvis020
Elvis020 merged commit a6af74d into main Aug 7, 2026
5 checks passed
@Elvis020
Elvis020 deleted the feature/upcoming-events-calendar branch August 7, 2026 14:14
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