Change inheritance on repository_size_limit alert
This improves code maintainability by creating a base alert component that contains shared code between namespace and repository limit alerts
显示
- app/models/users/callout.rb 2 个添加, 2 个删除app/models/users/callout.rb
- app/models/users/group_callout.rb 2 个添加, 2 个删除app/models/users/group_callout.rb
- doc/api/graphql/reference/index.md 0 个添加, 2 个删除doc/api/graphql/reference/index.md
- ee/app/components/namespaces/storage/base_alert_component.rb 162 个添加, 0 个删除ee/app/components/namespaces/storage/base_alert_component.rb
- ee/app/components/namespaces/storage/namespace_limit/limit_alert_component.html.haml 1 个添加, 1 个删除...s/storage/namespace_limit/limit_alert_component.html.haml
- ee/app/components/namespaces/storage/namespace_limit/limit_alert_component.rb 2 个添加, 154 个删除...mespaces/storage/namespace_limit/limit_alert_component.rb
- ee/app/components/namespaces/storage/repository_limit/limit_alert_component.html.haml 21 个添加, 0 个删除.../storage/repository_limit/limit_alert_component.html.haml
- ee/app/components/namespaces/storage/repository_limit/limit_alert_component.rb 11 个添加, 1 个删除...espaces/storage/repository_limit/limit_alert_component.rb
- ee/spec/components/namespaces/storage/repository_limit/limit_alert_component_spec.rb 7 个添加, 7 个删除...es/storage/repository_limit/limit_alert_component_spec.rb
- ee/spec/controllers/projects_controller_spec.rb 1 个添加, 0 个删除ee/spec/controllers/projects_controller_spec.rb
加载中
想要评论请 注册 或 登录