From 101087f9535aba7ee7265ac26b67698b51b06256 Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Fri, 8 Mar 2024 16:37:54 +0100 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F:=20refactor=20dataset?= =?UTF-8?q?s=20states=20to=20typescript=20`client/src/mvc/dataset/states`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/mvc/dataset/{states.js => states.ts} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename client/src/mvc/dataset/{states.js => states.ts} (95%) diff --git a/client/src/mvc/dataset/states.js b/client/src/mvc/dataset/states.ts similarity index 95% rename from client/src/mvc/dataset/states.js rename to client/src/mvc/dataset/states.ts index 4e0702c9cdbb..dd5b37d7fb07 100644 --- a/client/src/mvc/dataset/states.js +++ b/client/src/mvc/dataset/states.ts @@ -2,7 +2,7 @@ /** Map of possible HDA/collection/job states to their string equivalents. * A port of galaxy.model.Dataset.states. */ -var STATES = { +const STATES = { // NOT ready states /** is uploading and not ready */ UPLOAD: "upload", @@ -34,6 +34,9 @@ var STATES = { DEFERRED: "deferred", /** the tool producing this dataset failed */ ERROR: "error", + + READY_STATES: [] as string[], + NOT_READY_STATES: [] as string[], }; STATES.READY_STATES = [ From 830da7bf740f72511652dcf8ec37088035392cf4 Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Fri, 8 Mar 2024 16:41:00 +0100 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F:=20refactor=20`Unpair?= =?UTF-8?q?edDatasetElementView`=20to=20use=20composition=20API=20and=20`t?= =?UTF-8?q?ypeScript`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UnpairedDatasetElementView.vue | 50 ++++++------------- 1 file changed, 15 insertions(+), 35 deletions(-) diff --git a/client/src/components/Collections/UnpairedDatasetElementView.vue b/client/src/components/Collections/UnpairedDatasetElementView.vue index b02575a2bb05..91494a082fea 100644 --- a/client/src/components/Collections/UnpairedDatasetElementView.vue +++ b/client/src/components/Collections/UnpairedDatasetElementView.vue @@ -1,41 +1,21 @@ + + - - - - From 4a99f97ae7352513a103d0ccb96b922f9274769e Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Fri, 8 Mar 2024 16:42:35 +0100 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F:=20refactor=20`Paired?= =?UTF-8?q?ElementView`=20to=20use=20composition=20API=20and=20`typeScript?= =?UTF-8?q?`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Collections/PairedElementView.vue | 94 ++++++++++--------- 1 file changed, 49 insertions(+), 45 deletions(-) diff --git a/client/src/components/Collections/PairedElementView.vue b/client/src/components/Collections/PairedElementView.vue index 8c0a3998d11d..181bfb67ece9 100644 --- a/client/src/components/Collections/PairedElementView.vue +++ b/client/src/components/Collections/PairedElementView.vue @@ -1,58 +1,62 @@ + + - From 2e71ae701b5ac6ec5bb5f288ebb2a40de4cda43d Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Fri, 8 Mar 2024 16:45:02 +0100 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F:=20refactor=20`ListCo?= =?UTF-8?q?llectionCreator`=20to=20use=20composition=20API=20and=20`typeSc?= =?UTF-8?q?ript`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Collections/ListCollectionCreator.vue | 671 ++++++++++-------- 1 file changed, 365 insertions(+), 306 deletions(-) diff --git a/client/src/components/Collections/ListCollectionCreator.vue b/client/src/components/Collections/ListCollectionCreator.vue index 7f8896e221e7..e6cb37846cba 100644 --- a/client/src/components/Collections/ListCollectionCreator.vue +++ b/client/src/components/Collections/ListCollectionCreator.vue @@ -1,67 +1,340 @@ + + + - + - - - From 315767eaa20a7783b1bcf7438e5971ac4aacf582 Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Mon, 11 Mar 2024 16:31:14 +0100 Subject: [PATCH 6/7] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F:=20import=20missing?= =?UTF-8?q?=20icon=20to=20`PairedElementView`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Collections/PairedElementView.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/client/src/components/Collections/PairedElementView.vue b/client/src/components/Collections/PairedElementView.vue index 181bfb67ece9..364832a22db2 100644 --- a/client/src/components/Collections/PairedElementView.vue +++ b/client/src/components/Collections/PairedElementView.vue @@ -1,10 +1,15 @@ + + - + - -