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

Delete Questionnaire #1276

Closed
ibolton336 opened this issue Aug 10, 2023 · 0 comments · Fixed by #1303
Closed

Delete Questionnaire #1276

ibolton336 opened this issue Aug 10, 2023 · 0 comments · Fixed by #1303
Assignees
Labels
Custom Assessment Items relating to custom assessment work

Comments

@ibolton336
Copy link
Member

Questionnaire can be deleted by selecting the Delete option from the kebab menu in the questionnaire row. This should open a modal window displaying the following text:

Deleting a questionnaire will cascade into the deletion of all answered questionnaires associated to applications and/or archetypes. This action cannot be undone. Please enter the name of the questionnaire below to confirm:

Below that, a text field your be displayed for users to enter the name of the questionnaire to be deleted. The Delete button in the modal won't be enabled until the user enters the right name.

@ibolton336 ibolton336 converted this from a draft issue Aug 10, 2023
@ibolton336 ibolton336 added the Custom Assessment Items relating to custom assessment work label Aug 10, 2023
@avivtur avivtur self-assigned this Aug 23, 2023
@ibolton336 ibolton336 moved this from Todo to In Progress in Konveyor UI Aug 23, 2023
sjd78 pushed a commit that referenced this issue Sep 6, 2023
Closes #1276

Adding an explanation of what happens if the questionnaire is deleted
and forcing the user to write the questionnaire's name to deletion.

Note: the input is case-sensitive to the name of the questionnaire.

Before:

![delete-questionnaire-dialog-b4](https://github.com/konveyor/tackle2-ui/assets/67270715/ddc12fa3-431a-40a1-af67-61f6fbb41172)

After:

![delete-questionnaire-dialog2](https://github.com/konveyor/tackle2-ui/assets/67270715/ef8de76d-ee19-456f-990b-c8a9f4f89600)

![delete-questionnaire-dialog](https://github.com/konveyor/tackle2-ui/assets/67270715/57819a1e-6924-4d1b-aab0-f945a92672c3)

---------

Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
@github-project-automation github-project-automation bot moved this from In Progress to Done in Konveyor UI Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Custom Assessment Items relating to custom assessment work
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants