From 0ffd2b5169a88250c53c581aebb3e852eec20e82 Mon Sep 17 00:00:00 2001 From: Alex Velez Date: Mon, 16 Dec 2024 11:39:15 -0500 Subject: [PATCH 01/14] Add initial implementation of side panel recipients selector --- .../assignments/AssignmentDetailsModal.vue | 15 ++ .../IndividualLearnerSelectorTable.vue} | 160 +++++++----------- .../IndividualLearnerSelector/index.vue | 138 +++++++++++++++ .../LearnersSelectorSidePanel.vue | 139 +++++++++++++++ .../SidePanelRecipientsSelector/index.vue | 142 ++++++++++++++++ .../src/views/common/commonCoachStrings.js | 15 ++ packages/kolibri/uiText/commonCoreStrings.js | 4 + 7 files changed, 512 insertions(+), 101 deletions(-) rename kolibri/plugins/coach/assets/src/views/common/assignments/{IndividualLearnerSelector.vue => IndividualLearnerSelector/IndividualLearnerSelectorTable.vue} (67%) create mode 100644 kolibri/plugins/coach/assets/src/views/common/assignments/IndividualLearnerSelector/index.vue create mode 100644 kolibri/plugins/coach/assets/src/views/common/assignments/SidePanelRecipientsSelector/LearnersSelectorSidePanel.vue create mode 100644 kolibri/plugins/coach/assets/src/views/common/assignments/SidePanelRecipientsSelector/index.vue diff --git a/kolibri/plugins/coach/assets/src/views/common/assignments/AssignmentDetailsModal.vue b/kolibri/plugins/coach/assets/src/views/common/assignments/AssignmentDetailsModal.vue index 9e363c29cd2..952e9745664 100644 --- a/kolibri/plugins/coach/assets/src/views/common/assignments/AssignmentDetailsModal.vue +++ b/kolibri/plugins/coach/assets/src/views/common/assignments/AssignmentDetailsModal.vue @@ -11,6 +11,10 @@ {{ submitErrorMessage }} +
+
@@ -118,6 +131,7 @@ import commonCoreStrings from 'kolibri/uiText/commonCoreStrings'; import { coachStrings } from '../../common/commonCoachStrings'; import RecipientSelector from './RecipientSelector'; + import SidePanelRecipientsSelector from './SidePanelRecipientsSelector'; export default { name: 'AssignmentDetailsModal', @@ -125,6 +139,7 @@ BottomAppBar, RecipientSelector, UiAlert, + SidePanelRecipientsSelector, }, mixins: [commonCoreStrings], setup() { diff --git a/kolibri/plugins/coach/assets/src/views/common/assignments/IndividualLearnerSelector.vue b/kolibri/plugins/coach/assets/src/views/common/assignments/IndividualLearnerSelector/IndividualLearnerSelectorTable.vue similarity index 67% rename from kolibri/plugins/coach/assets/src/views/common/assignments/IndividualLearnerSelector.vue rename to kolibri/plugins/coach/assets/src/views/common/assignments/IndividualLearnerSelector/IndividualLearnerSelectorTable.vue index 56316240149..1090fde8aaf 100644 --- a/kolibri/plugins/coach/assets/src/views/common/assignments/IndividualLearnerSelector.vue +++ b/kolibri/plugins/coach/assets/src/views/common/assignments/IndividualLearnerSelector/IndividualLearnerSelectorTable.vue @@ -1,87 +1,62 @@