Skip to content

feat(comments): keep Save & Review Next inside review queue (ENGAGE-235) - #313

Merged
Ckoelewyn merged 1 commit into
bcgov:mainfrom
Ckoelewyn:engage-235
Jul 27, 2026
Merged

feat(comments): keep Save & Review Next inside review queue (ENGAGE-235)#313
Ckoelewyn merged 1 commit into
bcgov:mainfrom
Ckoelewyn:engage-235

Conversation

@Ckoelewyn

Copy link
Copy Markdown
Collaborator

Save & Review Next always jumped to the next Pending comment, so staff reviewing Needs Further Review had to Save & Close and re-apply the status filter to reach each subsequent one.

The button now resolves the next comment from the queue the reviewer entered, falling through to the other queue once theirs is empty and disappearing when both are. Needs Further Review is ordered by review_date, so a comment re-marked as Needs Further Review goes to the back of its own queue. The button is hidden for already approved or rejected comments.

Comment listing status sort now maps status ids onto a review priority (Pending, Needs Further Review, Approved, Rejected) rather than relying on their numeric order, and takes a secondary sort on submission id so rows with equal status keep a stable order across pages.

Ref ENGAGE-235

Save & Review Next always jumped to the next Pending comment, so staff
reviewing Needs Further Review had to Save & Close and re-apply the status
filter to reach each subsequent one.

The button now resolves the next comment from the queue the reviewer entered,
falling through to the other queue once theirs is empty and disappearing when
both are. Needs Further Review is ordered by review_date, so a comment
re-marked as Needs Further Review goes to the back of its own queue. The
button is hidden for already approved or rejected comments.

Comment listing status sort now maps status ids onto a review priority
(Pending, Needs Further Review, Approved, Rejected) rather than relying on
their numeric order, and takes a secondary sort on submission id so rows with
equal status keep a stable order across pages.

Ref ENGAGE-235
@Ckoelewyn
Ckoelewyn merged commit 223a9f6 into bcgov:main Jul 27, 2026
11 checks passed
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.

2 participants