GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Display gamma at point of transcription instead of at the point of the Slack message #379

Closed TimJentzsch closed 2 years ago

TimJentzsch commented 2 years ago

Currently, the transcription checks display the gamma of the user at the point where the Slack message is sent. Instead, it should show the gamma at the point where the transcription was finished. This makes a difference when the check message is updated or when the check is created manually at a later point in time.

To implement this, we should add a function to the Volunteer model, which works similarly to the gamma property, but takes optional start and end times which restrict the gamma to the given time range. This function might be useful in other features as well.