utkarshsingh1102 commented on issue #3342: URL: https://github.com/apache/apisix-dashboard/issues/3342#issuecomment-4105298561
Hi @vanshaj2023 , I’d like to take up issue #3342 (missing confirmation dialog when deleting a plugin from the form). My proposed approach: Introduce a confirmation modal in PluginCard.tsx using modals.openConfirmModal Extract a handleDelete function to trigger the modal Ensure onDelete?.(name) is only executed inside onConfirm Keep the modal configuration consistent with DeleteResourceBtn (same confirmProps and i18n keys like info.delete.title, info.delete.content, etc.) This will align plugin deletion UX with existing resource deletion behavior and prevent accidental removals. Please let me know if this approach works or if you'd prefer any adjustments before I proceed. Thanks! -- 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]
