Skip to content

Conversation

@barbaraperic
Copy link
Collaborator

πŸ“ Description

Updated event sorting by automatically selecting the "All Events" default view based on whether upcoming events exist.

πŸ› οΈ Key Changes

  • Added getDefaultViewConfig() and getDefaultViewOption() helper functions to dynamically determine the default event view configuration
  • Updated EventSort component to accept a defaultOption prop for controlling the initial sort selection
  • Modified EventsContent to automatically set the default sort option:
    • Shows "Upcoming Events" view when upcoming events are available
    • Falls back to "All Events" view when no upcoming events exist

πŸ“Έ Screenshots

Screenshot 2025-12-16 at 10 02 36

@barbaraperic barbaraperic self-assigned this Dec 16, 2025
@vercel
Copy link

vercel bot commented Dec 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ffdweb-site Ready Ready Preview, Comment Dec 19, 2025 0:11am
filecoin-foundation-site Ready Ready Preview, Comment Dec 19, 2025 0:11am
filecoin-foundation-uxit Ready Ready Preview, Comment Dec 19, 2025 0:11am
filecoin-site Ready Ready Preview, Comment Dec 19, 2025 0:11am

@notion-workspace
Copy link

@vercel vercel bot temporarily deployed to Preview – ffdweb-site December 19, 2025 11:12 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants