@@ -185,6 +184,7 @@
:key="element.id"
@element-is-selected="elementSelected"
@element-is-discarded="elementDiscarded"
+ @onRename="(name) => (element.name = name)"
:class="{ selected: getSelectedDatasetElems.includes(element.id) }"
:element="element"
/>
@@ -236,20 +236,6 @@ export default {
duplicateNames: [],
};
},
- props: {
- /** distance from list edge to begin autoscrolling list */
- autoscrollDist: {
- type: Number,
- required: false,
- default: 24,
- },
- /** Color passed to hoverhighlight */
- highlightClr: {
- type: String,
- required: false,
- default: "rgba( 64, 255, 255, 1.0 )",
- },
- },
computed: {
atLeastOneDatasetIsSelected() {
return this.selectedDatasetElems.length > 0;
@@ -301,7 +287,7 @@ export default {
/** data for list in progress */
this.workingElements = [];
// copy initial list, sort, add ids if needed
- this.workingElements = this.initialElements.slice(0);
+ this.workingElements = JSON.parse(JSON.stringify(this.initialElements.slice(0)));
this._ensureElementIds();
this._validateElements();
this._mangleDuplicateNames();
diff --git a/client/src/components/Collections/ListDatasetCollectionElementView.vue b/client/src/components/Collections/ListDatasetCollectionElementView.vue
index 9e6895d56b7..b9638404b76 100644
--- a/client/src/components/Collections/ListDatasetCollectionElementView.vue
+++ b/client/src/components/Collections/ListDatasetCollectionElementView.vue
@@ -1,6 +1,6 @@
-
+
@@ -11,6 +11,9 @@
import _l from "utils/localization";
import ClickToEdit from "./common/ClickToEdit";
export default {
+ created: function () {
+ this.elementName = this.element.name;
+ },
props: {
element: {
required: true,
@@ -21,6 +24,7 @@ export default {
titleDiscardButton: _l("Remove this dataset from the list"),
titleElementName: _l("Click to rename"),
isSelected: false,
+ elementName: "",
};
},
components: { ClickToEdit },
@@ -37,6 +41,11 @@ export default {
return "ListDatasetCollectionElementView()";
},
},
+ watch: {
+ elementName() {
+ this.$emit("onRename", this.elementName);
+ },
+ },
};
diff --git a/client/src/components/Collections/PairCollectionCreator.vue b/client/src/components/Collections/PairCollectionCreator.vue
index 10b6d81130f..4088a31de1f 100644
--- a/client/src/components/Collections/PairCollectionCreator.vue
+++ b/client/src/components/Collections/PairCollectionCreator.vue
@@ -1,6 +1,6 @@
-
+
{{ errorText }}
@@ -78,11 +78,11 @@
@@ -163,6 +163,11 @@ export default {
mixins: [mixin],
created() {
this._elementsSetUp();
+ this.initialSuggestedName = this._guessNameForPair(
+ this.workingElements[0],
+ this.workingElements[1],
+ this.removeExtensions
+ );
},
data: function () {
return {
@@ -178,6 +183,8 @@ export default {
minElements: 2,
workingElements: [],
invalidElements: [],
+ removeExtensions: true,
+ initialSuggestedName: "",
};
},
computed: {
@@ -209,7 +216,7 @@ export default {
/** data for list in progress */
this.workingElements = [];
// copy initial list, sort, add ids if needed
- this.workingElements = this.initialElements.slice(0);
+ this.workingElements = JSON.parse(JSON.stringify(this.initialElements.slice(0)));
this._ensureElementIds();
this._validateElements();
},
@@ -264,6 +271,41 @@ export default {
toString: function () {
return "PairCollectionCreator";
},
+ removeExtensionsToggle: function () {
+ this.removeExtensions = !this.removeExtensions;
+ this.initialSuggestedName = this._guessNameForPair(
+ this.workingElements[0],
+ this.workingElements[1],
+ this.removeExtensions
+ );
+ },
+ _guessNameForPair: function (fwd, rev, removeExtensions) {
+ removeExtensions = removeExtensions ? removeExtensions : this.removeExtensions;
+ var fwdName = fwd.name;
+ var revName = rev.name;
+
+ var lcs = this._naiveStartingAndEndingLCS(fwdName, revName);
+
+ /** remove url prefix if files were uploaded by url */
+ var lastSlashIndex = lcs.lastIndexOf("/");
+ if (lastSlashIndex > 0) {
+ var urlprefix = lcs.slice(0, lastSlashIndex + 1);
+ lcs = lcs.replace(urlprefix, "");
+ fwdName = fwdName.replace(extension, "");
+ revName = revName.replace(extension, "");
+ }
+
+ if (removeExtensions) {
+ var lastDotIndex = lcs.lastIndexOf(".");
+ if (lastDotIndex > 0) {
+ var extension = lcs.slice(lastDotIndex, lcs.length);
+ lcs = lcs.replace(extension, "");
+ fwdName = fwdName.replace(extension, "");
+ revName = revName.replace(extension, "");
+ }
+ }
+ return lcs || `${fwdName} & ${revName}`;
+ },
},
};
diff --git a/client/src/components/Collections/PairedElementView.vue b/client/src/components/Collections/PairedElementView.vue
index 9be35e6a35b..a742f3eb900 100644
--- a/client/src/components/Collections/PairedElementView.vue
+++ b/client/src/components/Collections/PairedElementView.vue
@@ -19,10 +19,14 @@ import ClickToEdit from "./common/ClickToEdit.vue";
import _l from "utils/localization";
export default {
components: { ClickToEdit },
+ created: function () {
+ this.name = this.pair.name;
+ },
data: function () {
return {
unpairButtonTitle: _l("Unpair"),
titlePairName: _l("Click to rename"),
+ name: "",
};
},
props: {
@@ -33,10 +37,6 @@ export default {
required: true,
type: Function,
},
- name: {
- required: true,
- type: String,
- },
},
methods: {
l(str) {
diff --git a/client/src/components/Collections/PairedListCollectionCreator.vue b/client/src/components/Collections/PairedListCollectionCreator.vue
index e3b84317ecd..5a0adc7beaf 100644
--- a/client/src/components/Collections/PairedListCollectionCreator.vue
+++ b/client/src/components/Collections/PairedListCollectionCreator.vue
@@ -1,6 +1,6 @@
-
+
{{ errorText }}
@@ -89,7 +89,7 @@
{{ allInvalidElementsPartTwo }}
-
+
{{ l("Collections cannot have duplicated names. The following list names are duplicated: ") }}
@@ -335,7 +334,7 @@
-
+
@@ -408,8 +407,7 @@
v-for="pair in pairedElements"
:key="pair.id"
:pair="pair"
- :name="pair.name"
- :unlinkFn="clickUnpair(pair)"
+ :unlink-fn="clickUnpair(pair)"
@onPairRename="(name) => (pair.name = name)"
/>
@@ -569,7 +567,7 @@ export default {
this.selectedDatasetElems = [];
this.initialFiltersSet();
// copy initial list, sort, add ids if needed
- this.workingElements = this.initialElements.slice(0);
+ this.workingElements = JSON.parse(JSON.stringify(this.initialElements.slice(0)));
this._ensureElementIds();
this._validateElements();
this._sortInitialList();
@@ -693,27 +691,22 @@ export default {
/** try to find a good pair name for the given fwd and rev datasets */
_guessNameForPair: function (fwd, rev, removeExtensions) {
removeExtensions = removeExtensions ? removeExtensions : this.removeExtensions;
- var fwdName = fwd.name;
- var revName = rev.name;
-
- var lcs = this._naiveStartingAndEndingLCS(
- fwdName.replace(new RegExp(this.filters[0]), ""),
- revName.replace(new RegExp(this.filters[1]), "")
- );
-
+ let fwdName = fwd.name;
+ let revName = rev.name;
+ const fwdNameFilter = fwdName.replace(new RegExp(this.forwardFilter), "");
+ const revNameFilter = revName.replace(new RegExp(this.reverseFilter), "");
+ let lcs = this._naiveStartingAndEndingLCS(fwdNameFilter, revNameFilter);
/** remove url prefix if files were uploaded by url */
- var lastSlashIndex = lcs.lastIndexOf("/");
+ const lastSlashIndex = lcs.lastIndexOf("/");
if (lastSlashIndex > 0) {
- var urlprefix = lcs.slice(0, lastSlashIndex + 1);
+ const urlprefix = lcs.slice(0, lastSlashIndex + 1);
lcs = lcs.replace(urlprefix, "");
- fwdName = fwdName.replace(extension, "");
- revName = revName.replace(extension, "");
}
if (removeExtensions) {
- var lastDotIndex = lcs.lastIndexOf(".");
+ const lastDotIndex = lcs.lastIndexOf(".");
if (lastDotIndex > 0) {
- var extension = lcs.slice(lastDotIndex, lcs.length);
+ const extension = lcs.slice(lastDotIndex, lcs.length);
lcs = lcs.replace(extension, "");
fwdName = fwdName.replace(extension, "");
revName = revName.replace(extension, "");
@@ -721,38 +714,6 @@ export default {
}
return lcs || `${fwdName} & ${revName}`;
},
- /** return the concat'd longest common prefix and suffix from two strings */
- _naiveStartingAndEndingLCS: function (s1, s2) {
- var fwdLCS = "";
- var revLCS = "";
- var i = 0;
- var j = 0;
- while (i < s1.length && i < s2.length) {
- if (s1[i] !== s2[i]) {
- break;
- }
- fwdLCS += s1[i];
- i += 1;
- }
- if (i === s1.length) {
- return s1;
- }
- if (i === s2.length) {
- return s2;
- }
-
- i = s1.length - 1;
- j = s2.length - 1;
- while (i >= 0 && j >= 0) {
- if (s1[i] !== s2[j]) {
- break;
- }
- revLCS = [s1[i], revLCS].join("");
- i -= 1;
- j -= 1;
- }
- return fwdLCS + revLCS;
- },
clickAutopair: function () {
// Unselect any selected elements
this.selectedForwardElement = null;
@@ -969,7 +930,6 @@ export default {
},
clickedCreate: function (collectionName) {
this.checkForDuplicates();
- console.log(this.state, " = state");
if (this.state == "build") {
this.$emit("clicked-create", this.workingElements, this.collectionName, this.hideSourceItems);
return this.creationFn(this.pairedElements, collectionName, this.hideSourceItems)
@@ -983,7 +943,6 @@ export default {
var existingPairNames = {};
this.duplicatePairNames = [];
var valid = true;
- console.log("in check for dupes");
this.pairedElements.forEach((pair) => {
if (Object.prototype.hasOwnProperty.call(existingPairNames, pair.name)) {
valid = false;
@@ -992,7 +951,6 @@ export default {
}
existingPairNames[pair.name] = true;
});
- console.log("valid = false, right? :", valid);
this.state = valid ? "build" : "duplicates";
},
stripExtension(name) {
diff --git a/client/src/components/Collections/common/CollectionCreator.vue b/client/src/components/Collections/common/CollectionCreator.vue
index 0dd0fe71267..efcee013b0d 100644
--- a/client/src/components/Collections/common/CollectionCreator.vue
+++ b/client/src/components/Collections/common/CollectionCreator.vue
@@ -1,7 +1,7 @@
-
- No datasets found.
-
+
No datasets found.
diff --git a/client/src/components/History/ContentOperations.vue b/client/src/components/History/ContentOperations.vue
index 39fcf99eac1..d1b66ef6216 100644
--- a/client/src/components/History/ContentOperations.vue
+++ b/client/src/components/History/ContentOperations.vue
@@ -8,7 +8,7 @@
-
+
{{ history.niceSize | localize }}
-
+
fs.writable);
- // console.log(fileSources);
this.initializing = false;
},
},
diff --git a/client/src/components/HistoryExport/ToLink.vue b/client/src/components/HistoryExport/ToLink.vue
index a6b6d2c807c..9ede813b4c9 100644
--- a/client/src/components/HistoryExport/ToLink.vue
+++ b/client/src/components/HistoryExport/ToLink.vue
@@ -4,7 +4,7 @@
{{ errorMessage }}
@@ -17,11 +17,11 @@
Link for download ready
-
+
. Use this link to download the archive or import it on another Galaxy server.
-
An out of date export is ready .
+
An out of date export is ready .
The history has changed since this export was generated,
diff --git a/client/src/components/HistoryExport/ToRemoteFile.vue b/client/src/components/HistoryExport/ToRemoteFile.vue
index c78bdf6bf30..a4f8142a757 100644
--- a/client/src/components/HistoryExport/ToRemoteFile.vue
+++ b/client/src/components/HistoryExport/ToRemoteFile.vue
@@ -4,7 +4,7 @@
{{ errorMessage }}
@@ -25,7 +25,7 @@
description="Select a 'remote files' directory to export history archive to."
class="mt-3"
>
-
+
diff --git a/client/src/components/HistoryImport.vue b/client/src/components/HistoryImport.vue
index 34feb5c28a9..df29ec5123a 100644
--- a/client/src/components/HistoryImport.vue
+++ b/client/src/components/HistoryImport.vue
@@ -4,7 +4,7 @@
{{ errorMessage }}
diff --git a/client/src/components/HistoryView.vue b/client/src/components/HistoryView.vue
index 17139e4066b..2097ff141fd 100644
--- a/client/src/components/HistoryView.vue
+++ b/client/src/components/HistoryView.vue
@@ -11,9 +11,7 @@
Switch to this history
-
+
diff --git a/client/src/components/InteractiveTools/InteractiveTools.vue b/client/src/components/InteractiveTools/InteractiveTools.vue
index 8906717daf1..e6007f9d19c 100644
--- a/client/src/components/InteractiveTools/InteractiveTools.vue
+++ b/client/src/components/InteractiveTools/InteractiveTools.vue
@@ -37,12 +37,8 @@
>
-
-
+
+
diff --git a/client/src/components/JobInformation/CodeRow.vue b/client/src/components/JobInformation/CodeRow.vue
index 2a837eef465..c97dbdded5f 100644
--- a/client/src/components/JobInformation/CodeRow.vue
+++ b/client/src/components/JobInformation/CodeRow.vue
@@ -1,38 +1,76 @@
-
+
|
{{ codeLabel }}
|
-
- {{ codeItem }}
- |
-
- {{ codeItem }}
- (Click to expand)
+ |
+
+
+ {{ codeItem }}
+
+
+
+
+
|
empty |
+
+
diff --git a/client/src/components/JobInformation/JobInformation.vue b/client/src/components/JobInformation/JobInformation.vue
index cd021076e3a..38eb4b4e914 100644
--- a/client/src/components/JobInformation/JobInformation.vue
+++ b/client/src/components/JobInformation/JobInformation.vue
@@ -30,9 +30,9 @@
-
-
-
+
+
+
| Tool Exit Code: |
{{ job.exit_code }} |
@@ -40,7 +40,7 @@
| Job Messages |
- |
diff --git a/client/src/components/JobParameters/JobParametersArrayValue.vue b/client/src/components/JobParameters/JobParametersArrayValue.vue
index 467021aaebb..5e0e6e6d449 100644
--- a/client/src/components/JobParameters/JobParametersArrayValue.vue
+++ b/client/src/components/JobParameters/JobParametersArrayValue.vue
@@ -1,6 +1,6 @@
-
+
-
diff --git a/client/src/components/Libraries/LibrariesList.vue b/client/src/components/Libraries/LibrariesList.vue
index cbd8af0dc92..a1eff576b73 100644
--- a/client/src/components/Libraries/LibrariesList.vue
+++ b/client/src/components/Libraries/LibrariesList.vue
@@ -9,9 +9,7 @@
Library
-
- include deleted
-
+ include deleted
exclude restricted
@@ -121,7 +119,7 @@
size="sm"
class="lib-btn permission_library_btn"
:title="'Permissions of ' + row.item.name"
- :href="`${root}library/list#library/${row.item.id}/permissions`"
+ :to="{ path: `/${row.item.id}/permissions` }"
>
Manage
diff --git a/client/src/components/Libraries/LibraryFolder/LibraryFolder.vue b/client/src/components/Libraries/LibraryFolder/LibraryFolder.vue
index 4636edff5e7..61083a6173c 100644
--- a/client/src/components/Libraries/LibraryFolder/LibraryFolder.vue
+++ b/client/src/components/Libraries/LibraryFolder/LibraryFolder.vue
@@ -9,13 +9,13 @@
@deleteFromTable="deleteFromTable"
@setBusy="setBusy($event)"
@newFolder="newFolder"
- :folderContents="folderContents"
+ :folder-contents="folderContents"
:include_deleted="include_deleted"
:folder_id="current_folder_id"
:selected="selected"
:metadata="folder_metadata"
:unselected="unselected"
- :isAllSelectedMode="isAllSelectedMode"
+ :is-all-selected-mode="isAllSelectedMode"
/>
-
+
Libraries
@@ -116,14 +116,14 @@
import Vue from "vue";
import { getAppRoot } from "onload/loadConfig";
import BootstrapVue from "bootstrap-vue";
-import { Services } from "./services";
+import { Services } from "components/Libraries/LibraryPermissions/services";
import { Toast } from "ui/toast";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { getGalaxyInstance } from "app";
-import PermissionsInputField from "./PermissionsInputField.vue";
+import PermissionsInputField from "components/Libraries/LibraryPermissions/PermissionsInputField";
import { initPermissionsIcons } from "components/Libraries/icons";
-import LibraryPermissionsWarning from "components/Libraries/LibraryFolder/LibraryFolderPermissions/LibraryPermissionsWarning.vue";
-import { extractRoles } from "./utils";
+import LibraryPermissionsWarning from "components/Libraries/LibraryFolder/LibraryFolderPermissions/LibraryPermissionsWarning";
+import { extractRoles } from "components/Libraries/library-utils";
import "vue-multiselect/dist/vue-multiselect.min.css";
import VueObserveVisibility from "vue-observe-visibility";
diff --git a/client/src/components/Libraries/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue b/client/src/components/Libraries/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue
index 2db71a0a130..0070c5cd1af 100644
--- a/client/src/components/Libraries/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue
+++ b/client/src/components/Libraries/LibraryFolder/LibraryFolderPermissions/LibraryFolderPermissions.vue
@@ -1,70 +1,55 @@
-
-
-
-
-
-
-
Folder permissions
-
+
+
+
+
Folder permissions
+
-
+ @input="setUserPermissionsPreferences"
+ />
-
-
-
-
-
+
+
+
+
@@ -72,13 +57,12 @@
import Vue from "vue";
import { getAppRoot } from "onload/loadConfig";
import BootstrapVue from "bootstrap-vue";
-import { Services } from "./services";
+import { Services } from "components/Libraries/LibraryPermissions/services";
import { Toast } from "ui/toast";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
-import { getGalaxyInstance } from "app";
-import PermissionsInputField from "./PermissionsInputField.vue";
-import LibraryPermissionsWarning from "components/Libraries/LibraryFolder/LibraryFolderPermissions/LibraryPermissionsWarning.vue";
-import { extractRoles } from "./utils";
+import PermissionsInputField from "components/Libraries/LibraryPermissions/PermissionsInputField";
+import PermissionsHeader from "components/Libraries/LibraryPermissions/PermissionsHeader";
+import { extractRoles } from "components/Libraries/library-utils";
import { initPermissionsIcons } from "components/Libraries/icons";
@@ -94,14 +78,13 @@ export default {
},
components: {
PermissionsInputField,
- LibraryPermissionsWarning,
+ PermissionsHeader,
FontAwesomeIcon,
},
data() {
return {
permissions: undefined,
folder: undefined,
- is_admin: undefined,
add_library_item_role_list: undefined,
modify_folder_role_list: undefined,
manage_folder_role_list: undefined,
@@ -112,10 +95,8 @@ export default {
};
},
created() {
- const Galaxy = getGalaxyInstance();
this.root = getAppRoot();
this.services = new Services({ root: this.root });
- this.is_admin = Galaxy.user.attributes.is_admin;
this.services.getFolderPermissions(this.folder_id).then((fetched_permissions) => {
this.add_library_item_role_list = extractRoles(fetched_permissions.add_library_item_role_list);
this.manage_folder_role_list = extractRoles(fetched_permissions.manage_folder_role_list);
@@ -152,9 +133,3 @@ export default {
},
};
-
-
diff --git a/client/src/components/Libraries/LibraryFolder/LibraryFolderPermissions/utils.js b/client/src/components/Libraries/LibraryFolder/LibraryFolderPermissions/utils.js
deleted file mode 100644
index 692c1db1b51..00000000000
--- a/client/src/components/Libraries/LibraryFolder/LibraryFolderPermissions/utils.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// legacy code
-export function extractRoles(role_list) {
- const selected_roles = [];
- role_list.forEach((item) => {
- selected_roles.push({ name: item[0], id: item[1] });
- });
-
- return selected_roles;
-}
diff --git a/client/src/components/Libraries/LibraryFolder/TopToolbar/FolderTopBar.vue b/client/src/components/Libraries/LibraryFolder/TopToolbar/FolderTopBar.vue
index 15aede0edec..f1c64ffbde7 100644
--- a/client/src/components/Libraries/LibraryFolder/TopToolbar/FolderTopBar.vue
+++ b/client/src/components/Libraries/LibraryFolder/TopToolbar/FolderTopBar.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/client/src/components/Markdown/Elements/HistoryDatasetCollection/CollectionDisplay.vue b/client/src/components/Markdown/Elements/HistoryDatasetCollection/CollectionDisplay.vue
index 7c089661d21..10e5679d1e6 100644
--- a/client/src/components/Markdown/Elements/HistoryDatasetCollection/CollectionDisplay.vue
+++ b/client/src/components/Markdown/Elements/HistoryDatasetCollection/CollectionDisplay.vue
@@ -2,6 +2,20 @@
+
+
+
+
+
Dataset Collection:
{{ collectionName }}
@@ -18,6 +32,7 @@
diff --git a/client/src/components/User/CloudAuth/CloudAuth.vue b/client/src/components/User/CloudAuth/CloudAuth.vue
index 4eda41fb247..2aa4346c80c 100644
--- a/client/src/components/User/CloudAuth/CloudAuth.vue
+++ b/client/src/components/User/CloudAuth/CloudAuth.vue
@@ -60,9 +60,7 @@
-
+
diff --git a/client/src/components/User/CloudAuth/CloudAuthItem.vue b/client/src/components/User/CloudAuth/CloudAuthItem.vue
index dc7a13d3558..6f1982a73a0 100644
--- a/client/src/components/User/CloudAuth/CloudAuthItem.vue
+++ b/client/src/components/User/CloudAuth/CloudAuthItem.vue
@@ -41,7 +41,8 @@
-
+
+
+
diff --git a/client/src/components/User/CloudAuth/CredentialForm.vue b/client/src/components/User/CloudAuth/CredentialForm.vue
index e27decdc2e5..ee8a1901cf1 100644
--- a/client/src/components/User/CloudAuth/CredentialForm.vue
+++ b/client/src/components/User/CloudAuth/CredentialForm.vue
@@ -39,9 +39,7 @@
-
-
-
-
Delete Account
-
- Delete your account on this Galaxy server.
+
+
+
+
+
Delete Account
+
Delete your account on this Galaxy server.
+
+
+ {{ deleteError }}
+
+ This action cannot be undone. Your account will be permanently deleted, along with the
+ data contained in it.
+
+
+
+
+
+
+
+
-
-
- {{ deleteError }}
-
- This action cannot be undone. Your account will be permanently deleted, along with the data
- contained in it.
-
-
-
-
-
-
-
-
-
-
+
+
You are using {{ diskUsage }} of disk space in this Galaxy instance.
@@ -88,6 +88,7 @@ import _l from "utils/localization";
import axios from "axios";
import QueryStringParsing from "utils/query-string-parsing";
import { getUserPreferencesModel } from "components/User/UserPreferencesModel";
+import ConfigProvider from "components/providers/ConfigProvider";
import { userLogoutAll, userLogoutClient } from "layout/menu";
import "@fortawesome/fontawesome-svg-core";
@@ -104,6 +105,9 @@ export default {
required: true,
},
},
+ components: {
+ ConfigProvider,
+ },
data() {
return {
email: "",
diff --git a/client/src/components/User/UserPreferencesModel.js b/client/src/components/User/UserPreferencesModel.js
index c5800180134..16e69b87847 100644
--- a/client/src/components/User/UserPreferencesModel.js
+++ b/client/src/components/User/UserPreferencesModel.js
@@ -42,12 +42,14 @@ export const getUserPreferencesModel = () => {
icon: "fa-users",
submit_title: "Save Permissions",
redirect: "user",
+ shouldRender: !config.single_user,
},
make_data_private: {
title: _l("Make All Data Private"),
id: "edit-preferences-make-data-private",
description: _l("Click here to make all data private."),
icon: "fa-lock",
+ shouldRender: !config.single_user,
},
api_key: {
title: _l("Manage API Key"),
@@ -86,7 +88,7 @@ export const getUserPreferencesModel = () => {
id: "edit-preferences-sign-out",
description: _l("Click here to sign out of all sessions."),
icon: "fa-sign-out",
- shouldRender: !!Galaxy.session_csrf_token,
+ shouldRender: !!Galaxy.session_csrf_token && !config.single_user,
},
};
};
diff --git a/client/src/components/Workflow/Editor/Attributes.vue b/client/src/components/Workflow/Editor/Attributes.vue
index 202c77c9403..1c3a8e592e4 100644
--- a/client/src/components/Workflow/Editor/Attributes.vue
+++ b/client/src/components/Workflow/Editor/Attributes.vue
@@ -32,13 +32,11 @@
v-model="annotationCurrent"
@keyup="$emit('update:annotationCurrent', annotationCurrent)"
/>
-
- These notes will be visible when this workflow is viewed.
-
+
These notes will be visible when this workflow is viewed.
License
-
+
Creator
diff --git a/client/src/components/Workflow/Editor/Index.test.js b/client/src/components/Workflow/Editor/Index.test.js
index 4d9d2f470e1..c33c647deae 100644
--- a/client/src/components/Workflow/Editor/Index.test.js
+++ b/client/src/components/Workflow/Editor/Index.test.js
@@ -39,7 +39,7 @@ describe("Index", () => {
wrapper = shallowMount(Index, {
propsData: {
id: "workflow_id",
- version: 1,
+ initialVersion: 1,
tags: ["moo", "cow"],
moduleSections: [],
dataManagers: [],
diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue
index a7b5aa55eaa..23b31e6ea4c 100644
--- a/client/src/components/Workflow/Editor/Index.vue
+++ b/client/src/components/Workflow/Editor/Index.vue
@@ -1,14 +1,14 @@
-
+
diff --git a/client/src/components/WorkflowInvocationState/DatasetCollectionContents.vue b/client/src/components/WorkflowInvocationState/DatasetCollectionContents.vue
index 08ee70deb24..9e4524df769 100644
--- a/client/src/components/WorkflowInvocationState/DatasetCollectionContents.vue
+++ b/client/src/components/WorkflowInvocationState/DatasetCollectionContents.vue
@@ -1,13 +1,10 @@
-
+
diff --git a/client/src/components/WorkflowInvocationState/DatasetCollectionUIWrapper.vue b/client/src/components/WorkflowInvocationState/DatasetCollectionUIWrapper.vue
index 4b054b1470f..b61e066bc2a 100644
--- a/client/src/components/WorkflowInvocationState/DatasetCollectionUIWrapper.vue
+++ b/client/src/components/WorkflowInvocationState/DatasetCollectionUIWrapper.vue
@@ -14,7 +14,7 @@
/>
Loading Dataset Collection...
-
+
diff --git a/client/src/components/WorkflowInvocationState/JobStep.vue b/client/src/components/WorkflowInvocationState/JobStep.vue
index f01ef24f404..0a519709485 100644
--- a/client/src/components/WorkflowInvocationState/JobStep.vue
+++ b/client/src/components/WorkflowInvocationState/JobStep.vue
@@ -2,18 +2,12 @@
-
+
diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationDetails.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationDetails.vue
index 931d07cbbc4..a21a1b26a6c 100644
--- a/client/src/components/WorkflowInvocationState/WorkflowInvocationDetails.vue
+++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationDetails.vue
@@ -43,10 +43,10 @@
@@ -114,7 +114,7 @@ export default {
complete: () => console.log("Invocation finished, stopping history dataset monitor"),
});
}
- }
+ },
},
};
diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue
index 2c759605426..7ed90640a9d 100644
--- a/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue
+++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue
@@ -61,7 +61,7 @@
diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue
index 6b5793bf92d..683ab5e6510 100644
--- a/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue
+++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue
@@ -1,7 +1,7 @@