From ecb8820d3a6653fa4dc4f44820327f47c38ce118 Mon Sep 17 00:00:00 2001
From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com>
Date: Fri, 6 Dec 2024 22:53:58 +0100
Subject: [PATCH] add create button to activity panel
---
.../src/components/Panels/ActivityPanel.vue | 6 +++--
.../src/components/Panels/WorkflowPanel.vue | 24 +++++++++++++++++++
.../src/components/Workflow/Editor/Index.vue | 3 ++-
3 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/client/src/components/Panels/ActivityPanel.vue b/client/src/components/Panels/ActivityPanel.vue
index 20fb01d0d4ca..4e080ad9b1d5 100644
--- a/client/src/components/Panels/ActivityPanel.vue
+++ b/client/src/components/Panels/ActivityPanel.vue
@@ -1,5 +1,5 @@
+
+
+
@@ -189,4 +208,9 @@ function scrollToTop() {
color: $text-light;
margin: 0.5rem;
}
+
+.create-button:hover {
+ background-color: #c8cfd6;
+ border-color: #c1c9d0;
+}
diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue
index 547c2be03a0e..b892ce3ae7d9 100644
--- a/client/src/components/Workflow/Editor/Index.vue
+++ b/client/src/components/Workflow/Editor/Index.vue
@@ -70,7 +70,8 @@
v-else-if="isActiveSideBar('workflow-editor-workflows')"
:current-workflow-id="id"
@insertWorkflow="onInsertWorkflow"
- @insertWorkflowSteps="onInsertWorkflowSteps" />
+ @insertWorkflowSteps="onInsertWorkflowSteps"
+ @createWorkflow="createNewWorkflow" />