374b8e95c3
Add button to delete all merged branches ## What does this MR do? It adds a button to the branches page that the user can use to delete all the branches that are already merged. This can be used to clean up all the branches that were forgotten to delete while merging MRs. **Note** ~~This MR is WIP until MR !6408 is merged.~~ ## Are there points in the code the reviewer needs to double check? The UX of the actual "Delete merged branches" button. ## Why was this MR needed? Fixes #21076 ## Screenshots ![Branches page without "Delete all merged" button](/uploads/3a2936a83c3547a0fce92a74af880a2d/Screen_Shot_2016-10-17_at_20.06.30.png) Before: ![Screen_Shot_2016-10-17_at_20.07.11](/uploads/55efcebf4e0a45dbfc70ba4a11ca152c/Screen_Shot_2016-10-17_at_20.07.11.png) After: ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? Closes #21076 See merge request !6449 |
||
---|---|---|
.. | ||
concerns | ||
repository_check | ||
build_coverage_worker_spec.rb | ||
build_email_worker_spec.rb | ||
build_finished_worker_spec.rb | ||
build_hooks_worker_spec.rb | ||
build_success_worker_spec.rb | ||
delete_merged_branches_worker_spec.rb | ||
delete_user_worker_spec.rb | ||
email_receiver_worker_spec.rb | ||
emails_on_push_worker_spec.rb | ||
every_sidekiq_worker_spec.rb | ||
expire_build_artifacts_worker_spec.rb | ||
expire_build_instance_artifacts_worker_spec.rb | ||
git_garbage_collect_worker_spec.rb | ||
group_destroy_worker_spec.rb | ||
merge_worker_spec.rb | ||
new_note_worker_spec.rb | ||
pipeline_hooks_worker_spec.rb | ||
pipeline_metrics_worker_spec.rb | ||
pipeline_notification_worker_spec.rb | ||
pipeline_proccess_worker_spec.rb | ||
pipeline_success_worker_spec.rb | ||
pipeline_update_worker_spec.rb | ||
post_receive_spec.rb | ||
process_commit_worker_spec.rb | ||
project_cache_worker_spec.rb | ||
project_destroy_worker_spec.rb | ||
prune_old_events_worker_spec.rb | ||
remove_expired_group_links_worker_spec.rb | ||
remove_expired_members_worker_spec.rb | ||
remove_unreferenced_lfs_objects_worker_spec.rb | ||
repository_fork_worker_spec.rb | ||
repository_import_worker_spec.rb | ||
stuck_ci_builds_worker_spec.rb | ||
trending_projects_worker_spec.rb | ||
update_merge_requests_worker_spec.rb |