Refactor `_gl_toggle` partial to ViewComponent
- introduce ViewComponent
显示
- .rubocop.yml 4 个添加, 0 个删除.rubocop.yml
- Gemfile 2 个添加, 0 个删除Gemfile
- Gemfile.lock 5 个添加, 1 个删除Gemfile.lock
- app/components/pajamas/component.rb 23 个添加, 0 个删除app/components/pajamas/component.rb
- app/components/pajamas/toggle_component.html.haml 16 个添加, 0 个删除app/components/pajamas/toggle_component.html.haml
- app/components/pajamas/toggle_component.rb 34 个添加, 0 个删除app/components/pajamas/toggle_component.rb
- app/views/projects/pages_domains/_certificate.html.haml 5 个添加, 6 个删除app/views/projects/pages_domains/_certificate.html.haml
- app/views/projects/protected_branches/shared/_create_protected_branch.html.haml 2 个添加, 3 个删除...tected_branches/shared/_create_protected_branch.html.haml
- app/views/shared/_gl_toggle.html.haml 0 个添加, 30 个删除app/views/shared/_gl_toggle.html.haml
- app/views/shared/projects/protected_branches/_update_protected_branch.html.haml 2 个添加, 3 个删除...cts/protected_branches/_update_protected_branch.html.haml
- config/application.rb 2 个添加, 0 个删除config/application.rb
- ee/app/views/projects/protected_branches/ee/_code_owner_approval_form.html.haml 2 个添加, 3 个删除...protected_branches/ee/_code_owner_approval_form.html.haml
- ee/app/views/projects/protected_branches/ee/_code_owner_approval_table.html.haml 3 个添加, 4 个删除...rotected_branches/ee/_code_owner_approval_table.html.haml
- ee/app/views/projects/protected_branches/ee/_protected_branch_access_summary.html.haml 2 个添加, 3 个删除...ed_branches/ee/_protected_branch_access_summary.html.haml
- spec/components/pajamas/component_spec.rb 26 个添加, 0 个删除spec/components/pajamas/component_spec.rb
- spec/components/pajamas/toggle_component_spec.rb 107 个添加, 0 个删除spec/components/pajamas/toggle_component_spec.rb
- spec/support/view_component.rb 7 个添加, 0 个删除spec/support/view_component.rb
- spec/tooling/quality/test_level_spec.rb 2 个添加, 2 个删除spec/tooling/quality/test_level_spec.rb
- tooling/quality/test_level.rb 1 个添加, 0 个删除tooling/quality/test_level.rb
加载中
想要评论请 注册 或 登录