Limit the maximum number of followed users
Limit the maximum number of followed users This will add max limit of 300 to UserFollowUser model. Trying to follow more than 300 users will show an alert.
显示
- app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue 2 个添加, 1 个删除...ripts/vue_shared/components/user_popover/user_popover.vue
- app/controllers/users_controller.rb 2 个添加, 1 个删除app/controllers/users_controller.rb
- app/models/user.rb 2 个添加, 1 个删除app/models/user.rb
- app/models/users/user_follow_user.rb 15 个添加, 0 个删除app/models/users/user_follow_user.rb
- doc/user/profile/index.md 3 个添加, 0 个删除doc/user/profile/index.md
- lib/api/users.rb 4 个添加, 1 个删除lib/api/users.rb
- locale/gitlab.pot 3 个添加, 0 个删除locale/gitlab.pot
- spec/frontend/vue_shared/components/user_popover/user_popover_spec.js 39 个添加, 15 个删除...d/vue_shared/components/user_popover/user_popover_spec.js
- spec/models/user_spec.rb 28 个添加, 0 个删除spec/models/user_spec.rb
- spec/requests/api/users_spec.rb 11 个添加, 0 个删除spec/requests/api/users_spec.rb
- spec/requests/users_controller_spec.rb 20 个添加, 0 个删除spec/requests/users_controller_spec.rb
加载中