Skip to content

Fix followees count (only count active users)

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

Nowadays following users which are blocked are counted as well, this MR does only count active users. Basically the same as for followers.

🛠 with at Siemens as part of the DACH connect roadshow

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Follow 3 users
  2. See the the number of Following is 3 on http://127.0.0.1:3000/root
  3. Block one of the users you follow
  4. See the the number of Following is 2 on http://127.0.0.1:3000/root
Edited by Roger Meier

Merge request reports

Loading