From 5229449c95039d7e5e92a16a2017dec5f3317af6 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sun, 22 Dec 2024 12:43:00 -0500 Subject: [PATCH 1/8] Refactor collection name input out of CollectionCreator. --- .../Collections/common/CollectionCreator.vue | 20 ++------ .../common/CollectionNameInput.vue | 47 +++++++++++++++++++ 2 files changed, 52 insertions(+), 15 deletions(-) create mode 100644 client/src/components/Collections/common/CollectionNameInput.vue diff --git a/client/src/components/Collections/common/CollectionCreator.vue b/client/src/components/Collections/common/CollectionCreator.vue index c60e80099fd2..2fd13b205177 100644 --- a/client/src/components/Collections/common/CollectionCreator.vue +++ b/client/src/components/Collections/common/CollectionCreator.vue @@ -1,7 +1,7 @@ + + From e6742ed4e168286355efceb0de701b72e62d2566 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sun, 22 Dec 2024 12:56:31 -0500 Subject: [PATCH 2/8] Refactor the source options out of collection creator. --- .../Collections/common/CollectionCreator.vue | 30 ++++------ .../common/CollectionCreatorSourceOptions.vue | 56 +++++++++++++++++++ 2 files changed, 67 insertions(+), 19 deletions(-) create mode 100644 client/src/components/Collections/common/CollectionCreatorSourceOptions.vue diff --git a/client/src/components/Collections/common/CollectionCreator.vue b/client/src/components/Collections/common/CollectionCreator.vue index 2fd13b205177..b0331452916c 100644 --- a/client/src/components/Collections/common/CollectionCreator.vue +++ b/client/src/components/Collections/common/CollectionCreator.vue @@ -1,7 +1,7 @@ + + From 40eb1d9aab5126d3e74360d432551166357a0d03 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sun, 22 Dec 2024 13:32:05 -0500 Subject: [PATCH 3/8] Refactor collection creator help out to simplify. --- .../Collections/common/CollectionCreator.vue | 45 ++--------------- .../common/CollectionCreatorHelpHeader.vue | 50 +++++++++++++++++++ 2 files changed, 55 insertions(+), 40 deletions(-) create mode 100644 client/src/components/Collections/common/CollectionCreatorHelpHeader.vue diff --git a/client/src/components/Collections/common/CollectionCreator.vue b/client/src/components/Collections/common/CollectionCreator.vue index b0331452916c..b076d4f3b815 100644 --- a/client/src/components/Collections/common/CollectionCreator.vue +++ b/client/src/components/Collections/common/CollectionCreator.vue @@ -1,5 +1,5 @@ + + From df0336185277d4c0b3c7d604c7bf6d0c91c4ee5d Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sun, 22 Dec 2024 14:05:25 -0500 Subject: [PATCH 4/8] Refactor showing of extensions into own component. --- .../Collections/common/CollectionCreator.vue | 10 ++------ .../CollectionCreatorShowExtensions.vue | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 client/src/components/Collections/common/CollectionCreatorShowExtensions.vue diff --git a/client/src/components/Collections/common/CollectionCreator.vue b/client/src/components/Collections/common/CollectionCreator.vue index b076d4f3b815..81c1eea4191b 100644 --- a/client/src/components/Collections/common/CollectionCreator.vue +++ b/client/src/components/Collections/common/CollectionCreator.vue @@ -14,6 +14,7 @@ import localize from "@/utils/localization"; import { orList } from "@/utils/strings"; import CollectionCreatorHelpHeader from "./CollectionCreatorHelpHeader.vue"; +import CollectionCreatorShowExtensions from "./CollectionCreatorShowExtensions.vue"; import CollectionCreatorSourceOptions from "./CollectionCreatorSourceOptions.vue"; import CollectionNameInput from "./CollectionNameInput.vue"; import HelpText from "@/components/Help/HelpText.vue"; @@ -170,14 +171,7 @@ watch(