diff --git a/frontend/src/components/dashboard/Study.vue b/frontend/src/components/dashboard/Study.vue index 0b6438632..99eaf8186 100644 --- a/frontend/src/components/dashboard/Study.vue +++ b/frontend/src/components/dashboard/Study.vue @@ -67,8 +67,7 @@ - - + @@ -82,8 +81,7 @@ import StudyModal from "@/components/dashboard/coordinator/Study.vue"; import StudySessionModal from "@/components/dashboard/study/StudySessionModal.vue"; import BasicButton from "@/basic/Button.vue"; import ConfirmModal from "@/basic/modal/ConfirmModal.vue"; -import BulkAssignmentsModal from "./study/BulkAssignmentModal.vue"; -import SingleAssignmentModal from "./study/SingleAssignmentModal.vue"; +import AssignmentModal from "@/components/dashboard/study/AssignmentModal.vue"; import InformationModal from "@/basic/modal/InformationModal.vue"; import ManageStudiesModal from "@/components/dashboard/study/ManageStudiesModal.vue"; import StudyCloseModal from "@/components/dashboard/study/StudyCloseModal.vue"; @@ -106,8 +104,7 @@ export default { StudySessionModal, BasicButton, ConfirmModal, - BulkAssignmentsModal, - SingleAssignmentModal, + AssignmentModal, InformationModal, SavedTemplatesModal, PublishAssessmentModal @@ -136,8 +133,7 @@ export default { deleteConf: false, confirm: false, bulkConfirm: false, - bulkAssignments: false, - singleAssignment: false, + assignment: false, information: false, savedTemplates: false, }, @@ -472,12 +468,12 @@ export default { this.$nextTick(() => this.$refs.bulkConfirmModal?.open()); }, openBulkAssignmentsModal() { - this.modals.bulkAssignments = true; - this.$nextTick(() => this.$refs.bulkAssignmentsModal?.open()); + this.modals.assignment = true; + this.$nextTick(() => this.$refs.assignmentModal?.open(true)); }, openSingleAssignmentModal() { - this.modals.singleAssignment = true; - this.$nextTick(() => this.$refs.singleAssignmentModal?.open()); + this.modals.assignment = true; + this.$nextTick(() => this.$refs.assignmentModal?.open(false)); }, openInformationModal(params) { this.modals.information = true; diff --git a/frontend/src/components/dashboard/study/AssignmentModal.vue b/frontend/src/components/dashboard/study/AssignmentModal.vue new file mode 100644 index 000000000..8d6c1474f --- /dev/null +++ b/frontend/src/components/dashboard/study/AssignmentModal.vue @@ -0,0 +1,501 @@ + + + diff --git a/frontend/src/components/dashboard/study/BulkAssignmentModal.vue b/frontend/src/components/dashboard/study/BulkAssignmentModal.vue deleted file mode 100644 index be3267575..000000000 --- a/frontend/src/components/dashboard/study/BulkAssignmentModal.vue +++ /dev/null @@ -1,1237 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/components/dashboard/study/SingleAssignmentModal.vue b/frontend/src/components/dashboard/study/SingleAssignmentModal.vue deleted file mode 100644 index 218c62076..000000000 --- a/frontend/src/components/dashboard/study/SingleAssignmentModal.vue +++ /dev/null @@ -1,891 +0,0 @@ - - - - - diff --git a/frontend/src/components/dashboard/study/assignment/AssignmentSelectionStep.vue b/frontend/src/components/dashboard/study/assignment/AssignmentSelectionStep.vue new file mode 100644 index 000000000..8e0aa63f2 --- /dev/null +++ b/frontend/src/components/dashboard/study/assignment/AssignmentSelectionStep.vue @@ -0,0 +1,281 @@ + + + diff --git a/frontend/src/components/dashboard/study/assignment/ConfirmationStep.vue b/frontend/src/components/dashboard/study/assignment/ConfirmationStep.vue new file mode 100644 index 000000000..253b5be51 --- /dev/null +++ b/frontend/src/components/dashboard/study/assignment/ConfirmationStep.vue @@ -0,0 +1,198 @@ + + + diff --git a/frontend/src/components/dashboard/study/assignment/DistributionStep.vue b/frontend/src/components/dashboard/study/assignment/DistributionStep.vue new file mode 100644 index 000000000..ef5d990b3 --- /dev/null +++ b/frontend/src/components/dashboard/study/assignment/DistributionStep.vue @@ -0,0 +1,175 @@ + + + diff --git a/frontend/src/components/dashboard/study/assignment/ReviewerSelectionStep.vue b/frontend/src/components/dashboard/study/assignment/ReviewerSelectionStep.vue new file mode 100644 index 000000000..d94848ab2 --- /dev/null +++ b/frontend/src/components/dashboard/study/assignment/ReviewerSelectionStep.vue @@ -0,0 +1,165 @@ + + + diff --git a/frontend/src/components/dashboard/study/assignment/TemplateSelectionStep.vue b/frontend/src/components/dashboard/study/assignment/TemplateSelectionStep.vue new file mode 100644 index 000000000..1727d8bc7 --- /dev/null +++ b/frontend/src/components/dashboard/study/assignment/TemplateSelectionStep.vue @@ -0,0 +1,181 @@ + + + + + diff --git a/frontend/src/components/dashboard/study/assignment/WorkflowMappingStep.vue b/frontend/src/components/dashboard/study/assignment/WorkflowMappingStep.vue new file mode 100644 index 000000000..07222da70 --- /dev/null +++ b/frontend/src/components/dashboard/study/assignment/WorkflowMappingStep.vue @@ -0,0 +1,170 @@ + + +