From 053e96278a53475f7c6066248ac4c49056b34c1f 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 d97512c24cc5..e0d3dd646ab8 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 b974a4e824fa..dec4617e26d4 100644
--- a/client/src/components/Workflow/Editor/Index.vue
+++ b/client/src/components/Workflow/Editor/Index.vue
@@ -77,7 +77,8 @@
v-else-if="isActiveSideBar('workflow-editor-workflows')"
:current-workflow-id="id"
@insertWorkflow="onInsertWorkflow"
- @insertWorkflowSteps="onInsertWorkflowSteps" />
+ @insertWorkflowSteps="onInsertWorkflowSteps"
+ @createWorkflow="createNewWorkflow" />