diff --git a/public/globals.js b/public/globals.js
index 53958a6b1..d91d90084 100644
--- a/public/globals.js
+++ b/public/globals.js
@@ -147,12 +147,6 @@ window.pkp = {
'acceptInvitation.verifyOrcid': 'Verify ORCID iD',
'admin.jobs.failed.action.redispatch': 'Try Again',
'admin.jobs.failed.action.redispatch.all': 'Requeue All Failed Jobs',
- 'dashboard.submissions.incomplete.bulkDelete.body':
- '##dashboard.submissions.incomplete.bulkDelete.body##',
- 'dashboard.submissions.incomplete.bulkDelete.column.description':
- '##dashboard.submissions.incomplete.bulkDelete.column.description##',
- 'dashboard.submissions.incomplete.bulkDelete.confirm':
- '##dashboard.submissions.incomplete.bulkDelete.confirm##',
'admin.version': 'Version',
'article.article': 'Article',
'article.metadata': 'Metadata',
@@ -190,7 +184,6 @@ window.pkp = {
'common.filtersClear': 'Clear Filters',
'common.findTemplate': 'Find Template',
'common.geographic': 'Geographic',
- 'common.id': 'ID',
'common.insert': 'Insert',
'common.insertContent': 'Insert Content',
'common.insertContentSearch': 'Find content to insert',
@@ -204,6 +197,7 @@ window.pkp = {
'common.noItemsFound': 'No items found.',
'common.none': 'None',
'common.numberedMore': '{$number} more',
+ 'common.numero': 'No',
'common.ok': 'OK',
'common.order': 'Order',
'common.orderDown': 'Decrease position of {$itemTitle}',
@@ -217,6 +211,7 @@ window.pkp = {
'common.payments': 'Payments',
'common.preview': 'Preview',
'common.publications': 'Articles',
+ 'common.refreshingData': 'Refreshing data',
'common.remove': 'Remove',
'common.removeItem': 'Remove {$item}',
'common.required': 'Required',
@@ -253,16 +248,11 @@ window.pkp = {
'contributor.listPanel.preview.format': 'Format',
'contributor.listPanel.preview.full': 'Full',
'contributor.listPanel.preview.publicationLists': 'Publication Lists',
- 'dashboard.acceptOrDeclineRequestDate':
- 'Please accept or decline this request {$date}',
+ 'dashboard.actions.finishReview': 'Finish review',
+ 'dashboard.actions.respondToRequest': 'Respond to request',
'dashboard.applyFilters': 'Apply Filters',
'dashboard.assignReviewers': 'Assign Reviewers',
- 'dashboard.completeReviewByDate': 'Please complete this review by {$date}.',
- 'dashboard.deadlineForCompletingReviewHasPassed':
- 'Deadline for completing this review has passed. Please complete the review at the earliest.',
- 'dashboard.deadlineForRespondingAcceptOrDecline':
- 'Deadline for responding to this request has passed. Please accept or decline this request at the earliest.',
- 'dashboard.declinedDuringStage': 'Declined during the {$stageName} stage',
+ 'dashboard.declinedDuringStage': 'Declined during the {$stageName} stage.',
'dashboard.newReviewRoundToBeCreated': 'New review round to be created',
'dashboard.recommendOnly.pendingRecommendations':
'Recommending Editors are tasked to advise the next steps for this submission',
@@ -270,16 +260,30 @@ window.pkp = {
'All editorial recommendations have been received, and a decision is required.',
'dashboard.recommendOnly.recommendationsReady':
'An editorial recommendation has been received',
+ 'dashboard.reviewAssignment.acceptOrDeclineRequestDate':
+ 'Please accept or decline this request by {$date}',
'dashboard.reviewAssignment.action.cancelReviewer': 'Cancel Reviewer',
'dashboard.reviewAssignment.action.editDueDate': 'Edit Due Date',
'dashboard.reviewAssignment.action.resendReviewRequest':
'Resend Review Request',
+ 'dashboard.reviewAssignment.action.sendReviewToOrcid':
+ 'Send Review To ORCID',
+ 'dashboard.reviewAssignment.action.sendReviewToOrcid.confirm':
+ "Send this review to the reviewer's ORCID?",
'dashboard.reviewAssignment.action.unassignReviewer': 'Unassign',
'dashboard.reviewAssignment.action.viewDetails': 'View details',
'dashboard.reviewAssignment.action.viewRecommendation':
'View recommendation',
'dashboard.reviewAssignment.action.viewUnreadRecommendation':
'View unread recommendation',
+ 'dashboard.reviewAssignment.completeReviewByDate':
+ 'Please complete this review by {$date}.',
+ 'dashboard.reviewAssignment.deadlineForCompletingReviewHasPassed':
+ 'Deadline for completing this review has passed. Please complete the review at the earliest.',
+ 'dashboard.reviewAssignment.deadlineForRespondingAcceptOrDecline':
+ 'Deadline for responding to this request has passed. Please accept or decline this request at the earliest.',
+ 'dashboard.reviewAssignment.declined': 'Request declined on {$date}',
+ 'dashboard.reviewAssignment.reviewSubmitted': 'Review submitted on {$date}',
'dashboard.reviewAssignment.statusAccepted.description':
'This reviewer has accepted the review request. Their review is due in {$days} days on {$date}.',
'dashboard.reviewAssignment.statusAccepted.title':
@@ -323,6 +327,14 @@ window.pkp = {
'dashboard.revisionRequestedFromAuthor': 'Revisions requested from author',
'dashboard.revisionsRequestedFromAuthorNextRound':
'Revisions requested from the author to be taken to a new review round',
+ 'dashboard.submissions.incomplete.bulkDelete.body':
+ 'Are you sure you want to delete the selected items? This action cannot be undone. Please confirm to proceed.',
+ 'dashboard.submissions.incomplete.bulkDelete.button':
+ 'Delete Incomplete Submissions',
+ 'dashboard.submissions.incomplete.bulkDelete.column.description':
+ 'Select incomplete submissions to be deleted.',
+ 'dashboard.submissions.incomplete.bulkDelete.confirm':
+ 'Confirm Delete of Incomplete Submissions',
'dashboard.submitRevisions': 'Submit revisions',
'doi.manager.versions.countStatement': 'There are {$count} versions.',
'doi.manager.versions.modalTitle': 'DOIs for all versions',
@@ -413,17 +425,18 @@ window.pkp = {
'fileManager.copyeditedFiles': 'Copyedited Files',
'fileManager.copyeditedFilesDescription':
'These are edited files that will be taken to the production stage',
- 'fileManager.deskReviewFilesDescription':
- '##fileManager.deskReviewFilesDescription##',
'fileManager.draftFilesDescription':
'These are files from the review stage which are to be copyedited',
- 'fileManager.filesForReview': 'Files for review',
+ 'fileManager.filesForReview': 'Files for Review',
+ 'fileManager.filesForReviewDescription':
+ 'These files will be sent to the reviewers to review',
'fileManager.productionReadyFilesDescription':
'These are the files that will be sent for publication',
+ 'fileManager.revisionsUploaded': 'Revisions Uploaded',
'fileManager.revisionsUploadedDescription':
'These files have been submitted by the author after revisions were requested',
'fileManager.submissionFilesDescription':
- 'These are the files that will be taken forward to the review stage in the workflow.',
+ 'Files uploaded at the time of submission',
'form.dataHasChanged':
'The data on this form has changed. Do you wish to continue without saving?',
'form.errorA11y': 'Go to {$fieldLabel}: {$errorMessage}',
@@ -583,7 +596,6 @@ window.pkp = {
'manager.statistics.counterR5Reports.usageNotPossible':
'There are no COUNTER R5 usage statistics available yet.',
'manager.workflow': 'Workflow',
- 'navigation.backTo': '\u27f5 Back to {$page}',
'navigation.dashboards': 'Dashboards',
'navigation.mySubmissions': 'My Submissions',
'navigation.reviewAssignments': 'Review Assignments',
@@ -714,8 +726,6 @@ window.pkp = {
'submission.citations': 'References',
'submission.contributors': 'List of Contributors',
'submission.copyediting': 'Copyediting',
- 'submission.dashboard.view.published': 'Published',
- 'submission.dashboard.view.scheduled': 'Scheduled for publication',
'submission.files': 'Files',
'submission.files.downloadAll': 'Download All Files',
'submission.finalDraft': 'Draft Files',
@@ -755,6 +765,10 @@ window.pkp = {
'submission.recommendation': 'Recommendation: {$recommendation}',
'submission.review': 'Review',
'submission.stage.externalReviewWithRound': 'Review (Round {$round})',
+ 'submission.stage.internalReviewWithRound':
+ '##submission.stage.internalReviewWithRound##',
+ 'submission.stage.published': 'Published',
+ 'submission.stage.scheduledForPublication': 'Scheduled For Publication',
'submission.stageParticipants.notify': 'Notify',
'submission.submit.newSubmissionSingle': 'New Submission',
'submission.submit.submissionFiles': 'Submission Files',
@@ -762,10 +776,12 @@ window.pkp = {
'submission.upload.percentComplete': 'Uploading {$percent}% complete',
'submission.upload.productionReady': 'Upload a Production Ready File',
'submission.upload.proof': 'Upload a File Ready for Publication',
+ 'submission.wizard.cancel.confirmation':
+ 'Are you sure you wish to cancel this submission? This will delete the submission and all associated data. This action cannot be undone.',
'submission.wizard.changeSubmission': 'Change Submission Settings',
+ 'submission.wizard.submissionCancel': 'Cancel submission',
'submissions.declined': 'Declined',
'submissions.incomplete': 'Incomplete',
- todo: '##todo##',
'user.affiliation': 'Affiliation',
'user.authorization.accessibleWorkflowStage':
"You don't currently have access to that stage of the workflow.",
@@ -817,21 +833,30 @@ window.pkp = {
'workflow.submissionNextReviewRoundInFutureStage':
'The submission advanced to the next review round, was accepted, and is currently in the {$stage} stage.',
'user.affiliations': 'Affiliations',
- 'user.affiliations.description': 'Enter the full name of the institution below, avoiding any acronyms. Select the name from the dropdown and click "Add" to include the affiliation in your profile. (e.g. "Simon Fraser University")',
+ 'user.affiliations.description':
+ 'Enter the full name of the institution below, avoiding any acronyms. Select the name from the dropdown and click "Add" to include the affiliation in your profile. (e.g. "Simon Fraser University")',
'user.affiliations.institution': 'Institution',
'user.affiliations.translation': 'More information',
'user.affiliations.translationEditActionLabel': 'Edit institution name',
'user.affiliations.translationDeleteActionLabel': 'Remove institution',
'user.affiliations.translationActionsAriaLabel': 'Click to edit or delete',
'user.affiliations.translationsAllAvailable': 'All translations available',
- 'user.affiliations.translationsSomeAvailable': '{$count} of {$total} languages completed',
- 'user.affiliations.typeTranslationNameInLanguageLabel': 'Type the institute name in {$language}',
- 'user.affiliations.translationNameInLanguage': 'Institute name in {$language}',
+ 'user.affiliations.translationsSomeAvailable':
+ '{$count} of {$total} languages completed',
+ 'user.affiliations.typeTranslationNameInLanguageLabel':
+ 'Type the institute name in {$language}',
+ 'user.affiliations.translationNameInLanguage':
+ 'Institute name in {$language}',
'user.affiliations.deleteModal.title': 'Are you sure?',
- 'user.affiliations.deleteModal.message': 'The affiliation {$affiliation} will be deleted.',
- 'user.affiliations.searchPhraseLabel': 'Type the institute name in {$language}',
- 'user.affiliations.searchPhraseNothingFound': 'Your search phrase could not be found',
- 'user.affiliations.primaryLocaleRequired': 'The primary language {$primaryLocale} is required',
+ 'user.affiliations.deleteModal.message':
+ 'The affiliation {$affiliation} will be deleted.',
+ 'user.affiliations.searchPhraseLabel':
+ 'Type the institute name in {$language}',
+ 'user.affiliations.searchPhraseNothingFound':
+ 'Your search phrase could not be found',
+ 'user.affiliations.primaryLocaleRequired':
+ 'The primary language {$primaryLocale} is required',
+ 'workflow.uploadRevisions': 'Upload revisions',
},
tinyMCE: {
skinUrl: '/styles/tinymce',
diff --git a/src/pages/dashboard/DashboardPage.stories.js b/src/pages/dashboard/DashboardPage.stories.js
index 203b61780..b29f5122d 100644
--- a/src/pages/dashboard/DashboardPage.stories.js
+++ b/src/pages/dashboard/DashboardPage.stories.js
@@ -1,9 +1,12 @@
import DashboardPage from './DashboardPage.vue';
import {http, HttpResponse} from 'msw';
import SubmissionsMock25 from './mocks/submissions25.js';
-import PageInitConfigMock from './mocks/pageInitConfig.js';
+import PageInitConfigEditorialMock from './mocks/pageInitConfigEditorial.js';
+import PageInitConfigReviewAssignmentsMock from './mocks/pageInitConfigReviewAssignments';
+import PageInitConfigMySubmissionsMock from './mocks/pageInitConfigMySubmissions';
import {EditorialActivityScenario} from './mocks/submissionScenariosMock';
+import {ReviewAssignmentEditorialActivityScenario} from './mocks/reviewAssignmentScenariosMock';
export default {
title: 'Pages/Dashboard',
@@ -54,7 +57,7 @@ export const Init = {
],
},
},
- args: PageInitConfigMock,
+ args: PageInitConfigEditorialMock,
};
export const ReviewRoundStatusesEditor = {
@@ -78,7 +81,7 @@ export const ReviewRoundStatusesEditor = {
],
},
},
- args: PageInitConfigMock,
+ args: PageInitConfigEditorialMock,
};
export const ReviewRoundStatusesDecidingEditor = {
@@ -108,5 +111,84 @@ export const ReviewRoundStatusesDecidingEditor = {
],
},
},
- args: PageInitConfigMock,
+ args: PageInitConfigEditorialMock,
+};
+
+export const ReviewRoundStatusesAuthor = {
+ parameters: {
+ // mock date to consistently show sensible editorial activity popups
+ date: new Date('February 20, 2024 10:00:00'),
+ msw: {
+ handlers: [
+ http.get(
+ 'https://mock/index.php/publicknowledge/api/v1/_submissions/assigned',
+ ({request}) => {
+ const submissions = JSON.parse(
+ JSON.stringify(EditorialActivityScenario),
+ );
+
+ submissions.forEach((submission) => {
+ submission.stages[1].currentUserDecidingEditor = true;
+ });
+
+ return HttpResponse.json({
+ itemsMax: 1,
+ consts: pkp.const,
+ items: submissions,
+ });
+ },
+ ),
+ ],
+ },
+ },
+ args: {...PageInitConfigMySubmissionsMock},
+};
+
+export const ReviewAssignmentStatusesReviewer = {
+ render: (args) => ({
+ components: {DashboardPage},
+ setup() {
+ return {args};
+ },
+ template: `
+
+ - 1.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE - request has been sent but reviewer has not responded
+ - 2.REVIEW_ASSIGNMENT_STATUS_DECLINED - reviewer declined review request
+ - 3.REVIEW_ASSIGNMENT_STATUS_RESPONSE_OVERDUE - review not responded within due date
+ - 4.REVIEW_ASSIGNMENT_STATUS_ACCEPTED - reviewer has agreed to the review
+ - 5.REVIEW_ASSIGNMENT_STATUS_REVIEW_OVERDUE - review not submitted within due date
+ - 6.REVIEW_ASSIGNMENT_STATUS_RECEIVED - review has been submitted
+ - 7.REVIEW_ASSIGNMENT_STATUS_COMPLETE - review has been confirmed by an editor
+ - 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
+
+
+ `,
+ }),
+
+ parameters: {
+ // mock date to consistently show sensible editorial activity popups
+ date: new Date('February 20, 2024 10:00:00'),
+ msw: {
+ handlers: [
+ http.get(
+ 'https://mock/index.php/publicknowledge/api/v1/_submissions/reviewerAssignments',
+ ({request}) => {
+ const submissions = JSON.parse(
+ JSON.stringify(ReviewAssignmentEditorialActivityScenario),
+ );
+
+ return HttpResponse.json({
+ itemsMax: submissions.length,
+ consts: pkp.const,
+ items: submissions,
+ });
+ },
+ ),
+ ],
+ },
+ },
+ args: {...PageInitConfigReviewAssignmentsMock},
};
diff --git a/src/pages/dashboard/components/DashboardTable/CellReviewAssignmentActions.vue b/src/pages/dashboard/components/DashboardTable/CellReviewAssignmentActions.vue
index 71d96cb96..f9eb80999 100644
--- a/src/pages/dashboard/components/DashboardTable/CellReviewAssignmentActions.vue
+++ b/src/pages/dashboard/components/DashboardTable/CellReviewAssignmentActions.vue
@@ -19,23 +19,25 @@ import {defineProps, computed} from 'vue';
import PkpButton from '@/components/Button/Button.vue';
import TableCell from '@/components/Table/TableCell.vue';
import {useDashboardPageStore} from '@/pages/dashboard/dashboardPageStore.js';
+import {useLocalize} from '@/composables/useLocalize';
+
+const {t} = useLocalize();
const props = defineProps({
item: {type: Object, required: true},
});
-// TODO refine that further once more example is provided
-// Plus localisation once the labels are settleed
const actionLabel = computed(() => {
switch (props.item.status) {
case pkp.const.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE:
case pkp.const.REVIEW_ASSIGNMENT_STATUS_RESPONSE_OVERDUE:
- return 'Respond to request';
+ case pkp.const.REVIEW_ASSIGNMENT_STATUS_REQUEST_RESEND:
+ return t('dashboard.actions.respondToRequest');
case pkp.const.REVIEW_ASSIGNMENT_STATUS_ACCEPTED:
case pkp.const.REVIEW_ASSIGNMENT_STATUS_REVIEW_OVERDUE:
- return 'Finish review';
+ return t('dashboard.actions.finishReview');
default:
- return 'View';
+ return t('common.view');
}
});
diff --git a/src/pages/dashboard/composables/useEditorialLogic.js b/src/pages/dashboard/composables/useEditorialLogic.js
index 9409410b3..6859d07b0 100644
--- a/src/pages/dashboard/composables/useEditorialLogic.js
+++ b/src/pages/dashboard/composables/useEditorialLogic.js
@@ -270,29 +270,35 @@ export function useEditorialLogic() {
function getEditorialActivityForMyReviewAssignments(reviewAssignment) {
if (
- reviewAssignment.status ===
- pkp.const.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE
+ [
+ pkp.const.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE,
+ pkp.const.REVIEW_ASSIGNMENT_STATUS_REQUEST_RESEND,
+ ].includes(reviewAssignment.status)
) {
const date = reviewAssignment.dateResponseDue;
return [
{
component: 'CellReviewAssignmentActivityAlert',
props: {
- alert: t('dashboard.acceptOrDeclineRequestDate', {
+ alert: t('dashboard.reviewAssignment.acceptOrDeclineRequestDate', {
date: formatShortDate(date),
}),
},
},
];
- // Declined missing text
} else if (
reviewAssignment.status === pkp.const.REVIEW_ASSIGNMENT_STATUS_DECLINED
) {
+ // indeed when declined, the dateConfirmed gets set regardless if its accepted or declined
+ const date = reviewAssignment.dateConfirmed;
+
return [
{
component: 'CellReviewAssignmentActivityAlert',
props: {
- alert: `Missing text`,
+ alert: t('dashboard.reviewAssignment.declined', {
+ date: formatShortDate(date),
+ }),
},
},
];
@@ -304,7 +310,9 @@ export function useEditorialLogic() {
{
component: 'CellReviewAssignmentActivityAlert',
props: {
- alert: t('dashboard.deadlineForRespondingAcceptOrDecline'),
+ alert: t(
+ 'dashboard.reviewAssignment.deadlineForRespondingAcceptOrDecline',
+ ),
},
},
];
@@ -317,7 +325,7 @@ export function useEditorialLogic() {
{
component: 'CellReviewAssignmentActivityAlert',
props: {
- alert: t('dashboard.completeReviewByDate', {date}),
+ alert: t('dashboard.reviewAssignment.completeReviewByDate', {date}),
},
},
];
@@ -329,7 +337,9 @@ export function useEditorialLogic() {
{
component: 'CellReviewAssignmentActivityAlert',
props: {
- alert: t('dashboard.deadlineForCompletingReviewHasPassed'),
+ alert: t(
+ 'dashboard.reviewAssignment.deadlineForCompletingReviewHasPassed',
+ ),
},
},
];
@@ -339,9 +349,23 @@ export function useEditorialLogic() {
pkp.const.REVIEW_ASSIGNMENT_STATUS_VIEWED,
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,
].includes(reviewAssignment.statusId)
+ ) {
+ const date = reviewAssignment.dateCompleted;
+
+ return [
+ {
+ component: 'CellReviewAssignmentActivityAlert',
+ props: {
+ alert: t('dashboard.reviewAssignment.reviewSubmitted', {
+ date: formatShortDate(date),
+ }),
+ },
+ },
+ ];
+ } else if (
+ // Cancelled review assignments should be filtered out, this should not appear, just for documentation
+ reviewAssignment.status === pkp.const.REVIEW_ASSIGNMENT_STATUS_CANCELLED
) {
return [
{
@@ -354,14 +378,6 @@ export function useEditorialLogic() {
}
return [];
- /**
-
-
-
- Deadline for completing this review has passed. Please complete the review at the earliest.
-
- Review in progress. Deadline is 2023.04.15 - shown when the reviewer has started filling the form but the form is incomplete
- */
}
return {
diff --git a/src/pages/dashboard/mocks/pageInitConfig.js b/src/pages/dashboard/mocks/pageInitConfigEditorial.js
similarity index 100%
rename from src/pages/dashboard/mocks/pageInitConfig.js
rename to src/pages/dashboard/mocks/pageInitConfigEditorial.js
diff --git a/src/pages/dashboard/mocks/pageInitConfigMySubmissions.js b/src/pages/dashboard/mocks/pageInitConfigMySubmissions.js
new file mode 100644
index 000000000..0bf51fcfa
--- /dev/null
+++ b/src/pages/dashboard/mocks/pageInitConfigMySubmissions.js
@@ -0,0 +1,1558 @@
+export default {
+ selectRevisionDecisionForm: {
+ id: 'selectRevisionDecision',
+ method: '',
+ action: 'emit',
+ fields: [
+ {
+ name: 'decision',
+ component: 'field-options',
+ label: 'Require New Review Round',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 4,
+ type: 'radio',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 4,
+ label:
+ 'Revisions will not be subject to a new round of peer reviews.',
+ },
+ {
+ value: 5,
+ label: 'Revisions will be subject to a new round of peer reviews.',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Next',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ selectRevisionRecommendationForm: {
+ id: 'selectRevisionRecommendation',
+ method: '',
+ action: 'emit',
+ fields: [
+ {
+ name: 'decision',
+ component: 'field-options',
+ label: 'Require New Review Round',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 10,
+ type: 'radio',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 10,
+ label:
+ 'Revisions should not be subject to a new round of peer reviews.',
+ },
+ {
+ value: 11,
+ label:
+ 'Revisions should be subject to a new round of peer reviews.',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Next',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ dashboardPage: 'mySubmissions',
+ countPerPage: 30,
+ filtersForm: {
+ id: 'submissionFilters',
+ method: '',
+ action: 'emit',
+ fields: [
+ {
+ name: 'sectionIds',
+ component: 'field-options',
+ label: 'Section',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: [],
+ type: 'checkbox',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 1,
+ label: 'Articles',
+ },
+ {
+ value: 2,
+ label: 'Reviews',
+ },
+ ],
+ },
+ {
+ name: 'issueIds',
+ component: 'field-select-issues',
+ label: 'Issues',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: [],
+ apiUrl: 'http://localhost:7003/index.php/publicknowledge/api/v1/issues',
+ deselectLabel: 'Remove {$item}',
+ getParams: {},
+ selectedLabel: 'Selected:',
+ selected: [],
+ },
+ {
+ name: 'categoryIds',
+ component: 'field-options',
+ label: 'Categories',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: [],
+ type: 'checkbox',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 1,
+ label: 'Applied Science',
+ },
+ {
+ value: 2,
+ label: 'Applied Science > Computer Science',
+ },
+ {
+ value: 3,
+ label: 'Applied Science > Engineering',
+ },
+ {
+ value: 4,
+ label: 'Social Sciences',
+ },
+ {
+ value: 5,
+ label: 'Social Sciences > Sociology',
+ },
+ {
+ value: 6,
+ label: 'Social Sciences > Anthropology',
+ },
+ ],
+ },
+ {
+ name: 'daysInactive',
+ component: 'field-slider',
+ label: 'Days since last activity',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 0,
+ min: 0,
+ max: 180,
+ step: 1,
+ minLabel: null,
+ maxLabel: null,
+ valueLabel: null,
+ valueLabelMin: null,
+ valueLabelMax: null,
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: null,
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ views: [
+ {
+ id: 'active',
+ name: 'Active submissions',
+ count: 0,
+ op: 'assigned',
+ queryParams: {
+ status: [1],
+ },
+ },
+ {
+ id: 'scheduled',
+ name: 'Scheduled for publication',
+ count: 0,
+ op: 'assigned',
+ queryParams: {
+ status: [5],
+ },
+ },
+ {
+ id: 'published',
+ name: 'Published',
+ count: 0,
+ op: 'assigned',
+ queryParams: {
+ status: [3],
+ },
+ },
+ {
+ id: 'declined',
+ name: 'Declined',
+ count: 0,
+ op: 'assigned',
+ queryParams: {
+ status: [4],
+ },
+ },
+ {
+ id: 'revisions-requested',
+ name: 'Revisions requested',
+ count: 0,
+ op: 'reviews',
+ queryParams: {
+ revisionsRequested: true,
+ },
+ },
+ {
+ id: 'revisions-submitted',
+ name: 'Revisions submitted',
+ count: 0,
+ op: 'reviews',
+ queryParams: {
+ revisionsSubmitted: true,
+ },
+ },
+ {
+ id: 'incomplete-submissions',
+ name: 'Incomplete submissions',
+ count: 0,
+ op: 'assigned',
+ queryParams: {
+ isIncomplete: true,
+ },
+ },
+ ],
+ columns: [
+ {
+ id: 'id',
+ header: 'ID',
+ componentName: 'CellSubmissionId',
+ sortable: true,
+ },
+ {
+ id: 'title',
+ header: 'Submissions',
+ componentName: 'CellSubmissionTitle',
+ sortable: false,
+ },
+ {
+ id: 'stage',
+ header: 'Stage',
+ componentName: 'CellSubmissionStage',
+ sortable: false,
+ },
+ {
+ id: 'activity',
+ header: 'Editorial Activity',
+ componentName: 'CellSubmissionActivity',
+ sortable: false,
+ },
+ {
+ id: 'actions',
+ header: 'Actions',
+ componentName: 'CellSubmissionActions',
+ sortable: false,
+ },
+ ],
+ publicationSettings: {
+ supportsCitations: true,
+ identifiersEnabled: true,
+ submissionPaymentsEnabled: true,
+ },
+ componentForms: {
+ contributorForm: {
+ id: 'contributor',
+ method: 'POST',
+ action: 'emit',
+ fields: [
+ {
+ name: 'givenName',
+ component: 'field-text',
+ label: 'Given Name',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'familyName',
+ component: 'field-text',
+ label: 'Family Name',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'preferredPublicName',
+ component: 'field-text',
+ label: 'Preferred Public Name',
+ description:
+ 'Please provide the full name as the author should be identified on the published work. Example: Dr. Alan P. Mwandenga',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'email',
+ component: 'field-text',
+ label: 'Email',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: false,
+ isInert: false,
+ value: null,
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'country',
+ component: 'field-select',
+ label: 'Country',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: false,
+ isInert: false,
+ value: null,
+ options: [
+ {
+ value: 'AF',
+ label: 'Afghanistan',
+ },
+ {
+ value: 'AL',
+ label: 'Albania',
+ },
+ {
+ value: 'DZ',
+ label: 'Algeria',
+ },
+ {
+ value: 'AS',
+ label: 'American Samoa',
+ },
+ {
+ value: 'AD',
+ label: 'Andorra',
+ },
+ {
+ value: 'AO',
+ label: 'Angola',
+ },
+ {
+ value: 'AI',
+ label: 'Anguilla',
+ },
+ {
+ value: 'AQ',
+ label: 'Antarctica',
+ },
+ {
+ value: 'AG',
+ label: 'Antigua and Barbuda',
+ },
+ {
+ value: 'AR',
+ label: 'Argentina',
+ },
+ {
+ value: 'AM',
+ label: 'Armenia',
+ },
+ {
+ value: 'AW',
+ label: 'Aruba',
+ },
+ {
+ value: 'AU',
+ label: 'Australia',
+ },
+ {
+ value: 'AT',
+ label: 'Austria',
+ },
+ {
+ value: 'AZ',
+ label: 'Azerbaijan',
+ },
+ {
+ value: 'BS',
+ label: 'Bahamas',
+ },
+ {
+ value: 'BH',
+ label: 'Bahrain',
+ },
+ {
+ value: 'BD',
+ label: 'Bangladesh',
+ },
+ {
+ value: 'BB',
+ label: 'Barbados',
+ },
+ {
+ value: 'BY',
+ label: 'Belarus',
+ },
+ {
+ value: 'BE',
+ label: 'Belgium',
+ },
+ {
+ value: 'BZ',
+ label: 'Belize',
+ },
+ {
+ value: 'BJ',
+ label: 'Benin',
+ },
+ {
+ value: 'BM',
+ label: 'Bermuda',
+ },
+ {
+ value: 'BT',
+ label: 'Bhutan',
+ },
+ {
+ value: 'BO',
+ label: 'Bolivia, Plurinational State of',
+ },
+ {
+ value: 'BQ',
+ label: 'Bonaire, Sint Eustatius and Saba',
+ },
+ {
+ value: 'BA',
+ label: 'Bosnia and Herzegovina',
+ },
+ {
+ value: 'BW',
+ label: 'Botswana',
+ },
+ {
+ value: 'BV',
+ label: 'Bouvet Island',
+ },
+ {
+ value: 'BR',
+ label: 'Brazil',
+ },
+ {
+ value: 'IO',
+ label: 'British Indian Ocean Territory',
+ },
+ {
+ value: 'BN',
+ label: 'Brunei Darussalam',
+ },
+ {
+ value: 'BG',
+ label: 'Bulgaria',
+ },
+ {
+ value: 'BF',
+ label: 'Burkina Faso',
+ },
+ {
+ value: 'BI',
+ label: 'Burundi',
+ },
+ {
+ value: 'CV',
+ label: 'Cabo Verde',
+ },
+ {
+ value: 'KH',
+ label: 'Cambodia',
+ },
+ {
+ value: 'CM',
+ label: 'Cameroon',
+ },
+ {
+ value: 'CA',
+ label: 'Canada',
+ },
+ {
+ value: 'KY',
+ label: 'Cayman Islands',
+ },
+ {
+ value: 'CF',
+ label: 'Central African Republic',
+ },
+ {
+ value: 'TD',
+ label: 'Chad',
+ },
+ {
+ value: 'CL',
+ label: 'Chile',
+ },
+ {
+ value: 'CN',
+ label: 'China',
+ },
+ {
+ value: 'CX',
+ label: 'Christmas Island',
+ },
+ {
+ value: 'CC',
+ label: 'Cocos (Keeling) Islands',
+ },
+ {
+ value: 'CO',
+ label: 'Colombia',
+ },
+ {
+ value: 'KM',
+ label: 'Comoros',
+ },
+ {
+ value: 'CG',
+ label: 'Congo',
+ },
+ {
+ value: 'CD',
+ label: 'Congo, The Democratic Republic of the',
+ },
+ {
+ value: 'CK',
+ label: 'Cook Islands',
+ },
+ {
+ value: 'CR',
+ label: 'Costa Rica',
+ },
+ {
+ value: 'HR',
+ label: 'Croatia',
+ },
+ {
+ value: 'CU',
+ label: 'Cuba',
+ },
+ {
+ value: 'CW',
+ label: 'Cura\u00e7ao',
+ },
+ {
+ value: 'CY',
+ label: 'Cyprus',
+ },
+ {
+ value: 'CZ',
+ label: 'Czechia',
+ },
+ {
+ value: 'CI',
+ label: "C\u00f4te d'Ivoire",
+ },
+ {
+ value: 'DK',
+ label: 'Denmark',
+ },
+ {
+ value: 'DJ',
+ label: 'Djibouti',
+ },
+ {
+ value: 'DM',
+ label: 'Dominica',
+ },
+ {
+ value: 'DO',
+ label: 'Dominican Republic',
+ },
+ {
+ value: 'EC',
+ label: 'Ecuador',
+ },
+ {
+ value: 'EG',
+ label: 'Egypt',
+ },
+ {
+ value: 'SV',
+ label: 'El Salvador',
+ },
+ {
+ value: 'GQ',
+ label: 'Equatorial Guinea',
+ },
+ {
+ value: 'ER',
+ label: 'Eritrea',
+ },
+ {
+ value: 'EE',
+ label: 'Estonia',
+ },
+ {
+ value: 'SZ',
+ label: 'Eswatini',
+ },
+ {
+ value: 'ET',
+ label: 'Ethiopia',
+ },
+ {
+ value: 'FK',
+ label: 'Falkland Islands (Malvinas)',
+ },
+ {
+ value: 'FO',
+ label: 'Faroe Islands',
+ },
+ {
+ value: 'FJ',
+ label: 'Fiji',
+ },
+ {
+ value: 'FI',
+ label: 'Finland',
+ },
+ {
+ value: 'FR',
+ label: 'France',
+ },
+ {
+ value: 'GF',
+ label: 'French Guiana',
+ },
+ {
+ value: 'PF',
+ label: 'French Polynesia',
+ },
+ {
+ value: 'TF',
+ label: 'French Southern Territories',
+ },
+ {
+ value: 'GA',
+ label: 'Gabon',
+ },
+ {
+ value: 'GM',
+ label: 'Gambia',
+ },
+ {
+ value: 'GE',
+ label: 'Georgia',
+ },
+ {
+ value: 'DE',
+ label: 'Germany',
+ },
+ {
+ value: 'GH',
+ label: 'Ghana',
+ },
+ {
+ value: 'GI',
+ label: 'Gibraltar',
+ },
+ {
+ value: 'GR',
+ label: 'Greece',
+ },
+ {
+ value: 'GL',
+ label: 'Greenland',
+ },
+ {
+ value: 'GD',
+ label: 'Grenada',
+ },
+ {
+ value: 'GP',
+ label: 'Guadeloupe',
+ },
+ {
+ value: 'GU',
+ label: 'Guam',
+ },
+ {
+ value: 'GT',
+ label: 'Guatemala',
+ },
+ {
+ value: 'GG',
+ label: 'Guernsey',
+ },
+ {
+ value: 'GN',
+ label: 'Guinea',
+ },
+ {
+ value: 'GW',
+ label: 'Guinea-Bissau',
+ },
+ {
+ value: 'GY',
+ label: 'Guyana',
+ },
+ {
+ value: 'HT',
+ label: 'Haiti',
+ },
+ {
+ value: 'HM',
+ label: 'Heard Island and McDonald Islands',
+ },
+ {
+ value: 'VA',
+ label: 'Holy See (Vatican City State)',
+ },
+ {
+ value: 'HN',
+ label: 'Honduras',
+ },
+ {
+ value: 'HK',
+ label: 'Hong Kong',
+ },
+ {
+ value: 'HU',
+ label: 'Hungary',
+ },
+ {
+ value: 'IS',
+ label: 'Iceland',
+ },
+ {
+ value: 'IN',
+ label: 'India',
+ },
+ {
+ value: 'ID',
+ label: 'Indonesia',
+ },
+ {
+ value: 'IR',
+ label: 'Iran, Islamic Republic of',
+ },
+ {
+ value: 'IQ',
+ label: 'Iraq',
+ },
+ {
+ value: 'IE',
+ label: 'Ireland',
+ },
+ {
+ value: 'IM',
+ label: 'Isle of Man',
+ },
+ {
+ value: 'IL',
+ label: 'Israel',
+ },
+ {
+ value: 'IT',
+ label: 'Italy',
+ },
+ {
+ value: 'JM',
+ label: 'Jamaica',
+ },
+ {
+ value: 'JP',
+ label: 'Japan',
+ },
+ {
+ value: 'JE',
+ label: 'Jersey',
+ },
+ {
+ value: 'JO',
+ label: 'Jordan',
+ },
+ {
+ value: 'KZ',
+ label: 'Kazakhstan',
+ },
+ {
+ value: 'KE',
+ label: 'Kenya',
+ },
+ {
+ value: 'KI',
+ label: 'Kiribati',
+ },
+ {
+ value: 'KP',
+ label: "Korea, Democratic People's Republic of",
+ },
+ {
+ value: 'KR',
+ label: 'Korea, Republic of',
+ },
+ {
+ value: 'KW',
+ label: 'Kuwait',
+ },
+ {
+ value: 'KG',
+ label: 'Kyrgyzstan',
+ },
+ {
+ value: 'LA',
+ label: "Lao People's Democratic Republic",
+ },
+ {
+ value: 'LV',
+ label: 'Latvia',
+ },
+ {
+ value: 'LB',
+ label: 'Lebanon',
+ },
+ {
+ value: 'LS',
+ label: 'Lesotho',
+ },
+ {
+ value: 'LR',
+ label: 'Liberia',
+ },
+ {
+ value: 'LY',
+ label: 'Libya',
+ },
+ {
+ value: 'LI',
+ label: 'Liechtenstein',
+ },
+ {
+ value: 'LT',
+ label: 'Lithuania',
+ },
+ {
+ value: 'LU',
+ label: 'Luxembourg',
+ },
+ {
+ value: 'MO',
+ label: 'Macao',
+ },
+ {
+ value: 'MG',
+ label: 'Madagascar',
+ },
+ {
+ value: 'MW',
+ label: 'Malawi',
+ },
+ {
+ value: 'MY',
+ label: 'Malaysia',
+ },
+ {
+ value: 'MV',
+ label: 'Maldives',
+ },
+ {
+ value: 'ML',
+ label: 'Mali',
+ },
+ {
+ value: 'MT',
+ label: 'Malta',
+ },
+ {
+ value: 'MH',
+ label: 'Marshall Islands',
+ },
+ {
+ value: 'MQ',
+ label: 'Martinique',
+ },
+ {
+ value: 'MR',
+ label: 'Mauritania',
+ },
+ {
+ value: 'MU',
+ label: 'Mauritius',
+ },
+ {
+ value: 'YT',
+ label: 'Mayotte',
+ },
+ {
+ value: 'MX',
+ label: 'Mexico',
+ },
+ {
+ value: 'FM',
+ label: 'Micronesia, Federated States of',
+ },
+ {
+ value: 'MD',
+ label: 'Moldova, Republic of',
+ },
+ {
+ value: 'MC',
+ label: 'Monaco',
+ },
+ {
+ value: 'MN',
+ label: 'Mongolia',
+ },
+ {
+ value: 'ME',
+ label: 'Montenegro',
+ },
+ {
+ value: 'MS',
+ label: 'Montserrat',
+ },
+ {
+ value: 'MA',
+ label: 'Morocco',
+ },
+ {
+ value: 'MZ',
+ label: 'Mozambique',
+ },
+ {
+ value: 'MM',
+ label: 'Myanmar',
+ },
+ {
+ value: 'NA',
+ label: 'Namibia',
+ },
+ {
+ value: 'NR',
+ label: 'Nauru',
+ },
+ {
+ value: 'NP',
+ label: 'Nepal',
+ },
+ {
+ value: 'NL',
+ label: 'Netherlands',
+ },
+ {
+ value: 'NC',
+ label: 'New Caledonia',
+ },
+ {
+ value: 'NZ',
+ label: 'New Zealand',
+ },
+ {
+ value: 'NI',
+ label: 'Nicaragua',
+ },
+ {
+ value: 'NE',
+ label: 'Niger',
+ },
+ {
+ value: 'NG',
+ label: 'Nigeria',
+ },
+ {
+ value: 'NU',
+ label: 'Niue',
+ },
+ {
+ value: 'NF',
+ label: 'Norfolk Island',
+ },
+ {
+ value: 'MK',
+ label: 'North Macedonia',
+ },
+ {
+ value: 'MP',
+ label: 'Northern Mariana Islands',
+ },
+ {
+ value: 'NO',
+ label: 'Norway',
+ },
+ {
+ value: 'OM',
+ label: 'Oman',
+ },
+ {
+ value: 'PK',
+ label: 'Pakistan',
+ },
+ {
+ value: 'PW',
+ label: 'Palau',
+ },
+ {
+ value: 'PS',
+ label: 'Palestine, State of',
+ },
+ {
+ value: 'PA',
+ label: 'Panama',
+ },
+ {
+ value: 'PG',
+ label: 'Papua New Guinea',
+ },
+ {
+ value: 'PY',
+ label: 'Paraguay',
+ },
+ {
+ value: 'PE',
+ label: 'Peru',
+ },
+ {
+ value: 'PH',
+ label: 'Philippines',
+ },
+ {
+ value: 'PN',
+ label: 'Pitcairn',
+ },
+ {
+ value: 'PL',
+ label: 'Poland',
+ },
+ {
+ value: 'PT',
+ label: 'Portugal',
+ },
+ {
+ value: 'PR',
+ label: 'Puerto Rico',
+ },
+ {
+ value: 'QA',
+ label: 'Qatar',
+ },
+ {
+ value: 'RO',
+ label: 'Romania',
+ },
+ {
+ value: 'RU',
+ label: 'Russian Federation',
+ },
+ {
+ value: 'RW',
+ label: 'Rwanda',
+ },
+ {
+ value: 'RE',
+ label: 'R\u00e9union',
+ },
+ {
+ value: 'BL',
+ label: 'Saint Barth\u00e9lemy',
+ },
+ {
+ value: 'SH',
+ label: 'Saint Helena, Ascension and Tristan da Cunha',
+ },
+ {
+ value: 'KN',
+ label: 'Saint Kitts and Nevis',
+ },
+ {
+ value: 'LC',
+ label: 'Saint Lucia',
+ },
+ {
+ value: 'MF',
+ label: 'Saint Martin (French part)',
+ },
+ {
+ value: 'PM',
+ label: 'Saint Pierre and Miquelon',
+ },
+ {
+ value: 'VC',
+ label: 'Saint Vincent and the Grenadines',
+ },
+ {
+ value: 'WS',
+ label: 'Samoa',
+ },
+ {
+ value: 'SM',
+ label: 'San Marino',
+ },
+ {
+ value: 'ST',
+ label: 'Sao Tome and Principe',
+ },
+ {
+ value: 'SA',
+ label: 'Saudi Arabia',
+ },
+ {
+ value: 'SN',
+ label: 'Senegal',
+ },
+ {
+ value: 'RS',
+ label: 'Serbia',
+ },
+ {
+ value: 'SC',
+ label: 'Seychelles',
+ },
+ {
+ value: 'SL',
+ label: 'Sierra Leone',
+ },
+ {
+ value: 'SG',
+ label: 'Singapore',
+ },
+ {
+ value: 'SX',
+ label: 'Sint Maarten (Dutch part)',
+ },
+ {
+ value: 'SK',
+ label: 'Slovakia',
+ },
+ {
+ value: 'SI',
+ label: 'Slovenia',
+ },
+ {
+ value: 'SB',
+ label: 'Solomon Islands',
+ },
+ {
+ value: 'SO',
+ label: 'Somalia',
+ },
+ {
+ value: 'ZA',
+ label: 'South Africa',
+ },
+ {
+ value: 'GS',
+ label: 'South Georgia and the South Sandwich Islands',
+ },
+ {
+ value: 'SS',
+ label: 'South Sudan',
+ },
+ {
+ value: 'ES',
+ label: 'Spain',
+ },
+ {
+ value: 'LK',
+ label: 'Sri Lanka',
+ },
+ {
+ value: 'SD',
+ label: 'Sudan',
+ },
+ {
+ value: 'SR',
+ label: 'Suriname',
+ },
+ {
+ value: 'SJ',
+ label: 'Svalbard and Jan Mayen',
+ },
+ {
+ value: 'SE',
+ label: 'Sweden',
+ },
+ {
+ value: 'CH',
+ label: 'Switzerland',
+ },
+ {
+ value: 'SY',
+ label: 'Syrian Arab Republic',
+ },
+ {
+ value: 'TW',
+ label: 'Taiwan, Province of China',
+ },
+ {
+ value: 'TJ',
+ label: 'Tajikistan',
+ },
+ {
+ value: 'TZ',
+ label: 'Tanzania, United Republic of',
+ },
+ {
+ value: 'TH',
+ label: 'Thailand',
+ },
+ {
+ value: 'TL',
+ label: 'Timor-Leste',
+ },
+ {
+ value: 'TG',
+ label: 'Togo',
+ },
+ {
+ value: 'TK',
+ label: 'Tokelau',
+ },
+ {
+ value: 'TO',
+ label: 'Tonga',
+ },
+ {
+ value: 'TT',
+ label: 'Trinidad and Tobago',
+ },
+ {
+ value: 'TN',
+ label: 'Tunisia',
+ },
+ {
+ value: 'TM',
+ label: 'Turkmenistan',
+ },
+ {
+ value: 'TC',
+ label: 'Turks and Caicos Islands',
+ },
+ {
+ value: 'TV',
+ label: 'Tuvalu',
+ },
+ {
+ value: 'TR',
+ label: 'T\u00fcrkiye',
+ },
+ {
+ value: 'UG',
+ label: 'Uganda',
+ },
+ {
+ value: 'UA',
+ label: 'Ukraine',
+ },
+ {
+ value: 'AE',
+ label: 'United Arab Emirates',
+ },
+ {
+ value: 'GB',
+ label: 'United Kingdom',
+ },
+ {
+ value: 'US',
+ label: 'United States',
+ },
+ {
+ value: 'UM',
+ label: 'United States Minor Outlying Islands',
+ },
+ {
+ value: 'UY',
+ label: 'Uruguay',
+ },
+ {
+ value: 'UZ',
+ label: 'Uzbekistan',
+ },
+ {
+ value: 'VU',
+ label: 'Vanuatu',
+ },
+ {
+ value: 'VE',
+ label: 'Venezuela, Bolivarian Republic of',
+ },
+ {
+ value: 'VN',
+ label: 'Viet Nam',
+ },
+ {
+ value: 'VG',
+ label: 'Virgin Islands, British',
+ },
+ {
+ value: 'VI',
+ label: 'Virgin Islands, U.S.',
+ },
+ {
+ value: 'WF',
+ label: 'Wallis and Futuna',
+ },
+ {
+ value: 'EH',
+ label: 'Western Sahara',
+ },
+ {
+ value: 'YE',
+ label: 'Yemen',
+ },
+ {
+ value: 'ZM',
+ label: 'Zambia',
+ },
+ {
+ value: 'ZW',
+ label: 'Zimbabwe',
+ },
+ {
+ value: 'AX',
+ label: '\u00c5land Islands',
+ },
+ ],
+ size: 'normal',
+ },
+ {
+ name: 'url',
+ component: 'field-text',
+ label: 'Homepage URL',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: null,
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'biography',
+ component: 'field-rich-textarea',
+ label: 'Bio Statement (e.g., department and rank)',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ plugins: ['link'],
+ toolbar: 'bold italic superscript subscript | link',
+ },
+ {
+ name: 'affiliation',
+ component: 'field-text',
+ label: 'Affiliation',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'large',
+ prefix: '',
+ },
+ {
+ name: 'userGroupId',
+ component: 'field-options',
+ label: "Contributor's role",
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 14,
+ type: 'radio',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 14,
+ label: 'Author',
+ },
+ {
+ value: 15,
+ label: 'Translator',
+ },
+ ],
+ },
+ {
+ name: 'includeInBrowse',
+ component: 'field-options',
+ label: 'Publication Lists',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: true,
+ type: 'checkbox',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: true,
+ label:
+ 'Include this contributor when identifying authors in lists of publications.',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Save',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ logResponseForm: {
+ id: 'logReviewerResponse',
+ method: 'PUT',
+ action: 'emit',
+ fields: [
+ {
+ name: 'decision',
+ component: 'field-radio-input',
+ label: 'Record the response on behalf of the reviewer',
+ description:
+ 'If the reviewer contacts you through email or any other means, you can record their response for them',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: false,
+ isInert: false,
+ value: '',
+ options: [
+ {
+ value: 'accept',
+ label: 'Reviewer has accepted the invitation to review',
+ },
+ {
+ value: 'decline',
+ label: 'Reviewer has declined the invitation to review',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Log Response',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: ['en', 'fr_CA'],
+ errors: {},
+ },
+ },
+};
diff --git a/src/pages/dashboard/mocks/pageInitConfigReviewAssignments.js b/src/pages/dashboard/mocks/pageInitConfigReviewAssignments.js
new file mode 100644
index 000000000..9f98cea2b
--- /dev/null
+++ b/src/pages/dashboard/mocks/pageInitConfigReviewAssignments.js
@@ -0,0 +1,1513 @@
+export default {
+ selectRevisionDecisionForm: {
+ id: 'selectRevisionDecision',
+ method: '',
+ action: 'emit',
+ fields: [
+ {
+ name: 'decision',
+ component: 'field-options',
+ label: 'Require New Review Round',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 4,
+ type: 'radio',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 4,
+ label:
+ 'Revisions will not be subject to a new round of peer reviews.',
+ },
+ {
+ value: 5,
+ label: 'Revisions will be subject to a new round of peer reviews.',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Next',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ selectRevisionRecommendationForm: {
+ id: 'selectRevisionRecommendation',
+ method: '',
+ action: 'emit',
+ fields: [
+ {
+ name: 'decision',
+ component: 'field-options',
+ label: 'Require New Review Round',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 10,
+ type: 'radio',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 10,
+ label:
+ 'Revisions should not be subject to a new round of peer reviews.',
+ },
+ {
+ value: 11,
+ label:
+ 'Revisions should be subject to a new round of peer reviews.',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Next',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ dashboardPage: 'myReviewAssignments',
+ countPerPage: 30,
+ filtersForm: {
+ id: 'submissionFilters',
+ method: '',
+ action: 'emit',
+ fields: [
+ {
+ name: 'sectionIds',
+ component: 'field-options',
+ label: 'Section',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: [],
+ type: 'checkbox',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 1,
+ label: 'Articles',
+ },
+ {
+ value: 2,
+ label: 'Reviews',
+ },
+ ],
+ },
+ {
+ name: 'issueIds',
+ component: 'field-select-issues',
+ label: 'Issues',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: [],
+ apiUrl: 'http://localhost:7003/index.php/publicknowledge/api/v1/issues',
+ deselectLabel: 'Remove {$item}',
+ getParams: {},
+ selectedLabel: 'Selected:',
+ selected: [],
+ },
+ {
+ name: 'categoryIds',
+ component: 'field-options',
+ label: 'Categories',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: [],
+ type: 'checkbox',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 1,
+ label: 'Applied Science',
+ },
+ {
+ value: 2,
+ label: 'Applied Science > Computer Science',
+ },
+ {
+ value: 3,
+ label: 'Applied Science > Engineering',
+ },
+ {
+ value: 4,
+ label: 'Social Sciences',
+ },
+ {
+ value: 5,
+ label: 'Social Sciences > Sociology',
+ },
+ {
+ value: 6,
+ label: 'Social Sciences > Anthropology',
+ },
+ ],
+ },
+ {
+ name: 'daysInactive',
+ component: 'field-slider',
+ label: 'Days since last activity',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 0,
+ min: 0,
+ max: 180,
+ step: 1,
+ minLabel: null,
+ maxLabel: null,
+ valueLabel: null,
+ valueLabelMin: null,
+ valueLabelMax: null,
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: null,
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ views: [
+ {
+ id: 'reviewer-assignments-all',
+ name: 'All assignments',
+ count: 0,
+ op: 'reviewerAssignments',
+ },
+ {
+ id: 'reviewer-assignments-pending',
+ name: 'Pending',
+ count: 0,
+ op: 'reviewerAssignments',
+ queryParams: {
+ pending: true,
+ },
+ },
+ {
+ id: 'reviewer-assignments-archived',
+ name: 'Completed / Declined',
+ count: 0,
+ op: 'reviewerAssignments',
+ queryParams: {
+ archived: true,
+ },
+ },
+ ],
+ columns: [
+ {
+ id: 'id',
+ header: 'ID',
+ componentName: 'CellReviewAssignmentId',
+ sortable: true,
+ },
+ {
+ id: 'title',
+ header: 'Submissions',
+ componentName: 'CellReviewAssignmentTitle',
+ sortable: false,
+ },
+ {
+ id: 'activity',
+ header: 'Editorial Activity',
+ componentName: 'CellReviewAssignmentActivity',
+ sortable: false,
+ },
+ {
+ id: 'actions',
+ header: 'Actions',
+ componentName: 'CellReviewAssignmentActions',
+ sortable: false,
+ },
+ ],
+ publicationSettings: {
+ supportsCitations: true,
+ identifiersEnabled: true,
+ submissionPaymentsEnabled: true,
+ },
+ componentForms: {
+ contributorForm: {
+ id: 'contributor',
+ method: 'POST',
+ action: 'emit',
+ fields: [
+ {
+ name: 'givenName',
+ component: 'field-text',
+ label: 'Given Name',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'familyName',
+ component: 'field-text',
+ label: 'Family Name',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'preferredPublicName',
+ component: 'field-text',
+ label: 'Preferred Public Name',
+ description:
+ 'Please provide the full name as the author should be identified on the published work. Example: Dr. Alan P. Mwandenga',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'email',
+ component: 'field-text',
+ label: 'Email',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: false,
+ isInert: false,
+ value: null,
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'country',
+ component: 'field-select',
+ label: 'Country',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: false,
+ isInert: false,
+ value: null,
+ options: [
+ {
+ value: 'AF',
+ label: 'Afghanistan',
+ },
+ {
+ value: 'AL',
+ label: 'Albania',
+ },
+ {
+ value: 'DZ',
+ label: 'Algeria',
+ },
+ {
+ value: 'AS',
+ label: 'American Samoa',
+ },
+ {
+ value: 'AD',
+ label: 'Andorra',
+ },
+ {
+ value: 'AO',
+ label: 'Angola',
+ },
+ {
+ value: 'AI',
+ label: 'Anguilla',
+ },
+ {
+ value: 'AQ',
+ label: 'Antarctica',
+ },
+ {
+ value: 'AG',
+ label: 'Antigua and Barbuda',
+ },
+ {
+ value: 'AR',
+ label: 'Argentina',
+ },
+ {
+ value: 'AM',
+ label: 'Armenia',
+ },
+ {
+ value: 'AW',
+ label: 'Aruba',
+ },
+ {
+ value: 'AU',
+ label: 'Australia',
+ },
+ {
+ value: 'AT',
+ label: 'Austria',
+ },
+ {
+ value: 'AZ',
+ label: 'Azerbaijan',
+ },
+ {
+ value: 'BS',
+ label: 'Bahamas',
+ },
+ {
+ value: 'BH',
+ label: 'Bahrain',
+ },
+ {
+ value: 'BD',
+ label: 'Bangladesh',
+ },
+ {
+ value: 'BB',
+ label: 'Barbados',
+ },
+ {
+ value: 'BY',
+ label: 'Belarus',
+ },
+ {
+ value: 'BE',
+ label: 'Belgium',
+ },
+ {
+ value: 'BZ',
+ label: 'Belize',
+ },
+ {
+ value: 'BJ',
+ label: 'Benin',
+ },
+ {
+ value: 'BM',
+ label: 'Bermuda',
+ },
+ {
+ value: 'BT',
+ label: 'Bhutan',
+ },
+ {
+ value: 'BO',
+ label: 'Bolivia, Plurinational State of',
+ },
+ {
+ value: 'BQ',
+ label: 'Bonaire, Sint Eustatius and Saba',
+ },
+ {
+ value: 'BA',
+ label: 'Bosnia and Herzegovina',
+ },
+ {
+ value: 'BW',
+ label: 'Botswana',
+ },
+ {
+ value: 'BV',
+ label: 'Bouvet Island',
+ },
+ {
+ value: 'BR',
+ label: 'Brazil',
+ },
+ {
+ value: 'IO',
+ label: 'British Indian Ocean Territory',
+ },
+ {
+ value: 'BN',
+ label: 'Brunei Darussalam',
+ },
+ {
+ value: 'BG',
+ label: 'Bulgaria',
+ },
+ {
+ value: 'BF',
+ label: 'Burkina Faso',
+ },
+ {
+ value: 'BI',
+ label: 'Burundi',
+ },
+ {
+ value: 'CV',
+ label: 'Cabo Verde',
+ },
+ {
+ value: 'KH',
+ label: 'Cambodia',
+ },
+ {
+ value: 'CM',
+ label: 'Cameroon',
+ },
+ {
+ value: 'CA',
+ label: 'Canada',
+ },
+ {
+ value: 'KY',
+ label: 'Cayman Islands',
+ },
+ {
+ value: 'CF',
+ label: 'Central African Republic',
+ },
+ {
+ value: 'TD',
+ label: 'Chad',
+ },
+ {
+ value: 'CL',
+ label: 'Chile',
+ },
+ {
+ value: 'CN',
+ label: 'China',
+ },
+ {
+ value: 'CX',
+ label: 'Christmas Island',
+ },
+ {
+ value: 'CC',
+ label: 'Cocos (Keeling) Islands',
+ },
+ {
+ value: 'CO',
+ label: 'Colombia',
+ },
+ {
+ value: 'KM',
+ label: 'Comoros',
+ },
+ {
+ value: 'CG',
+ label: 'Congo',
+ },
+ {
+ value: 'CD',
+ label: 'Congo, The Democratic Republic of the',
+ },
+ {
+ value: 'CK',
+ label: 'Cook Islands',
+ },
+ {
+ value: 'CR',
+ label: 'Costa Rica',
+ },
+ {
+ value: 'HR',
+ label: 'Croatia',
+ },
+ {
+ value: 'CU',
+ label: 'Cuba',
+ },
+ {
+ value: 'CW',
+ label: 'Cura\u00e7ao',
+ },
+ {
+ value: 'CY',
+ label: 'Cyprus',
+ },
+ {
+ value: 'CZ',
+ label: 'Czechia',
+ },
+ {
+ value: 'CI',
+ label: "C\u00f4te d'Ivoire",
+ },
+ {
+ value: 'DK',
+ label: 'Denmark',
+ },
+ {
+ value: 'DJ',
+ label: 'Djibouti',
+ },
+ {
+ value: 'DM',
+ label: 'Dominica',
+ },
+ {
+ value: 'DO',
+ label: 'Dominican Republic',
+ },
+ {
+ value: 'EC',
+ label: 'Ecuador',
+ },
+ {
+ value: 'EG',
+ label: 'Egypt',
+ },
+ {
+ value: 'SV',
+ label: 'El Salvador',
+ },
+ {
+ value: 'GQ',
+ label: 'Equatorial Guinea',
+ },
+ {
+ value: 'ER',
+ label: 'Eritrea',
+ },
+ {
+ value: 'EE',
+ label: 'Estonia',
+ },
+ {
+ value: 'SZ',
+ label: 'Eswatini',
+ },
+ {
+ value: 'ET',
+ label: 'Ethiopia',
+ },
+ {
+ value: 'FK',
+ label: 'Falkland Islands (Malvinas)',
+ },
+ {
+ value: 'FO',
+ label: 'Faroe Islands',
+ },
+ {
+ value: 'FJ',
+ label: 'Fiji',
+ },
+ {
+ value: 'FI',
+ label: 'Finland',
+ },
+ {
+ value: 'FR',
+ label: 'France',
+ },
+ {
+ value: 'GF',
+ label: 'French Guiana',
+ },
+ {
+ value: 'PF',
+ label: 'French Polynesia',
+ },
+ {
+ value: 'TF',
+ label: 'French Southern Territories',
+ },
+ {
+ value: 'GA',
+ label: 'Gabon',
+ },
+ {
+ value: 'GM',
+ label: 'Gambia',
+ },
+ {
+ value: 'GE',
+ label: 'Georgia',
+ },
+ {
+ value: 'DE',
+ label: 'Germany',
+ },
+ {
+ value: 'GH',
+ label: 'Ghana',
+ },
+ {
+ value: 'GI',
+ label: 'Gibraltar',
+ },
+ {
+ value: 'GR',
+ label: 'Greece',
+ },
+ {
+ value: 'GL',
+ label: 'Greenland',
+ },
+ {
+ value: 'GD',
+ label: 'Grenada',
+ },
+ {
+ value: 'GP',
+ label: 'Guadeloupe',
+ },
+ {
+ value: 'GU',
+ label: 'Guam',
+ },
+ {
+ value: 'GT',
+ label: 'Guatemala',
+ },
+ {
+ value: 'GG',
+ label: 'Guernsey',
+ },
+ {
+ value: 'GN',
+ label: 'Guinea',
+ },
+ {
+ value: 'GW',
+ label: 'Guinea-Bissau',
+ },
+ {
+ value: 'GY',
+ label: 'Guyana',
+ },
+ {
+ value: 'HT',
+ label: 'Haiti',
+ },
+ {
+ value: 'HM',
+ label: 'Heard Island and McDonald Islands',
+ },
+ {
+ value: 'VA',
+ label: 'Holy See (Vatican City State)',
+ },
+ {
+ value: 'HN',
+ label: 'Honduras',
+ },
+ {
+ value: 'HK',
+ label: 'Hong Kong',
+ },
+ {
+ value: 'HU',
+ label: 'Hungary',
+ },
+ {
+ value: 'IS',
+ label: 'Iceland',
+ },
+ {
+ value: 'IN',
+ label: 'India',
+ },
+ {
+ value: 'ID',
+ label: 'Indonesia',
+ },
+ {
+ value: 'IR',
+ label: 'Iran, Islamic Republic of',
+ },
+ {
+ value: 'IQ',
+ label: 'Iraq',
+ },
+ {
+ value: 'IE',
+ label: 'Ireland',
+ },
+ {
+ value: 'IM',
+ label: 'Isle of Man',
+ },
+ {
+ value: 'IL',
+ label: 'Israel',
+ },
+ {
+ value: 'IT',
+ label: 'Italy',
+ },
+ {
+ value: 'JM',
+ label: 'Jamaica',
+ },
+ {
+ value: 'JP',
+ label: 'Japan',
+ },
+ {
+ value: 'JE',
+ label: 'Jersey',
+ },
+ {
+ value: 'JO',
+ label: 'Jordan',
+ },
+ {
+ value: 'KZ',
+ label: 'Kazakhstan',
+ },
+ {
+ value: 'KE',
+ label: 'Kenya',
+ },
+ {
+ value: 'KI',
+ label: 'Kiribati',
+ },
+ {
+ value: 'KP',
+ label: "Korea, Democratic People's Republic of",
+ },
+ {
+ value: 'KR',
+ label: 'Korea, Republic of',
+ },
+ {
+ value: 'KW',
+ label: 'Kuwait',
+ },
+ {
+ value: 'KG',
+ label: 'Kyrgyzstan',
+ },
+ {
+ value: 'LA',
+ label: "Lao People's Democratic Republic",
+ },
+ {
+ value: 'LV',
+ label: 'Latvia',
+ },
+ {
+ value: 'LB',
+ label: 'Lebanon',
+ },
+ {
+ value: 'LS',
+ label: 'Lesotho',
+ },
+ {
+ value: 'LR',
+ label: 'Liberia',
+ },
+ {
+ value: 'LY',
+ label: 'Libya',
+ },
+ {
+ value: 'LI',
+ label: 'Liechtenstein',
+ },
+ {
+ value: 'LT',
+ label: 'Lithuania',
+ },
+ {
+ value: 'LU',
+ label: 'Luxembourg',
+ },
+ {
+ value: 'MO',
+ label: 'Macao',
+ },
+ {
+ value: 'MG',
+ label: 'Madagascar',
+ },
+ {
+ value: 'MW',
+ label: 'Malawi',
+ },
+ {
+ value: 'MY',
+ label: 'Malaysia',
+ },
+ {
+ value: 'MV',
+ label: 'Maldives',
+ },
+ {
+ value: 'ML',
+ label: 'Mali',
+ },
+ {
+ value: 'MT',
+ label: 'Malta',
+ },
+ {
+ value: 'MH',
+ label: 'Marshall Islands',
+ },
+ {
+ value: 'MQ',
+ label: 'Martinique',
+ },
+ {
+ value: 'MR',
+ label: 'Mauritania',
+ },
+ {
+ value: 'MU',
+ label: 'Mauritius',
+ },
+ {
+ value: 'YT',
+ label: 'Mayotte',
+ },
+ {
+ value: 'MX',
+ label: 'Mexico',
+ },
+ {
+ value: 'FM',
+ label: 'Micronesia, Federated States of',
+ },
+ {
+ value: 'MD',
+ label: 'Moldova, Republic of',
+ },
+ {
+ value: 'MC',
+ label: 'Monaco',
+ },
+ {
+ value: 'MN',
+ label: 'Mongolia',
+ },
+ {
+ value: 'ME',
+ label: 'Montenegro',
+ },
+ {
+ value: 'MS',
+ label: 'Montserrat',
+ },
+ {
+ value: 'MA',
+ label: 'Morocco',
+ },
+ {
+ value: 'MZ',
+ label: 'Mozambique',
+ },
+ {
+ value: 'MM',
+ label: 'Myanmar',
+ },
+ {
+ value: 'NA',
+ label: 'Namibia',
+ },
+ {
+ value: 'NR',
+ label: 'Nauru',
+ },
+ {
+ value: 'NP',
+ label: 'Nepal',
+ },
+ {
+ value: 'NL',
+ label: 'Netherlands',
+ },
+ {
+ value: 'NC',
+ label: 'New Caledonia',
+ },
+ {
+ value: 'NZ',
+ label: 'New Zealand',
+ },
+ {
+ value: 'NI',
+ label: 'Nicaragua',
+ },
+ {
+ value: 'NE',
+ label: 'Niger',
+ },
+ {
+ value: 'NG',
+ label: 'Nigeria',
+ },
+ {
+ value: 'NU',
+ label: 'Niue',
+ },
+ {
+ value: 'NF',
+ label: 'Norfolk Island',
+ },
+ {
+ value: 'MK',
+ label: 'North Macedonia',
+ },
+ {
+ value: 'MP',
+ label: 'Northern Mariana Islands',
+ },
+ {
+ value: 'NO',
+ label: 'Norway',
+ },
+ {
+ value: 'OM',
+ label: 'Oman',
+ },
+ {
+ value: 'PK',
+ label: 'Pakistan',
+ },
+ {
+ value: 'PW',
+ label: 'Palau',
+ },
+ {
+ value: 'PS',
+ label: 'Palestine, State of',
+ },
+ {
+ value: 'PA',
+ label: 'Panama',
+ },
+ {
+ value: 'PG',
+ label: 'Papua New Guinea',
+ },
+ {
+ value: 'PY',
+ label: 'Paraguay',
+ },
+ {
+ value: 'PE',
+ label: 'Peru',
+ },
+ {
+ value: 'PH',
+ label: 'Philippines',
+ },
+ {
+ value: 'PN',
+ label: 'Pitcairn',
+ },
+ {
+ value: 'PL',
+ label: 'Poland',
+ },
+ {
+ value: 'PT',
+ label: 'Portugal',
+ },
+ {
+ value: 'PR',
+ label: 'Puerto Rico',
+ },
+ {
+ value: 'QA',
+ label: 'Qatar',
+ },
+ {
+ value: 'RO',
+ label: 'Romania',
+ },
+ {
+ value: 'RU',
+ label: 'Russian Federation',
+ },
+ {
+ value: 'RW',
+ label: 'Rwanda',
+ },
+ {
+ value: 'RE',
+ label: 'R\u00e9union',
+ },
+ {
+ value: 'BL',
+ label: 'Saint Barth\u00e9lemy',
+ },
+ {
+ value: 'SH',
+ label: 'Saint Helena, Ascension and Tristan da Cunha',
+ },
+ {
+ value: 'KN',
+ label: 'Saint Kitts and Nevis',
+ },
+ {
+ value: 'LC',
+ label: 'Saint Lucia',
+ },
+ {
+ value: 'MF',
+ label: 'Saint Martin (French part)',
+ },
+ {
+ value: 'PM',
+ label: 'Saint Pierre and Miquelon',
+ },
+ {
+ value: 'VC',
+ label: 'Saint Vincent and the Grenadines',
+ },
+ {
+ value: 'WS',
+ label: 'Samoa',
+ },
+ {
+ value: 'SM',
+ label: 'San Marino',
+ },
+ {
+ value: 'ST',
+ label: 'Sao Tome and Principe',
+ },
+ {
+ value: 'SA',
+ label: 'Saudi Arabia',
+ },
+ {
+ value: 'SN',
+ label: 'Senegal',
+ },
+ {
+ value: 'RS',
+ label: 'Serbia',
+ },
+ {
+ value: 'SC',
+ label: 'Seychelles',
+ },
+ {
+ value: 'SL',
+ label: 'Sierra Leone',
+ },
+ {
+ value: 'SG',
+ label: 'Singapore',
+ },
+ {
+ value: 'SX',
+ label: 'Sint Maarten (Dutch part)',
+ },
+ {
+ value: 'SK',
+ label: 'Slovakia',
+ },
+ {
+ value: 'SI',
+ label: 'Slovenia',
+ },
+ {
+ value: 'SB',
+ label: 'Solomon Islands',
+ },
+ {
+ value: 'SO',
+ label: 'Somalia',
+ },
+ {
+ value: 'ZA',
+ label: 'South Africa',
+ },
+ {
+ value: 'GS',
+ label: 'South Georgia and the South Sandwich Islands',
+ },
+ {
+ value: 'SS',
+ label: 'South Sudan',
+ },
+ {
+ value: 'ES',
+ label: 'Spain',
+ },
+ {
+ value: 'LK',
+ label: 'Sri Lanka',
+ },
+ {
+ value: 'SD',
+ label: 'Sudan',
+ },
+ {
+ value: 'SR',
+ label: 'Suriname',
+ },
+ {
+ value: 'SJ',
+ label: 'Svalbard and Jan Mayen',
+ },
+ {
+ value: 'SE',
+ label: 'Sweden',
+ },
+ {
+ value: 'CH',
+ label: 'Switzerland',
+ },
+ {
+ value: 'SY',
+ label: 'Syrian Arab Republic',
+ },
+ {
+ value: 'TW',
+ label: 'Taiwan, Province of China',
+ },
+ {
+ value: 'TJ',
+ label: 'Tajikistan',
+ },
+ {
+ value: 'TZ',
+ label: 'Tanzania, United Republic of',
+ },
+ {
+ value: 'TH',
+ label: 'Thailand',
+ },
+ {
+ value: 'TL',
+ label: 'Timor-Leste',
+ },
+ {
+ value: 'TG',
+ label: 'Togo',
+ },
+ {
+ value: 'TK',
+ label: 'Tokelau',
+ },
+ {
+ value: 'TO',
+ label: 'Tonga',
+ },
+ {
+ value: 'TT',
+ label: 'Trinidad and Tobago',
+ },
+ {
+ value: 'TN',
+ label: 'Tunisia',
+ },
+ {
+ value: 'TM',
+ label: 'Turkmenistan',
+ },
+ {
+ value: 'TC',
+ label: 'Turks and Caicos Islands',
+ },
+ {
+ value: 'TV',
+ label: 'Tuvalu',
+ },
+ {
+ value: 'TR',
+ label: 'T\u00fcrkiye',
+ },
+ {
+ value: 'UG',
+ label: 'Uganda',
+ },
+ {
+ value: 'UA',
+ label: 'Ukraine',
+ },
+ {
+ value: 'AE',
+ label: 'United Arab Emirates',
+ },
+ {
+ value: 'GB',
+ label: 'United Kingdom',
+ },
+ {
+ value: 'US',
+ label: 'United States',
+ },
+ {
+ value: 'UM',
+ label: 'United States Minor Outlying Islands',
+ },
+ {
+ value: 'UY',
+ label: 'Uruguay',
+ },
+ {
+ value: 'UZ',
+ label: 'Uzbekistan',
+ },
+ {
+ value: 'VU',
+ label: 'Vanuatu',
+ },
+ {
+ value: 'VE',
+ label: 'Venezuela, Bolivarian Republic of',
+ },
+ {
+ value: 'VN',
+ label: 'Viet Nam',
+ },
+ {
+ value: 'VG',
+ label: 'Virgin Islands, British',
+ },
+ {
+ value: 'VI',
+ label: 'Virgin Islands, U.S.',
+ },
+ {
+ value: 'WF',
+ label: 'Wallis and Futuna',
+ },
+ {
+ value: 'EH',
+ label: 'Western Sahara',
+ },
+ {
+ value: 'YE',
+ label: 'Yemen',
+ },
+ {
+ value: 'ZM',
+ label: 'Zambia',
+ },
+ {
+ value: 'ZW',
+ label: 'Zimbabwe',
+ },
+ {
+ value: 'AX',
+ label: '\u00c5land Islands',
+ },
+ ],
+ size: 'normal',
+ },
+ {
+ name: 'url',
+ component: 'field-text',
+ label: 'Homepage URL',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: null,
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'normal',
+ prefix: '',
+ },
+ {
+ name: 'biography',
+ component: 'field-rich-textarea',
+ label: 'Bio Statement (e.g., department and rank)',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ plugins: ['link'],
+ toolbar: 'bold italic superscript subscript | link',
+ },
+ {
+ name: 'affiliation',
+ component: 'field-text',
+ label: 'Affiliation',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: true,
+ isInert: false,
+ value: [],
+ inputType: 'text',
+ optIntoEdit: false,
+ optIntoEditLabel: '',
+ size: 'large',
+ prefix: '',
+ },
+ {
+ name: 'userGroupId',
+ component: 'field-options',
+ label: "Contributor's role",
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: 14,
+ type: 'radio',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: 14,
+ label: 'Author',
+ },
+ {
+ value: 15,
+ label: 'Translator',
+ },
+ ],
+ },
+ {
+ name: 'includeInBrowse',
+ component: 'field-options',
+ label: 'Publication Lists',
+ groupId: 'default',
+ isRequired: false,
+ isMultilingual: false,
+ isInert: false,
+ value: true,
+ type: 'checkbox',
+ isOrderable: false,
+ allowOnlySorting: false,
+ options: [
+ {
+ value: true,
+ label:
+ 'Include this contributor when identifying authors in lists of publications.',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Save',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: [],
+ errors: {},
+ },
+ logResponseForm: {
+ id: 'logReviewerResponse',
+ method: 'PUT',
+ action: 'emit',
+ fields: [
+ {
+ name: 'decision',
+ component: 'field-radio-input',
+ label: 'Record the response on behalf of the reviewer',
+ description:
+ 'If the reviewer contacts you through email or any other means, you can record their response for them',
+ groupId: 'default',
+ isRequired: true,
+ isMultilingual: false,
+ isInert: false,
+ value: '',
+ options: [
+ {
+ value: 'accept',
+ label: 'Reviewer has accepted the invitation to review',
+ },
+ {
+ value: 'decline',
+ label: 'Reviewer has declined the invitation to review',
+ },
+ ],
+ },
+ ],
+ groups: [
+ {
+ id: 'default',
+ pageId: 'default',
+ },
+ ],
+ hiddenFields: {},
+ pages: [
+ {
+ id: 'default',
+ submitButton: {
+ label: 'Log Response',
+ },
+ },
+ ],
+ primaryLocale: 'en',
+ visibleLocales: ['en'],
+ supportedFormLocales: ['en', 'fr_CA'],
+ errors: {},
+ },
+ },
+};
diff --git a/src/pages/dashboard/mocks/reviewAssignmentScenariosMock.js b/src/pages/dashboard/mocks/reviewAssignmentScenariosMock.js
new file mode 100644
index 000000000..09dc22f6e
--- /dev/null
+++ b/src/pages/dashboard/mocks/reviewAssignmentScenariosMock.js
@@ -0,0 +1,53 @@
+import {getReviewAssignmentFullMock} from './reviewAssignmentsMock';
+export const ReviewAssignmentEditorialActivityScenario = [
+ //REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE // request has been sent but reviewer has not responded
+ getReviewAssignmentFullMock({
+ submissionId: 1,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_DECLINED; // reviewer declined review request
+ getReviewAssignmentFullMock({
+ submissionId: 2,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_DECLINED,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_RESPONSE_OVERDUE
+ getReviewAssignmentFullMock({
+ submissionId: 3,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RESPONSE_OVERDUE,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_ACCEPTED
+ getReviewAssignmentFullMock({
+ submissionId: 4,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_ACCEPTED,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_REVIEW_OVERDUE
+ getReviewAssignmentFullMock({
+ submissionId: 5,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_REVIEW_OVERDUE,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_RECEIVED
+ getReviewAssignmentFullMock({
+ submissionId: 6,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_COMPLETE
+ getReviewAssignmentFullMock({
+ submissionId: 7,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_THANKED
+ getReviewAssignmentFullMock({
+ submissionId: 8,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_THANKED,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_REQUEST_RESEND
+ getReviewAssignmentFullMock({
+ submissionId: 9,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_REQUEST_RESEND,
+ }),
+ // REVIEW_ASSIGNMENT_STATUS_VIEWED
+ getReviewAssignmentFullMock({
+ submissionId: 10,
+ statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_VIEWED,
+ }),
+];
diff --git a/src/pages/dashboard/mocks/reviewAssignmentsMock.js b/src/pages/dashboard/mocks/reviewAssignmentsMock.js
index 6de6de7da..695eadeeb 100644
--- a/src/pages/dashboard/mocks/reviewAssignmentsMock.js
+++ b/src/pages/dashboard/mocks/reviewAssignmentsMock.js
@@ -1,4 +1,6 @@
-const CommonDefault = {
+// this one is in submission.reviewAssignments
+const CommonDefaultShort = {
+ id: 1,
round: 1,
roundId: 10,
reviewerFullName: 'Julie Janssen',
@@ -11,6 +13,14 @@ const CommonDefault = {
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE,
};
+const CommonDefaultFull = {
+ publicationTitle: {
+ en: 'Sodium butyrate improves growth performance of weaned piglets during the first period after weaning',
+ fr_CA: '',
+ },
+ submissionId: 2,
+};
+
const ReviewAssignmentsPerStatus = {
[pkp.const.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE]: {
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_AWAITING_RESPONSE,
@@ -39,8 +49,8 @@ const ReviewAssignmentsPerStatus = {
},
[pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE]: {
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
- // to be added to the api
dateConfirmed: '2024-01-25',
+ dateCompleted: '2024-01-20',
},
[pkp.const.REVIEW_ASSIGNMENT_STATUS_THANKED]: {
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_THANKED,
@@ -57,13 +67,35 @@ const ReviewAssignmentsPerStatus = {
},
};
-export function getReviewAssignmentMock(overrides = {}) {
- let reviewAssignment = {...CommonDefault};
+// Thats returned on submission object as submission.reviewAssignment
+
+export function getReviewAssignmentShortMock(overrides = {}) {
+ let reviewAssignment = {...CommonDefaultShort};
if (overrides.statusId) {
reviewAssignment = {
...reviewAssignment,
...ReviewAssignmentsPerStatus[overrides.statusId],
};
}
- return {...reviewAssignment, ...overrides};
+ const result = {...reviewAssignment, ...overrides};
+
+ return result;
+}
+
+// Thats returned from the _submissions/reviewAssignments
+export function getReviewAssignmentFullMock(overrides = {}) {
+ let reviewAssignment = {...CommonDefaultShort, ...CommonDefaultFull};
+ if (overrides.statusId) {
+ reviewAssignment = {
+ ...reviewAssignment,
+ ...ReviewAssignmentsPerStatus[overrides.statusId],
+ };
+ }
+ const result = {...reviewAssignment, ...overrides};
+
+ // copy statusId to status as thats whats expected there
+ result.status = result.statusId;
+ delete result.statusId;
+ console.log(result);
+ return result;
}
diff --git a/src/pages/dashboard/mocks/submissionMock.js b/src/pages/dashboard/mocks/submissionMock.js
index ce30b0a7a..cc0f68a40 100644
--- a/src/pages/dashboard/mocks/submissionMock.js
+++ b/src/pages/dashboard/mocks/submissionMock.js
@@ -7,6 +7,7 @@ const CommonDefaults = {
lastModified: '2024-03-23 11:01:02',
status: 1,
submissionProgress: '',
+ stageId: 3,
publications: [
{
_href:
@@ -101,5 +102,12 @@ const CommonDefaults = {
};
export function getSubmissionMock(overrides = {}) {
- return {...CommonDefaults, ...overrides};
+ const stages = CommonDefaults.stages.map((stage) => {
+ let isActiveStage = stage.isActiveStage;
+ if (overrides.stageId) {
+ isActiveStage = overrides.stageId === stage.id;
+ }
+ return {...stage, isActiveStage};
+ });
+ return {...CommonDefaults, stages, ...overrides};
}
diff --git a/src/pages/dashboard/mocks/submissionScenariosMock.js b/src/pages/dashboard/mocks/submissionScenariosMock.js
index 0e4e5b39c..0321b951d 100644
--- a/src/pages/dashboard/mocks/submissionScenariosMock.js
+++ b/src/pages/dashboard/mocks/submissionScenariosMock.js
@@ -1,9 +1,13 @@
import {getSubmissionMock} from './submissionMock';
import {getPublicationMock} from './publicationMock';
import {getReviewRoundMock} from './reviewRoundsMock';
-import {getReviewAssignmentMock} from './reviewAssignmentsMock';
+import {getReviewAssignmentShortMock} from './reviewAssignmentsMock';
export const EditorialActivityScenario = [
+ // Submission stage
+ getSubmissionMock({stageId: pkp.const.WORKFLOW_STAGE_ID_SUBMISSION}),
+
+ // Review stage
// REVIEW_ROUND_STATUS_REVISIONS_REQUESTED
getSubmissionMock({
publications: [
@@ -13,7 +17,7 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
recommendation:
pkp.const.SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS,
@@ -34,7 +38,7 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
recommendation:
pkp.const.SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS,
@@ -58,7 +62,7 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
],
@@ -88,10 +92,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_ACCEPTED,
}),
],
@@ -110,10 +114,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
dateCompleted: '2024-01-20',
recommendation:
@@ -135,10 +139,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
],
@@ -157,10 +161,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RESPONSE_OVERDUE,
}),
],
@@ -179,10 +183,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
}),
],
@@ -201,10 +205,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
}),
],
@@ -223,10 +227,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
}),
],
@@ -246,10 +250,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
}),
],
@@ -268,10 +272,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
}),
],
@@ -290,10 +294,10 @@ export const EditorialActivityScenario = [
}),
],
reviewAssignments: [
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_COMPLETE,
}),
- getReviewAssignmentMock({
+ getReviewAssignmentShortMock({
statusId: pkp.const.REVIEW_ASSIGNMENT_STATUS_RECEIVED,
}),
],