project-website icon indicating copy to clipboard operation
project-website copied to clipboard

[Feature Request] Paginate Events

Open nateynateynate opened this issue 1 year ago • 6 comments

Is your feature request related to a problem? Please describe

We're prepping to populate the pre-scheduled events in our events calendars all the way into 2025 or so via automation. In testing, the number of events added to the events page caused it to scroll for pages and pages. We need to implement pagination and/or filtering for the events listing pages.

Describe the solution you'd like to see

A simple pagination implemented like on the blog page would be great.

Describe alternatives you've considered

No response

Additional context

No response

nateynateynate avatar Aug 21 '24 16:08 nateynateynate

Hi Nate, I am not 100% following - Could you elaborate?

Calendar pagination: image

Events page - no pagination image

Questions:

  • are you asking for the events page, to return a limited number of event cards? And beyond that number, we paginate the rest of the results into other pages?
  • For example, if we constrain it to 25 results, it might return the results in Aug 2024, Sep 2024 and Oct 2024?

kaimmej avatar Aug 22 '24 18:08 kaimmej

Ahh thanks - I didn't clarify. The #3160 Meetup integration is going to create a huge number of events way into the future. When testing, the list view for those doesn't stop at the end of the month, so i ended up with this: image

I wanted to implement pagination for the list view of events so I didn't get that huge wall of cards.

nateynateynate avatar Aug 23 '24 15:08 nateynateynate

  • are you asking for the events page, to return a limited number of event cards? And beyond that number, we paginate the rest of the results into other pages?

This one. Yes. 8-)

nateynateynate avatar Aug 23 '24 15:08 nateynateynate

I think similar to how we paginate the blog: Screenshot 2024-08-23 at 9 01 36 AM

For this, we'll want to come up with how to paginate. The blog seems to have 15 in its list (featured + 14 links) on each page. I imagine that's the easiest way to roll this out. But, would we want something else for this date-driven area of the site?

krisfreedain avatar Aug 23 '24 16:08 krisfreedain

For this, we'll want to come up with how to paginate. The blog seems to have 15 in its list (featured + 14 links) on each page. I imagine that's the easiest way to roll this out. But, would we want something else for this date-driven area of the site?

Paginating by month also makes sense. Any strong preference?

nateynateynate avatar Aug 23 '24 20:08 nateynateynate

I wonder if pagination by week would be more manageable for the audience. I was thinking about this recently - would be really nice to have a 'week's view' on Monday morning so everyone know what meetings/triage are happening that week. This could be a way to do so.

krisfreedain avatar Aug 25 '24 23:08 krisfreedain