Add the ability to view relations on a remote instance via the ui
What feature would you like implemented? (Please give us a brief description of what you'd like.)
As part of my API library development, I have stumbled upon more endpoints that have no equivalent in the sharkey client. I would like to implement them. (A bit of clarification - I may refer to these as "remote instances" or FederatedInstance [a name that I have coined for my library, as remote instances are of type IFederatedInstance
]). A federated instance can have its following & follower relations listed out, much like you can fetch all of the users federating over. The relevant endpoints here are /api/federation/followers and /api/federation/following. I think that it would make sense for us to have a tab to view who's following us from the remote instance, and who we are following from the remote instance at the very least. I am thinking something like
Follow from remote instance: Example@remoteinstance.local -> Example@ourinstance.local
Follow to remote instance: Example@ourinstance.local -> Example@remoteinstance.local
Mutual relations: Example@remoteinstance.local ⇌ Example@ourinstance.local
I'd like this to be a tab (not the users tab, I want that to be separate) but either a "Following" or "Followee" tab. I grab the term followee from the api's user relation endpoint (yes I am a nerd, if it wasn't obvious by the fact I used the "equilibrium" symbol for mutual relations)
Why should we add this feature? (Please give us a brief description of why your feature is important.)
I am ordering my justifications in terms of importance to me. I have three
-
This provides critical insight to relations between instances. In the event that I have a remote instance involved with something highly illegal (think CSAM) it is helpful to know how they began to federate with us in the first place. I need to be able to see those existing connections.
-
This provides admins insight in what would be impacted by defederation. This makes that decision a little less abstract. Currently, all we have to see for that is pub/sub numbers. Take tech.lgbt for instance: Following (Pub) 2,380; Followers (Sub) 2,431. These are numbers, and these numbers remove the individual people behind each account. Instance administrators should be looking at defederation as a LAST resort, and should be fully aware of the countless connections they are going to be severing/terminating.
-
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, vice versa. We already have so many beautiful metrics on *key, it's one of the few things I admire about the software. The graphs are very pretty and insightful as an instance administrator. It's not violating anyone's "privacy" because it is a functionality that exists within the software, just slightly obscure because you have to use an endpoint to retrieve it.
Version (What version of Sharkey is your instance running? You can find this by clicking your instance's logo at the top left and then clicking instance information.)
Versions*
https://transfem.social - 2024.6.0-transfem https://kitsunes.club - 2024.6.0-dev https://kitsunes.gay - 2024.6.0-dev https://eepy.moe - 2024.5.1.1.eepy https://woem.men - 2024.5.1 https://lewd.lgbt (I am no longer responsible for it, but it is a sister to woem.men) - 2024.3.3 https://wrench.baby - 2024.6.0-dev (probably more but I genuinely forgot how many instances I administrate, or help with the administration of)
Instance (What instance of Sharkey are you using?)
https://transfem.social https://kitsunes.club https://kitsunes.gay https://eepy.moe https://woem.men https://lewd.lgbt (I am no longer responsible for it, but it is a sister to woem.men) https://wrench.baby - 2024.6.0-dev (probably more but I genuinely forgot how many instances I administrate, or help with the administration of)
Contribution Guidelines By submitting this issue, you agree to follow our Contribution Guidelines
- I agree to follow this project's Contribution Guidelines
- I have searched the issue tracker for similar requests, and this is not a duplicate.