[stable-4.7] Delete collection all or single repo (#3759) #3901
+370
−143
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backports #3759
(conflict with
issueUrl
not in 4.7)Menu option to delete collection from all/repo
Delete collection operation
Collection version menu option
Delete collection version
Test changes
Test changes repairs
Test for deletion collection from repo
Tests fix
WIP
Clear of orphans
Clear collections only
Better cleanup
Remove cleanup
Delete version from repo test
Handle translations
Issue Issue: AAH-2261
PR Checks
Repair selector for insights
Fix collection test for insights
Fix collection test for insights2
Finally really fix insights tests :)
Switch contains and not contains
Disable new test for insights
Do not delete repos
WIP
Correct tests
Collection Tests back to normal + new repo test
Fix collection test
Clear the mess done by previous commits in deleteAllCollections
Make deleteNamespacesAndCollections clearer
Move test to approvals
Fix copy collection version test
Disable removal from repo for insights
Better translations in delete modal
Change condition to display delete from repo to feature flag instead of insights mode
Add deleteFromRepo string type
(cherry picked from commit c09590f)