Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bound confirm on resource delete #2568

Merged

Conversation

YaroslavChuiko
Copy link
Contributor

@YaroslavChuiko YaroslavChuiko commented Oct 2, 2024

Summary

This PR adds a confirmation modal that appears when users attempt to delete resources, ensuring any courses or cooperations are not updated unintentionally. This modal prompts users to confirm or cancel their action, improving the overall user experience and preventing accidental edits.

Changes

  • Binding Logic: Bound the modal to trigger on delete actions, responding dynamically based on the user's actions.

Testing

  1. Open a resource and attempt to delete it.
  2. Verify that the confirmation modal appears, prompting a decision to confirm or cancel.
  3. Ensure that confirming proceeds with the delete, while canceling dismisses the modal without saving changes.

@YaroslavChuiko YaroslavChuiko added Frontend part feature Tutor Implementation that regard to the tutor labels Oct 2, 2024
@YaroslavChuiko YaroslavChuiko self-assigned this Oct 2, 2024
@YaroslavChuiko YaroslavChuiko linked an issue Oct 2, 2024 that may be closed by this pull request
2 tasks
Copy link

sonarqubecloud bot commented Oct 2, 2024

@YaroslavChuiko YaroslavChuiko merged commit a067c74 into develop Oct 3, 2024
3 checks passed
@YaroslavChuiko YaroslavChuiko deleted the feature/2528/bind-confirmation-on-resources-delete branch October 3, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Frontend part Tutor Implementation that regard to the tutor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(SP: 3)Bind confirmation on delete resources depending on certain rules
4 participants