Skip to content

Add the ability to the UI to delete engagements from the engagement tab #6514

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

Merged
merged 7 commits into from
Oct 31, 2022

Conversation

coheigea
Copy link
Contributor

@coheigea coheigea commented Jul 5, 2022

The products and findings tabs have three vertical dots that allow you to edit/delete/etc., however these are missing from the engagements tab. So if you go to "All Engagements" for example you can't delete an engagement.

This PR adds the three vertical dots for "All Engagements", "Active Engagements" and "Engagements by Product"

@github-actions github-actions bot added the ui label Jul 5, 2022
Copy link
Contributor

@StefanFl StefanFl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The menus behave differently from the others in DefectDojo. When there are only a few datasets, the menu is within the list and not completely visible:
2022-07-13 08_14_15-Active Engagements _ DefectDojo

It should be like for example the products:
2022-07-13 08_14_35-Product List _ DefectDojo

@coheigea coheigea changed the title Add the ability to the UI to delete engagements from the engagement tab <WIP> Add the ability to the UI to delete engagements from the engagement tab Jul 19, 2022
@coheigea coheigea force-pushed the coheigea/delete_engagements branch 2 times, most recently from 461b4de to e2c72ad Compare July 20, 2022 08:52
@Maffooch
Copy link
Contributor

Still seeing the z-index issue here, but the menu can be scrolled to show the whole dropdown
image

@coheigea
Copy link
Contributor Author

Yeah I tried and failed to find a way to display it outside of the list

@devGregA
Copy link
Contributor

@blakeaowens is going to try to fix the zindex issue.

@devGregA devGregA added this to the 2.15.0 milestone Sep 30, 2022
@Maffooch Maffooch modified the milestones: 2.15.0, 2.16.0 Sep 30, 2022
Copy link
Contributor

@blakeaowens blakeaowens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screen Shot 2022-10-25 at 9 31 02 PM

While it is not identical to other places in DefectDojo, this seems to do the trick.

@coheigea coheigea force-pushed the coheigea/delete_engagements branch from a11291e to cae9f5b Compare October 26, 2022 11:07
@coheigea
Copy link
Contributor Author

There's still a bug in active engagements, this time if you scroll down the page the 3 dots remain in situ:

Screenshot 2022-10-26 at 12 13 15

@damiencarol
Copy link
Contributor

@coheigea if this PR is still in progress, you can mark it as a draft.

@coheigea coheigea marked this pull request as draft October 26, 2022 20:28
@coheigea coheigea changed the title <WIP> Add the ability to the UI to delete engagements from the engagement tab Add the ability to the UI to delete engagements from the engagement tab Oct 26, 2022
@blakeaowens
Copy link
Contributor

There's still a bug in active engagements, this time if you scroll down the page the 3 dots remain in situ:

Screenshot 2022-10-26 at 12 13 15

@blakeaowens
Copy link
Contributor

@coheigea I will have another look later this evening.

@blakeaowens blakeaowens reopened this Oct 28, 2022
@blakeaowens
Copy link
Contributor

engagements-dropdowns

coheigea and others added 2 commits October 29, 2022 11:36
coheigea and others added 5 commits October 29, 2022 11:36
Co-authored-by: Blake Owens <76979297+blakeaowens@users.noreply.github.com>
Co-authored-by: Blake Owens <76979297+blakeaowens@users.noreply.github.com>
Co-authored-by: Blake Owens <76979297+blakeaowens@users.noreply.github.com>
@coheigea coheigea force-pushed the coheigea/delete_engagements branch from 0afe6db to c0fbe91 Compare October 29, 2022 10:36
@coheigea
Copy link
Contributor Author

LGTM thanks @blakeaowens

@coheigea coheigea marked this pull request as ready for review October 29, 2022 10:39
@coheigea coheigea requested a review from blakeaowens October 29, 2022 10:39
@blakeaowens blakeaowens dismissed StefanFl’s stale review October 31, 2022 22:27

Issue has been addressed in latest commit.

@blakeaowens blakeaowens merged commit 4b5f4cb into DefectDojo:dev Oct 31, 2022
@coheigea coheigea deleted the coheigea/delete_engagements branch November 1, 2022 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants