Create new route for Code Suggestions page in Admin Area
This creates a Code Suggestions page in the Admin Area for Self-Managed instances, where the Code Suggestions UI would be added later. - Add the /admin/code_suggestions route - Add a "Code Suggestions" entry in the sidebar for SM instances to access the page
显示
- ee/app/controllers/admin/code_suggestions_controller.rb 21 个添加, 0 个删除ee/app/controllers/admin/code_suggestions_controller.rb
- ee/app/views/admin/code_suggestions/index.html.haml 4 个添加, 0 个删除ee/app/views/admin/code_suggestions/index.html.haml
- ee/config/routes/admin.rb 2 个添加, 0 个删除ee/config/routes/admin.rb
- ee/lib/ee/sidebars/admin/panel.rb 14 个添加, 0 个删除ee/lib/ee/sidebars/admin/panel.rb
- ee/lib/sidebars/admin/menus/code_suggestions_menu.rb 29 个添加, 0 个删除ee/lib/sidebars/admin/menus/code_suggestions_menu.rb
- ee/spec/lib/sidebars/admin/menus/code_suggestions_menu_spec.rb 12 个添加, 0 个删除...ec/lib/sidebars/admin/menus/code_suggestions_menu_spec.rb
- ee/spec/lib/sidebars/admin/panel_spec.rb 45 个添加, 0 个删除ee/spec/lib/sidebars/admin/panel_spec.rb
- ee/spec/requests/admin/code_suggestions_controller_spec.rb 89 个添加, 0 个删除ee/spec/requests/admin/code_suggestions_controller_spec.rb
- ee/spec/requests/admin/subscriptions_controller_spec.rb 1 个添加, 1 个删除ee/spec/requests/admin/subscriptions_controller_spec.rb
- locale/gitlab.pot 6 个添加, 0 个删除locale/gitlab.pot
加载中
想要评论请 注册 或 登录