Change target branch in compare form automatically
Created an internal API that will get called whenever the source branch dropdown value. This fetches and returns the target branch for the specified source branch. https://gitlab.com/gitlab-org/gitlab/-/issues/17909
显示
- app/assets/javascripts/merge_requests/components/compare_app.vue 15 个添加, 3 个删除...ets/javascripts/merge_requests/components/compare_app.vue
- app/assets/javascripts/merge_requests/components/compare_dropdown.vue 6 个添加, 0 个删除...avascripts/merge_requests/components/compare_dropdown.vue
- app/assets/javascripts/pages/projects/merge_requests/creations/new/branch_finder.js 1 个添加, 0 个删除...es/projects/merge_requests/creations/new/branch_finder.js
- app/assets/javascripts/pages/projects/merge_requests/creations/new/index.js 32 个添加, 4 个删除...ipts/pages/projects/merge_requests/creations/new/index.js
- app/helpers/merge_requests_helper.rb 7 个添加, 0 个删除app/helpers/merge_requests_helper.rb
- app/views/projects/merge_requests/creations/_new_compare.html.haml 1 个添加, 1 个删除.../projects/merge_requests/creations/_new_compare.html.haml
- ee/app/assets/javascripts/pages/projects/merge_requests/creations/new/branch_finder.js 12 个添加, 0 个删除...es/projects/merge_requests/creations/new/branch_finder.js
- ee/app/controllers/projects/target_branch_rules_controller.rb 6 个添加, 0 个删除...pp/controllers/projects/target_branch_rules_controller.rb
- ee/app/helpers/ee/merge_requests_helper.rb 9 个添加, 0 个删除ee/app/helpers/ee/merge_requests_helper.rb
- ee/config/routes/project.rb 1 个添加, 1 个删除ee/config/routes/project.rb
- ee/spec/frontend/pages/projects/merge_requests/creations/new/branch_finder_spec.js 36 个添加, 0 个删除...ojects/merge_requests/creations/new/branch_finder_spec.js
- ee/spec/helpers/merge_requests_helper_spec.rb 38 个添加, 0 个删除ee/spec/helpers/merge_requests_helper_spec.rb
- ee/spec/requests/projects/target_branch_rules_controller_spec.rb 47 个添加, 0 个删除.../requests/projects/target_branch_rules_controller_spec.rb
- ee/spec/routing/project_routing_spec.rb 4 个添加, 0 个删除ee/spec/routing/project_routing_spec.rb
- spec/frontend/merge_requests/components/compare_app_spec.js 51 个添加, 3 个删除spec/frontend/merge_requests/components/compare_app_spec.js
加载中
想要评论请 注册 或 登录