Jaswanth-arjun opened a new pull request, #3345:
URL: https://github.com/apache/apisix-dashboard/pull/3345

   ## Description
   
   Currently, deleting a plugin from forms (Routes, Services, Plugin Configs) 
happens immediately without confirmation, which may lead to accidental data 
loss.
   
   ## Changes
   
   - Added confirmation dialog using modals.openConfirmModal
   - Prevents accidental deletion of plugin configurations
   - Aligns behavior with existing DeleteResourceBtn UX
   
   ## Impact
   
   - Improves user experience
   - Ensures consistency across dashboard delete actions
   - Reduces risk of unintended data loss
   
   ## Related Issue
   <!-- Add issue number if applicable, e.g., Fixes #123 -->
   
   ## Testing
   - Added plugin, confirmed delete shows confirmation modal
   - Cancel button closes modal without deleting
   - Confirm button deletes plugin as expected
   <img width="1915" height="957" alt="image" 
src="https://github.com/user-attachments/assets/714620d9-148c-4e9f-a13c-b6070cd67cfd";
 />
   


-- 
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]

Reply via email to