You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! We've just published our next meetup which is still some time away (more than 3 months ago). After our current event was over I was expecting that the next event will be "promoted" on the homepage of the user group. However, it does not show the next event but the custom recurrence text of the user group.
I've already inspected the code on why this is happening and I'm not sure if I understand the reasoning behind the implementation. Basically we look for the "current event" which is implemented using the current scope in the Event model. This scope specifically looks for events that take place in the next 9 weeks. The number feels quite arbitrary to me and I feel like just changing this to display the next planned event (with min date in the future) should work best for frequent and less frequent meetups. But maybe there is a special reason why we want to enforce a specific actuality?
Another option I could think of is to let admins control which event should be "promoted" on the home page, however this might become tedious to manage and would need some UI on the admin page.
Let me know what you think and if you're open to change the behavior.
The text was updated successfully, but these errors were encountered:
This change removes the restriction of the current event to be at most 9
weeks in the future. Some user groups might decide to hold meetups less
frequently so this limitation prevents them from advertising their next
event until 9 weeks before the meetup.
With this change the current event that is displayed on the homepage
will always be the next event, even if it's set far in the future.
Closesrughh#1084
Hey! We've just published our next meetup which is still some time away (more than 3 months ago). After our current event was over I was expecting that the next event will be "promoted" on the homepage of the user group. However, it does not show the next event but the custom recurrence text of the user group.
I've already inspected the code on why this is happening and I'm not sure if I understand the reasoning behind the implementation. Basically we look for the "current event" which is implemented using the
current
scope in theEvent
model. This scope specifically looks for events that take place in the next 9 weeks. The number feels quite arbitrary to me and I feel like just changing this to display the next planned event (with min date in the future) should work best for frequent and less frequent meetups. But maybe there is a special reason why we want to enforce a specific actuality?Another option I could think of is to let admins control which event should be "promoted" on the home page, however this might become tedious to manage and would need some UI on the admin page.
Let me know what you think and if you're open to change the behavior.
The text was updated successfully, but these errors were encountered: