mumuki / mumuki-domain

💡 Mumuki's domain model
GNU Affero General Public License v3.0
1 stars 0 forks source link

Use updated_at instead of submitted_at on activity date filters #223

Closed felipecalvo closed 3 years ago

felipecalvo commented 3 years ago

:dart: Goal

Use a more reliable field for showing weekly activity stats.

:memo: Details

We recently noticed a bunch of exercises do not have submitted_at and therefore can't be filtered by date. Using updated_at is not ideal, as there are a few cases which update an Assignment but do not correspond with a submission, but it will do until @flbulgarelli fixes or helps us fix that bug.

:soon: Future work

This PR should be reverted around three months after when the aforementioned bug is fixed. Twelve weeks is the maximum time we show filters for.