Remove "Followers" & "Following" profile sidebar entries when "Enable follow users" is off
Summary
Could be a typefeature as well, but since the current "You do not have any followers"/"You are not following other users" messages are not mentioning the setting, I consider this somewhat more of a bug.
Also, because we do remove sidebar items when project features get disabled.
Steps to reproduce
- Disable https://gitlab.com/-/profile/preferences#enabled_following
- Check
https://gitlab.com/users/YOU/followers
//following
What is the current bug behavior?
Misleading messages, see above
What is the expected correct behavior?
- Either the sidebar entries
Followers
&Following
should not be visible. This may need additional tests for theEnable follow users
toggle, I think. - Or those messages explaining the disabled settings the a possible reason.
Relevant logs and/or screenshots
This bug happens on GitLab.com
Possible fixes
See expected correct behavior
Edited by Christina Lohr