Skip to content

fix(plugin): add confirmation dialog before deleting plugin card#3345

Open
Jaswanth-arjun wants to merge 2 commits intoapache:masterfrom
Jaswanth-arjun:master
Open

fix(plugin): add confirmation dialog before deleting plugin card#3345
Jaswanth-arjun wants to merge 2 commits intoapache:masterfrom
Jaswanth-arjun:master

Conversation

@Jaswanth-arjun
Copy link

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

Testing

  • Added plugin, confirmed delete shows confirmation modal
  • Cancel button closes modal without deleting
  • Confirm button deletes plugin as expected
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant