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.
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 thegamma
property, but takes optionalstart
andend
times which restrict the gamma to the given time range. This function might be useful in other features as well.