Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short form of event on Activities page #1804

Open
JortvD opened this issue Mar 28, 2024 · 3 comments
Open

Short form of event on Activities page #1804

JortvD opened this issue Mar 28, 2024 · 3 comments
Labels
Module: Activity For anything related to the Activity module Type: Idea

Comments

@JortvD
Copy link
Contributor

JortvD commented Mar 28, 2024

What would you like?

The intent of showing a short form of events on the activities page is to display the large number of events that are important to promote, while decreasing the clutter and time to scroll to the bottom. See the example at the bottom how this can be displayed. There are a large number of events that can be good to show on the Activities page:

  • Educational events -> deadlines for signing up to courses and resits, the BTA, the NSE and course evaluations
  • Save the date for ie weekends, AMD and other days
  • Other events like the Career Day, Wervingsdagen activities and Go Green Week

All of these events will only need to display: the date (some maybe a starting and end date), a title and a description. These events do not need to link to or have their own page, the intent is that there only feature is that they are listed on the Activities page. They will be controlled by the Board in the admin panel and so there will not be a creation form accessable to the general member base. The events also do not have to be visible in the Activity Archive.

image

Why is this needed?

No response

Other information

Optionally the Activities page can be renamed to Agenda or Upcoming to show that it also includes these events. I don't think this is necessary.

My implementation approach would be:

  • Make an Event a distinct model. Maybe abstract with an Activity (so Event has subtypes ShortEvent and Activity), but I don't think it is necessary.
  • Display Events on the activity/list page
  • Create admin page as admin-event
  • Possibly add support for tags like Career (or a future Education tag)

I would like to know what you think! And I am interested in implementing it myself.

@tomudding
Copy link
Member

Something that may be interesting to do with this is to automate it based on the GEWIS calendar (Google). Perhaps we can add a specific tag or something to these events in that calendar and then automatically parse it every X hours to update the list and use that list to display them in the website. That way we prevent duplication of these "events" and ensure that they are always up-to-date.

@JortvD
Copy link
Contributor Author

JortvD commented Mar 28, 2024

That would indeed be a good other way to implement to administrative side of this feature. I guess than the parsing would be done on the server side, which would than cache this somehow?

@tomudding
Copy link
Member

That would indeed be a good other way to implement to administrative side of this feature. I guess than the parsing would be done on the server side, which would than cache this somehow?

Yeah that is what I had in mind. Preferably it then goes into memcache (or redis) instead of the database. However, we will have to look into preventing cache slam.

I also do not know how this will work with longer 'events', as we have never come to a good solution for GH-732.

@tomudding tomudding added the Module: Activity For anything related to the Activity module label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Activity For anything related to the Activity module Type: Idea
Projects
None yet
Development

No branches or pull requests

2 participants