kumaradityaraj opened a new pull request, #3123:
URL: https://github.com/apache/incubator-kie-tools/pull/3123

   โœจ **Closes [2886](https://github.com/apache/incubator-kie-tools/issues/2886) 
โ€“ Prevent Deployment with Validation Errors**
   
   ---
   
   ### ๐Ÿ› ๏ธ Summary
   
   This PR enhances the workflow deployment experience by preventing users from 
deploying workflows that contains validation errors. It ensures proper feedback 
through UI alerts.
   
   ---
   
   ### โœ… Whatโ€™s Fixed
   
   - **Validation Alert on Deployment Attempt**  
     When a user tries to deploy a workflow that contains validation errors, a 
clear warning is shown:  
     > โš ๏ธ *"Please resolve validation errors in your workflow."*
   
   - **Danger Alert on Forced Deployment**  
     If the user attempts to bypass the warning and forcefully deploy the 
workflow:  
     - A **danger alert** is shown:  
       > ๐Ÿ›‘ *"Please resolve validation errors in your workflow before 
deployment."*  
     - The deployment modal is also **automatically closed** to prevent further 
action.
   
   ---
   
   ### ๐Ÿ“น Demo
   
   A video showcasing the updated behavior is attached.
   
   
   
https://github.com/user-attachments/assets/ad8406f2-d286-4580-9881-a3af5daf94f6
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to