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

Add confirmation dialog while deleting a comment in questions and comments section #5970

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

Aadesh-Baral
Copy link
Contributor

@Aadesh-Baral Aadesh-Baral commented Jul 10, 2023

Closes #5880

This pull request enhances the functionality of deleting comments in the question and comments section by introducing a confirmation dialog. Instead of creating a new modal DeleteModal component is modified to make sure that it we can pass the on delete function and the endpoint URL to make a delete request.

Screenshot:
delete_comment

…ments section.

--------------------------------
This commit also modified DeleteModal component so that it accepts on delete function and delete endpoint url.
@sonarcloud
Copy link

sonarcloud bot commented Jul 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@HelNershingThapa HelNershingThapa merged commit 5136d12 into develop Jul 18, 2023
@HelNershingThapa HelNershingThapa deleted the feature/5880-confirmation-dialog branch July 18, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add confirmation dialog while deleting project chat.
2 participants