diff --git a/src/composables/useSubmission.js b/src/composables/useSubmission.js index 5c4ad9d3f..404c45c51 100644 --- a/src/composables/useSubmission.js +++ b/src/composables/useSubmission.js @@ -66,12 +66,13 @@ const InProgressReviewAssignmentStatuses = [ pkp.const.REVIEW_ASSIGNMENT_STATUS_ACCEPTED, pkp.const.REVIEW_ASSIGNMENT_STATUS_REVIEW_OVERDUE, ]; -const CompletedReviewAssignmentStatuses = [ + +// Submitted reviews +export const CompletedReviewAssignmentStatuses = [ pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED, pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE, pkp.const.REVIEW_ASSIGNMENT_STATUS_THANKED, - pkp.const.REVIEW_ASSIGNMENT_STATUS_CANCELLED, - pkp.const.REVIEW_ASSIGNMENT_STATUS_REQUEST_RESEND, + pkp.const.REVIEW_ASSIGNMENT_STATUS_VIEWED, ]; const IgnoredReviewAssignmentStatuses = [ diff --git a/src/pages/dashboard/DashboardPage.stories.js b/src/pages/dashboard/DashboardPage.stories.js index f323e18a5..343848ed1 100644 --- a/src/pages/dashboard/DashboardPage.stories.js +++ b/src/pages/dashboard/DashboardPage.stories.js @@ -243,8 +243,11 @@ export const ReviewAssignmentStatusesReviewer = {
  • 8.REVIEW_ASSIGNMENT_STATUS_THANKED - reviewer has been thanked
  • 9.REVIEW_ASSIGNMENT_STATUS_REQUEST_RESEND - request resent to reviewer after they declined
  • 10.REVIEW_ASSIGNMENT_STATUS_VIEWED -editor viewed the review, but not confirm
  • -
  • 11.REVIEW_ASSIGNMENT_STATUS_CANCELLED - reviewer cancelled review request // should not be displayed
  • - +
  • 11.REVIEW_ASSIGNMENT_STATUS_ACCEPTED + copy/prod stage - submission moved to the copyediting/production stage, considered as incomplete
  • +
  • 12.REVIEW_ASSIGNMENT_STATUS_DECLINED + copy/prod stage - submission moved to the copyediting/production stage, still indicate declined
  • +
  • 13.REVIEW_ASSIGNMENT_STATUS_CANCELLED - reviewer cancelled review request / should not be displayed
  • + + `, }), diff --git a/src/pages/dashboard/components/DashboardTable/DashboardCellReviewAssignmentActions.vue b/src/pages/dashboard/components/DashboardTable/DashboardCellReviewAssignmentActions.vue index f9eb80999..6f4e02ff9 100644 --- a/src/pages/dashboard/components/DashboardTable/DashboardCellReviewAssignmentActions.vue +++ b/src/pages/dashboard/components/DashboardTable/DashboardCellReviewAssignmentActions.vue @@ -1,6 +1,7 @@