Display instance follow/following relationships in instance view (partial implementation of 648)
What does this PR do? (Please give us a brief description of what this PR does.)
Resolves part of 648. Did not see that Hazel already claimed it, so feel free to disregard, or just use this MR as inspiration for the final design.
Adds two tabs to the instance view:
- Following - shows local users -> remote user follows
- Followers - shows remote users -> local user follows
Changes federation/following and federation/followers to also pack the follower user, otherwise we'd have to fetch every user separately.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request
Merge request reports
Activity
- Resolved by Latte macchiato
- Resolved by Latte macchiato
added 1 commit
- 1c3495ef - Make including followers in response a parameter
added enhancement label
- Resolved by Latte macchiato
mentioned in merge request !650 (closed)
mentioned in merge request !652 (merged)
- Resolved by Marie
I just noticed that without a way to search for users this line in the issue
"This is interesting to view, as a curiosity. Let's say that I want to see who follows who. What the most popular instance users are on a remote instance from our perspective"
Would become very hard to do as you would never know how many followers/following relations there are and how long you could end up scrolling just to finally find the user you were looking for.
- Resolved by Marie
That's a good idea for a future MR, but out of scope here imo. Would require an entirely new endpoint + functionality.