diff --git a/client/package.json b/client/package.json index b2a751ff3d94..de12b9f71852 100644 --- a/client/package.json +++ b/client/package.json @@ -66,6 +66,7 @@ "elkjs": "^0.8.2", "file-saver": "^2.0.5", "flush-promises": "^1.0.2", + "font-awesome-6": "npm:@fortawesome/free-solid-svg-icons@6", "glob": "^10.3.10", "handsontable": "^4.0.0", "hsluv": "^1.0.1", diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 1e9ab944ad2e..654d8e77594e 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -18464,6 +18464,8 @@ export interface components { * } */ WorkflowJobMetric: { + /** Job Id */ + job_id: string; /** * Name * @description The name of the metric variable. diff --git a/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue index 5371d14f84fe..aee942c40ee9 100644 --- a/client/src/components/ActivityBar/ActivityBar.vue +++ b/client/src/components/ActivityBar/ActivityBar.vue @@ -189,6 +189,10 @@ function setActiveSideBar(key: string) { activityStore.toggledSideBar = key; } +const canDrag = computed(() => { + return isActiveSideBar("settings"); +}); + defineExpose({ isActiveSideBar, setActiveSideBar, @@ -209,6 +213,7 @@ defineExpose({ -
+
diff --git a/client/src/components/Collections/CollectionCreatorModal.vue b/client/src/components/Collections/CollectionCreatorModal.vue index 334f6586e0da..8db25d243c6d 100644 --- a/client/src/components/Collections/CollectionCreatorModal.vue +++ b/client/src/components/Collections/CollectionCreatorModal.vue @@ -113,22 +113,25 @@ watch( } ); +const extensionInTitle = computed(() => { + const extensions = props.extensions; + if (!extensions || extensions.length == 0 || extensions.indexOf("data") >= 0) { + return ""; + } else { + return orList(extensions); + } +}); + const modalTitle = computed(() => { if (props.collectionType === "list") { - return localize( - `Create a collection from a list of ${fromSelection.value ? "selected" : ""} ${ - props.extensions?.length ? orList(props.extensions) : "" - } datasets` - ); + return localize(`Create a list of ${fromSelection.value ? "selected" : ""} ${extensionInTitle.value} datasets`); } else if (props.collectionType === "list:paired") { return localize( - `Create a collection of ${fromSelection.value ? "selected" : ""} ${ - props.extensions?.length ? orList(props.extensions) : "" - } dataset pairs` + `Create a list of ${fromSelection.value ? "selected" : ""} ${extensionInTitle.value} paired datasets` ); } else if (props.collectionType === "paired") { return localize( - `Create a ${props.extensions?.length ? orList(props.extensions) : ""} dataset pair collection ${ + `Create a ${extensionInTitle.value} paired dataset collection ${ fromSelection.value ? "from selected items" : "" }` ); diff --git a/client/src/components/Collections/ListCollectionCreator.vue b/client/src/components/Collections/ListCollectionCreator.vue index 841a206a3635..ca9e25aec416 100644 --- a/client/src/components/Collections/ListCollectionCreator.vue +++ b/client/src/components/Collections/ListCollectionCreator.vue @@ -412,28 +412,38 @@ function renameElement(element: any, name: string) { :history-id="props.historyId" :hide-source-items="hideSourceItems" :extensions="extensions" + collection-type="list" :no-items="props.initialElements.length == 0 && !props.fromSelection" @add-uploaded-files="addUploadedFiles" @on-update-datatype-toggle="changeDatatypeFilter" @onUpdateHideSourceItems="onUpdateHideSourceItems" @clicked-create="clickedCreate">