Skip to content

Conversation

@naglepuff
Copy link
Collaborator

About this PR

This is another PR in the series that implements the community vetting workflow. (See PR #292).

Changes

Fix #278

Next Unreviewed skips completed files.

New computed properties allRecordings, nextUnsubmittedRecordingId, and previousUnsubmittedRecordingId, are used to power 2 new UI elements in the spectrogram sidebar:
image

These buttons take the user to the next recording that they have not submitted an annotation for.

When no unreviewed files remain, the user sees "All reviews complete".

When there is no nextUnsubmittedRecordingId, the buttons are replaced with a message that indicates that there are no more files to review.
image

@naglepuff
Copy link
Collaborator Author

@BryonLewis sorry about the git history on this one. Didn't do a great job keeping up with rebasing/merging. New commits start at bfd4730

@naglepuff naglepuff requested a review from BryonLewis December 31, 2025 22:43
@naglepuff naglepuff marked this pull request as ready for review December 31, 2025 22:43
@naglepuff naglepuff linked an issue Dec 31, 2025 that may be closed by this pull request
@naglepuff naglepuff merged commit 2dc0ce6 into vetting-workflow Jan 5, 2026
4 checks passed
@naglepuff naglepuff deleted the issue-278-next-unreviewed branch January 15, 2026 19:06
naglepuff added a commit that referenced this pull request Jan 16, 2026
* Allow Users to Submit Annotations (#281)

* Add settings for vetting

* Model submission status of recording annotations

* Add endpoint to get current user

* Show recording submission status in table view

* Don't filter out noise

The model can predict noise, so sorting it out of the species list can
lead to problems when loading/displaying that value in a list.

* Add endpoint to submit file-level annotations

* Allow submitting file annotations in interface

* Squash migrations

* Indicate when a file has been reviewed

* Format

* Show the current user's submitted label in sidebar

* Disable deletion for non-admin vetters

* Make 403 message more descriptive

* Vetting progress UI (#293)

* Add settings for vetting

* Model submission status of recording annotations

* Add endpoint to get current user

* Show recording submission status in table view

* Don't filter out noise

The model can predict noise, so sorting it out of the species list can
lead to problems when loading/displaying that value in a list.

* Add endpoint to submit file-level annotations

* Allow submitting file annotations in interface

* Squash migrations

* Indicate when a file has been reviewed

* Format

* Show the current user's submitted label in sidebar

* Disable deletion for non-admin vetters

* Make 403 message more descriptive

* Show progress bar for submitted recordings

* Enable showing/hiding submitted recordings

* Toggle submitted recordings in sidebar

* Fix submission bug

* Navigate through unreviewed files (#294)

* Add settings for vetting

* Model submission status of recording annotations

* Add endpoint to get current user

* Show recording submission status in table view

* Don't filter out noise

The model can predict noise, so sorting it out of the species list can
lead to problems when loading/displaying that value in a list.

* Add endpoint to submit file-level annotations

* Allow submitting file annotations in interface

* Squash migrations

* Indicate when a file has been reviewed

* Format

* Show the current user's submitted label in sidebar

* Disable deletion for non-admin vetters

* Make 403 message more descriptive

* Show progress bar for submitted recordings

* Enable showing/hiding submitted recordings

* Toggle submitted recordings in sidebar

* Fix submission bug

* Add button to go to next unreviewed file

* Add function to get next unreviewed recording

* Navigate between unreviewed files

* Display a message when there are no files to review

* Reset selected annotation when recording changes

* Show a user their submitted labels (#295)

* Show submission status and label in sidebar

* Show user submitted label in Recordings view

* Hide detailed metadata in vetting mode (#296)

* In vetting mode, hide detailed metadata fields

* Hide annotation summary in vetting mode

* Show GRTS cell bounding box for vetters

* Indicate pending submissions

* Update title for pulse annotation column

* Hide "my recordings" if non-admins can't upload (#298)

* Hide "my recordings" if non-admins can't upload

* Add missing semicolon

Co-authored-by: Bryon Lewis <61746913+BryonLewis@users.noreply.github.com>

* Hide progress bar for my recordings when needed

---------

Co-authored-by: Bryon Lewis <61746913+BryonLewis@users.noreply.github.com>

* Allow users to add reference materials (#297)

* Allow users to add reference materials

* Model vetting details per user

* Update vetting details from front end

* Use separate component for reference materials

* Add length check and test to API layer

* Swap position of close/save for consistency

* Use correct max length value for vuetify rule

Co-authored-by: Bryon Lewis <61746913+BryonLewis@users.noreply.github.com>

---------

Co-authored-by: Bryon Lewis <61746913+BryonLewis@users.noreply.github.com>

* Vetting workflow feedback (#301)

* Make return type compatable for column definition

* Add scale widget to location map

* Fix casing for kHz

* Fix scrolling in spectrogram sidebar

* Add tooltip to submission status

* Ensure configuration is loaded before column check

* Remove unused setting and remake migrations

* Use tooltip in shared list

---------

Co-authored-by: Bryon Lewis <61746913+BryonLewis@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Vetting] Add “Next unreviewed file” navigation

2 participants