GrafeasGroup / blossom

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

Add overwrite_check_percentage field to BlossomUser #304

Closed TimJentzsch closed 2 years ago

TimJentzsch commented 2 years ago

Relevant issue: Closes #303

Description:

This adds the functionality to watch a user, overwriting the percentage used to determine if a transcription needs to be checked by a mod. This has been requested by the user and welcome teams.

To accomplish this, an overwrite_check_percentage field has been added to the BlossomUser model, defaulting to None (automatic checks).

The mods can use the @Blossom watch <username> <percentage> command to overwrite this. For example, with @Blossom Tim3303 75, transcriptions by Tim3303 will have a 75% to be checked by the mods. The <percentage> option can be omitted and defaults to 100.

The check message in Slack will reflect if the percentage was overwritten, to make it easier to keep track of this.

Using the @Blossom unwatch <username> command, this behavior will be reset to the automatic algorithm.

Checklist: