From 1a370510f0d57ba52752fc8320ce7f72c8630dd2 Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Wed, 4 Dec 2024 02:17:43 +0600 Subject: [PATCH] pkp/pkp-lib#1660 updated activate/deactivate process --- public/globals.js | 8 +- .../ReviewerRecommendationsListPanel.vue | 185 ++++++++++++++++-- src/composables/useSubmission.js | 21 -- .../useReviewerManagerConfig.js | 14 +- 4 files changed, 172 insertions(+), 56 deletions(-) diff --git a/public/globals.js b/public/globals.js index ce457ba21..96fc298a0 100644 --- a/public/globals.js +++ b/public/globals.js @@ -67,13 +67,6 @@ window.pkp = { SUBMISSION_REVIEW_METHOD_DOUBLEANONYMOUS: 2, SUBMISSION_REVIEW_METHOD_OPEN: 3, - // SUBMISSION_REVIEWER_RECOMMENDATION_ACCEPT: 1, - // SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS: 2, - // SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_HERE: 3, - // SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_ELSEWHERE: 4, - // SUBMISSION_REVIEWER_RECOMMENDATION_DECLINE: 5, - // SUBMISSION_REVIEWER_RECOMMENDATION_SEE_COMMENTS: 6, - ROLE_ID_MANAGER: 16, ROLE_ID_SITE_ADMIN: 1, ROLE_ID_AUTHOR: 65536, @@ -747,6 +740,7 @@ window.pkp = { "Invitation not accepted. You're logged in as a different user.", 'acceptInvitation.authorization.message': 'Please log out and sign in with the correct account to accept this invitation.', + 'reviewer.recommendation.management.options': 'Recommendation management options', }, tinyMCE: { diff --git a/src/components/ListPanel/reviewerRecommendations/ReviewerRecommendationsListPanel.vue b/src/components/ListPanel/reviewerRecommendations/ReviewerRecommendationsListPanel.vue index ca242cf6d..e70cd470a 100644 --- a/src/components/ListPanel/reviewerRecommendations/ReviewerRecommendationsListPanel.vue +++ b/src/components/ListPanel/reviewerRecommendations/ReviewerRecommendationsListPanel.vue @@ -13,24 +13,37 @@ + + +