About This Galaxy
diff --git a/client/src/components/ActivityBar/ActivityBar.test.js b/client/src/components/ActivityBar/ActivityBar.test.js
index d927b3e17a10..7dce1ce3fb29 100644
--- a/client/src/components/ActivityBar/ActivityBar.test.js
+++ b/client/src/components/ActivityBar/ActivityBar.test.js
@@ -1,7 +1,7 @@
import { createTestingPinia } from "@pinia/testing";
import { shallowMount } from "@vue/test-utils";
import { PiniaVuePlugin } from "pinia";
-import { getLocalVue } from "tests/jest/helpers";
+import { dispatchEvent, getLocalVue } from "tests/jest/helpers";
import { useConfig } from "@/composables/config";
import { useActivityStore } from "@/stores/activityStore";
@@ -12,7 +12,7 @@ import mountTarget from "./ActivityBar.vue";
jest.mock("composables/config");
useConfig.mockReturnValue({
config: {},
- isLoaded: true,
+ isConfigLoaded: true,
});
jest.mock("vue-router/composables", () => ({
@@ -37,12 +37,6 @@ function testActivity(id, newOptions = {}) {
return { ...defaultOptions, ...newOptions };
}
-const createBubbledEvent = (type, props = {}) => {
- const event = new Event(type, { bubbles: true });
- Object.assign(event, props);
- return event;
-};
-
describe("ActivityBar", () => {
let activityStore;
let eventStore;
@@ -74,7 +68,7 @@ describe("ActivityBar", () => {
name: "workflow-name",
});
const bar = wrapper.find("[data-description='activity bar']");
- bar.element.dispatchEvent(createBubbledEvent("dragenter", { clientX: 0, clientY: 0 }));
+ dispatchEvent(bar, "dragenter");
const emittedEvent = wrapper.emitted()["dragstart"][0][0];
expect(emittedEvent.to).toBe("/workflows/run?id=workflow-id");
});
diff --git a/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue
index c211ef885fbb..9dc3cf03f173 100644
--- a/client/src/components/ActivityBar/ActivityBar.vue
+++ b/client/src/components/ActivityBar/ActivityBar.vue
@@ -17,10 +17,10 @@ import NotificationItem from "./Items/NotificationItem.vue";
import UploadItem from "./Items/UploadItem.vue";
import ContextMenu from "@/components/Common/ContextMenu.vue";
import FlexPanel from "@/components/Panels/FlexPanel.vue";
-import ToolBox from "@/components/Panels/ProviderAwareToolBox.vue";
+import ToolPanel from "@/components/Panels/ToolPanel.vue";
import WorkflowBox from "@/components/Panels/WorkflowBox.vue";
-const { config } = useConfig();
+const { config, isConfigLoaded } = useConfig();
const route = useRoute();
const userStore = useUserStore();
@@ -193,7 +193,7 @@ function toggleContextMenu(evt: MouseEvent) {
-
+
diff --git a/client/src/components/Collections/common/CollectionEditView.vue b/client/src/components/Collections/common/CollectionEditView.vue
index 648ae3840ba6..3d43da30a30b 100644
--- a/client/src/components/Collections/common/CollectionEditView.vue
+++ b/client/src/components/Collections/common/CollectionEditView.vue
@@ -25,7 +25,7 @@