This is an automated email from the ASF dual-hosted git repository.

aicam pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e41b94480 fix(clone): add clone button (#3651)
3e41b94480 is described below

commit 3e41b94480fc0dee840e307b50097da2e6fece9d
Author: ali risheh <[email protected]>
AuthorDate: Mon Aug 11 10:55:11 2025 -0700

    fix(clone): add clone button (#3651)
    
    ## Design decision
    After discussion on Aug 9 2025 about number of cloned users. The
    conclusion was that we keep the logic that number of clones is equal to
    number of people who cloned it but we need to add another button and use
    a different icon.
    <img width="1307" height="544" alt="Screenshot from 2025-08-11 09-50-44"
    
src="https://github.com/user-attachments/assets/d9ed2414-13b1-4247-bb17-8d0d2e982a22";
    />
---
 .../workflow/detail/hub-workflow-detail.component.html    | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git 
a/core/gui/src/app/hub/component/workflow/detail/hub-workflow-detail.component.html
 
b/core/gui/src/app/hub/component/workflow/detail/hub-workflow-detail.component.html
index 3a7b1efcd3..2c1d53feec 100644
--- 
a/core/gui/src/app/hub/component/workflow/detail/hub-workflow-detail.component.html
+++ 
b/core/gui/src/app/hub/component/workflow/detail/hub-workflow-detail.component.html
@@ -66,6 +66,16 @@
           <span>{{ formatCount(likeCount) }}</span>
         </button>
 
+        <button
+          nz-button
+          class="clone-button"
+          title="Copy">
+          <i
+            nz-icon
+            nzType="user"></i>
+          <span>{{ formatCount(cloneCount) }}</span>
+        </button>
+
         <button
           nz-button
           nzType="primary"
@@ -73,10 +83,7 @@
           title="Copy"
           [disabled]="!isLogin || !isHub || !isActivatedUser"
           (click)="cloneWorkflow()">
-          <i
-            nz-icon
-            nzType="copy"></i>
-          <span>{{ formatCount(cloneCount) }}</span>
+          <span>Clone</span>
         </button>
       </div>
     </div>

Reply via email to