Skip to content

fix(events): correct visitor timezone, polish legacy /events, richer previews - #525

Merged
mohanadft merged 2 commits into
mainfrom
fix/events-timezone-and-polish
Aug 17, 2026
Merged

fix(events): correct visitor timezone, polish legacy /events, richer previews#525
mohanadft merged 2 commits into
mainfrom
fix/events-timezone-and-polish

Conversation

@mohanadft

Copy link
Copy Markdown
Collaborator

Summary

  • Event times/dates now show in the visitor's own timezone instead of the organizer's (was showing Jerusalem time to everyone)
  • Fixed duplicate date and cropped image in the event detail modal (both pages)
  • Rebuilt legacy /events off MUI onto Tailwind, matching /events-new's type scale and a11y baseline (focus rings, 44px touch targets)
  • Upcoming cards now show a thumbnail + description excerpt, with speaker-name extraction ("Featuring X, Y") when available
  • YouTube thumbnail preview now applies to any event with a recording/stream link, not just Community Calls
  • Fixed date-badge misalignment across cards (fixed width instead of shrink-to-fit)
  • Fixed RichTextRenderer leaking new-design colors (text-brand, text-ink-secondary) into legacy /faq and /ideas

Test plan

  • /events and /events-new: confirm event times match your local timezone, not the organizer's
  • Open an event's "More info" modal on both pages: date shown once, image not cropped
  • Upcoming list: thumbnail + excerpt render, long titles/excerpts don't break layout, date badges align down the list (mix of 1- and 2-digit days)
  • /faq and /ideas: links and colored text use legacy colors, not the new brand palette; /faq-new and /ideas-new unchanged
  • pnpm build / astro check pass

…previews

- Fix event times/dates showing organizer's timezone instead of visitor's
  (dateUtcIso now drives display on both /events and /events-new)
- Fix duplicate date shown twice in event modal (badge + text line)
- Fix cropped modal preview image (was clipped by a fixed aspect box)
- Rebuild legacy /events off MUI onto Tailwind, matching /events-new's
  type scale, with a11y-focused states (focus rings, 44px targets)
- Add thumbnail + description excerpt to upcoming event cards, with
  speaker-name extraction ("Featuring X, Y") when a description has one
- Extend YouTube thumbnail preview to any event with a recording/stream
  link, not just Community Calls
- Fix date-badge alignment drift across cards (fixed width, was shrink-to-fit)
- Fix RichTextRenderer leaking new-design colors into legacy /faq and /ideas
@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9675462
Status: ✅  Deploy successful!
Preview URL: https://fbb2d0f2.website-aun.pages.dev
Branch Preview URL: https://fix-events-timezone-and-poli.website-aun.pages.dev

View logs

- Bottom-corner card on / showing the soonest upcoming event, 2s delay
- Compact row on mobile, full banner card on desktop
- Register CTA links direct to the event's registration link
- Dismissal remembered per event id (localStorage), won't renag
- Plausible custom events (Shown/Register Click/All Events Click/Dismissed)
  with event_id/event_title props to measure impact
@mohanadft
mohanadft merged commit ab7cfc4 into main Aug 17, 2026
5 checks passed
@mohanadft
mohanadft deleted the fix/events-timezone-and-polish branch August 17, 2026 13:22
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.

1 participant