From bf3ae7ecfc18c5a0c9aa41fe04a02f601a5295c1 Mon Sep 17 00:00:00 2001 From: Andrew Embler Date: Wed, 6 Sep 2023 10:13:59 -0700 Subject: [PATCH 1/3] Add new components for modular bulk board scheduler --- .../AddScheduledBoardElementButton.vue | 31 +++ .../AddScheduledBoardElementModal.vue | 222 ++++++++++++++++++ 2 files changed, 253 insertions(+) create mode 100644 assets/cms/components/AddScheduledBoardElementButton.vue create mode 100644 assets/cms/components/AddScheduledBoardElementModal.vue diff --git a/assets/cms/components/AddScheduledBoardElementButton.vue b/assets/cms/components/AddScheduledBoardElementButton.vue new file mode 100644 index 00000000..08d0dd43 --- /dev/null +++ b/assets/cms/components/AddScheduledBoardElementButton.vue @@ -0,0 +1,31 @@ + + + diff --git a/assets/cms/components/AddScheduledBoardElementModal.vue b/assets/cms/components/AddScheduledBoardElementModal.vue new file mode 100644 index 00000000..0aa9abb2 --- /dev/null +++ b/assets/cms/components/AddScheduledBoardElementModal.vue @@ -0,0 +1,222 @@ + + + From 2276b5367b14765fd401279142fe34530ec3730b Mon Sep 17 00:00:00 2001 From: Andrew Embler Date: Wed, 6 Sep 2023 21:12:38 -0700 Subject: [PATCH 2/3] fix bug --- assets/cms/components/AddScheduledBoardElementModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/cms/components/AddScheduledBoardElementModal.vue b/assets/cms/components/AddScheduledBoardElementModal.vue index 0aa9abb2..970e4d2a 100644 --- a/assets/cms/components/AddScheduledBoardElementModal.vue +++ b/assets/cms/components/AddScheduledBoardElementModal.vue @@ -183,7 +183,7 @@ export default { data: { ccm_token: my.scheduleBoardElementToken, elementId: this.scheduleBoardSelectedElement, - slot: this.slot, + slot: this.scheduleBoardBoardSlot, startDate: this.startDateFormatted, endDate: this.endDateFormatted, startTime: this.startTime, From b50b19554e318f480d709055a86ae6a6e372c382 Mon Sep 17 00:00:00 2001 From: Andrew Embler Date: Wed, 6 Sep 2023 21:16:08 -0700 Subject: [PATCH 3/3] fix lint --- .../AddScheduledBoardElementModal.vue | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/assets/cms/components/AddScheduledBoardElementModal.vue b/assets/cms/components/AddScheduledBoardElementModal.vue index 970e4d2a..215d32a4 100644 --- a/assets/cms/components/AddScheduledBoardElementModal.vue +++ b/assets/cms/components/AddScheduledBoardElementModal.vue @@ -91,11 +91,13 @@