-
- Downloads
Load the "New Branch" button asynchronously
This button depends on Issue#can_be_worked_on? which in turn depends on Issue#related_branches. By rendering this button asynchronously we can finally remove all usages of Issue#related_branches and Issue#referenced_merge_requests from the issues "show" page.
Showing
- CHANGELOG 2 additions, 0 deletionsCHANGELOG
- app/assets/javascripts/issue.js.coffee 23 additions, 0 deletionsapp/assets/javascripts/issue.js.coffee
- app/assets/stylesheets/framework/buttons.scss 4 additions, 0 deletionsapp/assets/stylesheets/framework/buttons.scss
- app/controllers/projects/issues_controller.rb 14 additions, 2 deletionsapp/controllers/projects/issues_controller.rb
- app/views/projects/issues/_new_branch.html.haml 12 additions, 4 deletionsapp/views/projects/issues/_new_branch.html.haml
- config/routes.rb 1 addition, 0 deletionsconfig/routes.rb
- spec/features/issues/new_branch_button_spec.rb 6 additions, 5 deletionsspec/features/issues/new_branch_button_spec.rb
Please register or sign in to comment