Implement Vetting Workflow #281
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About this Pull Request
This pull request's base branch is
vetting-workflow. That base branch will be the target for vetting-related PRs until it makes sense to merge the entire feature into the main branch.Changes
Fix #277
This PR adds vetting-related settings and enables users to make file-level annotations as "submitted" (one per file). This is to support vetting workflows, such as the round of community vetting of data that will take place in early 2026.
Issue #277's requirements are all met by this PR:
Add a Mark Complete / Submit action for the current user on the current file.
This is done at the annotation level. When the
mark_annotations_completed_enabledsetting is turned on, the file annotation editor contains a new button called "Submit." Clicking this button will make that annotation as submitted. Each user can submit up to one annotation per recording. Once an annotation is submitted, it cannot be unsubmitted, and no other annotations can be submitted for that recording.After marking complete, the reviewer should still be able to reopen the file (for comparison), but it remains clearly marked complete.
Nothing in the PR filters recordings based on whether or not the current user has submitted an annotation for the recordings. That can be relegated to future work. For now, a new column has been added to the recordings view that indicates with a checkmark or cancel icon whether or not a user has submitted an annotation for that recording. This is only visible when the
mark_annotations_completed_enabledsetting is turned on.Store per-user per-file completion state: Not Completed vs Completed.
This can be determined simply by filtering for a given user and
submittedflag on a recording's associated file annotations.TODO