Filter inactive users at commitment page
proposals
- "I have a minor suggestion/request for Meditation+: When viewing the "commitments" made by other meditators (https://meditation.sirimangalo.org/commit), there are hundreds of inactive users listed. Could we have it only list those commitments of meditators active in the past 30 days? It would give more of a feel for who the active community is."
- "It would be nice to have a clean commitment page. And maybe whoever didn't do their commitment 2 or 3 times can just be taken off of that, so they are reminded. It may encourage people to get their commitment more seriously, who knows."
- "Regarding how to define inactivity, I think not having logged a meditation within a certain timeframe would be best."
definition of done:
-
a new script to server/src/scripts
for a daily cronjob is added which- loops through all daily commitments and removes all users from it who have no session logged since 3 days
- loops through all weekly commitments and removes all users from it who have no session logged since 7 days
-
A small notice about the automatic removal is added to the commitment page
Edited by Sebastian K