devedmonton / DES-Website

The Dev Edmonton Society website! We empower Edmonton Developers!
https://devedmonton.com
MIT License
29 stars 78 forks source link

Show past events on our calendar #420

Open MandyMeindersma opened 1 month ago

amandairvine commented 1 month ago

Continuing our conversation from the Calendar Improvement Issue with showing past events, we've also been discussing how we could possibly archive previous months' events into a separate json file and show them all underneath/beside the calendar or somewhere else instead of attempting to load them all into the calendar every time.

Do you have any other ideas on how we could approach this? I'd love to hear what you think!

arashsheyda commented 1 month ago

we could also use the Cache functionality of Nitro (the server behind Nuxt). but a JSON or Sqlite would be a good idea too!

dgmouris commented 1 month ago

The /api/events endpoint currently only fetches future events but inside that file (in server/api/events.js) we could either make the call fetch all of them or do two separate requests I'm down with whatever folks come up with @MandyMeindersma

dgmouris commented 1 month ago

@amandairvine I made a feature request earlier with an idea mockup on here https://github.com/devedmonton/DES-Website/issues/312 for what I was thinking originally with this calendar.

It's closed but I would personally love that list view of items.