Skip to content

fix(events): restore live detail navigation - #30

Open
Elvis020 wants to merge 1 commit into
mainfrom
feature/fix-client-event-render
Open

fix(events): restore live detail navigation#30
Elvis020 wants to merge 1 commit into
mainfrom
feature/fix-client-event-render

Conversation

@Elvis020

@Elvis020 Elvis020 commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Public event pages load without a server-side EMS wait, and event navigation is fast, stable, and state-preserving across desktop and mobile.

What changed

  • Fixed dynamic event rendering after EMS returns an event.
  • Reused the current live event-list response for detail pages, avoiding a second API request for normal event clicks; first taps still fetch safely if the list has not refreshed yet.
  • Kept event to All Events navigation inside the loaded events page, including browser back/forward.
  • Preserved Calendar view and the selected month when opening an event and returning to All Events.
  • Restored the standard All Events heading and title when returning from an event.
  • Reduced the Events header height and hero CTA sizing on mobile without changing desktop spacing.
  • Made the mobile menu overlay the page, close after a selection or Escape, and give the open panel clear depth and touch-friendly actions.
  • Removed the empty action on past events with no recording and the duplicate About heading.
  • Moved the Slack-only availability safeguard to ?readiness=1; normal visitors get the page shell immediately.

Checked

  • pnpm build passed.
  • Public detail API measured at 0.70 to 0.80 seconds before list-response reuse.
  • Local Worker: event route 200; known readiness route 204; unknown readiness route 404.
  • git diff --check passed.

Requires the paired EMS readiness change in devcongress/events-management#107 before Slack starts using the readiness signal.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 11, 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 3cd1c86 Commit Preview URL

Branch Preview URL
Aug 11 2026, 09:06 PM

@Elvis020
Elvis020 force-pushed the feature/fix-client-event-render branch 2 times, most recently from 828bfee to 025aea2 Compare August 11, 2026 19:58
@Elvis020 Elvis020 changed the title fix(events): restore dynamic detail rendering fix(events): restore live detail navigation Aug 11, 2026
@Elvis020
Elvis020 force-pushed the feature/fix-client-event-render branch 4 times, most recently from db08374 to 73677ff Compare August 11, 2026 20:26
Repair dynamic public event details while keeping the Events list stable, compact, responsive, and fast during in-page navigation.

- Define status labels in the browser script instead of relying on Astro frontmatter.
- Hide the past-event action completely when no recording is available.
- Serve the dynamic event shell without waiting for an EMS lookup.
- Add a dedicated readiness response for the Slack delivery safeguard.
- Switch event cards, back navigation, and browser history inside the loaded events shell; refresh list data in the background and ignore stale route responses.
- Reuse the confirmed live list response for event detail rendering and start an intent fetch on press when that response is not ready yet.
- Preserve Calendar view and month through calendar event links and the detail Back link.
- Restore the standard All Events heading, count, and browser title before revealing the list after an event-detail route.
- Reduce mobile-only Events header padding and the wrapped calendar-control gap while retaining the desktop layout.
- Make the mobile navigation menu an overlay, close it after a link selection or Escape, and respect reduced-motion preferences.
- Refine the mobile navigation with an open-state shadow, clear close icon, directional links, and full-width touch-friendly actions.
- Reduce mobile hero CTA sizing and spacing so the community highlight video keeps visual priority.
- Remove the duplicate About this event heading from dynamic and static detail pages.

Verification:
- pnpm build
- git diff --check
- Public event detail API measured at 0.70-0.80 seconds before reuse
- Local Worker: normal event route 200, readiness route 204, unknown readiness route 404
@Elvis020
Elvis020 force-pushed the feature/fix-client-event-render branch from 73677ff to 3cd1c86 Compare August 11, 2026 21:06
@Elvis020
Elvis020 requested a review from bubunyo August 11, 2026 21:06
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