From 4372e7f90025972a396521610832d49cf91f5f7c Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 15 Nov 2023 15:00:27 -0500 Subject: [PATCH 1/6] Swap UploadButton to composition+ts --- client/src/components/Upload/UploadButton.vue | 112 +++++++++--------- 1 file changed, 57 insertions(+), 55 deletions(-) diff --git a/client/src/components/Upload/UploadButton.vue b/client/src/components/Upload/UploadButton.vue index ade8abee45b5..9a11228adc89 100644 --- a/client/src/components/Upload/UploadButton.vue +++ b/client/src/components/Upload/UploadButton.vue @@ -1,9 +1,64 @@ + - - From 090eefe0429fdfca8791faa81ee8ac4fef12b34a Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 15 Nov 2023 16:42:33 -0500 Subject: [PATCH 2/6] Swap upload eventhub usage for simple store --- .../ActivityBar/Items/UploadItem.vue | 26 ++++--------------- client/src/components/Upload/UploadButton.vue | 24 +++-------------- .../src/components/Upload/UploadContainer.vue | 15 ++++++----- client/src/stores/uploadStore.ts | 9 +++++++ 4 files changed, 27 insertions(+), 47 deletions(-) create mode 100644 client/src/stores/uploadStore.ts diff --git a/client/src/components/ActivityBar/Items/UploadItem.vue b/client/src/components/ActivityBar/Items/UploadItem.vue index 32f9b0a106e1..e5c2b357d0e7 100644 --- a/client/src/components/ActivityBar/Items/UploadItem.vue +++ b/client/src/components/ActivityBar/Items/UploadItem.vue @@ -1,14 +1,13 @@