shareish / shareish

Main code of the Shareish platform (backend & frontend)

Home Page:https://shareish.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: sent notifications (reminder) before event

rmaree opened this issue · comments

notifications for events are sent when it is created, should also send a reminder before the event ?

So notifications would be sent to everyone within the notification radius? What if someone don't want to get reminders from events? New setting in account settings? Adding a "Remind it to me later" button on the events item page?

A kind of "Subscription" ("remind it to me later") option might be something we could think about in a more general perspective (not only event) because we are also thinking about notifications when something happens (new comment or any new "activity"...) related to any item/publicresource on the platform. That's a mid-term development goal.

A short-term approach would be an option on the notifications settings page where the user would select event reminders: yes/no (in addition to the current notifications settings instantly/daily/weekly/never). Then a daily scheduler would get for the user if reminder=yes its local events (< radius) that will occur in less than 24h to send the reminder ?

Totally agree.

But to be precise I wouldn't do a less than 24h verification, in some specific cases it could lead to an almost no gap time between event start and the reminder.

Instead, I would go for a scheduler that activates arbitrarily during the day, far enough from midnight, and that checks for all the events occurring the next day. It would leave a "security time gap" between the reminder and the event.

Hope it's clear..