Skip to content
Snippets Groups Projects

Display instance follow/following relationships in instance view (partial implementation of 648)

Merged Latte macchiato requested to merge Latte_macchiato/Sharkey:feat/instance-relations into develop

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.

image

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
Edited by Latte macchiato

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Hazelnoot
  • added 1 commit

    • 1c3495ef - Make including followers in response a parameter

    Compare with previous version

  • Latte macchiato resolved all threads

    resolved all threads

  • Hazelnoot changed title from Display instance follow/following relationships in instance view to Display instance follow/following relationships in instance view (resolves #648)

    changed title from Display instance follow/following relationships in instance view to Display instance follow/following relationships in instance view (resolves #648)

  • Hazelnoot
  • Hazelnoot mentioned in merge request !650 (closed)

    mentioned in merge request !650 (closed)

  • added 1 commit

    • 46e53e29 - Parameterize followee as well

    Compare with previous version

  • Latte macchiato resolved all threads

    resolved all threads

  • Hazelnoot approved this merge request

    approved this merge request

  • Hazelnoot mentioned in merge request !652 (merged)

    mentioned in merge request !652 (merged)

  • Marie approved this merge request

    approved this merge request

  • Marie
  • Marie resolved all threads

    resolved all threads

  • Developer

    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.

  • Marie resolved all threads

    resolved all threads

  • Latte macchiato changed title from Display instance follow/following relationships in instance view (resolves #648) to Display instance follow/following relationships in instance view (partial implementation of 648)

    changed title from Display instance follow/following relationships in instance view (resolves #648) to Display instance follow/following relationships in instance view (partial implementation of 648)

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading