Repository navigation
Conversation
Lists the people a user follows who follow them back, newest follow first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@kachelle : so the set of friends is the intersection of both followers and following sets? what are the implications of this new abstraction? can we now send messages to each other? my friends will be the only ones I can message on |
|
@younes-io no implications, it's just a list. Messaging works the same as before: if someone follows you, you can start a conversation with them on Remotes, as long as you both have Remotes enabled and neither has blocked the other. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
renamed friendships to mutuals |
There was a problem hiding this comment.
🟢 Approval recommended
The changes are focused, follow existing connection-list patterns, and have no identified blocking issues.
No open issues 🎉
What changed in this PR
Adds a Mutuals tab to profile connection lists, showing people the profile owner follows who follow them back.
Changes:
- Adds a cursor-paginated mutuals endpoint with block-aware access checks.
- Extends connection tabs, empty states, and page metadata for mutuals.
- Adds feature tests and documents the new tab.
| File | Description |
|---|---|
| tests/Feature/Controllers/UserMutualsControllerTest.php | Tests membership, ordering, follow status, blocking, guest access, and metadata. |
| routes/web.php | Registers the mutuals endpoint. |
| resources/js/pages/user/connections.tsx | Adds the Mutuals tab, title, and empty state. |
| KNOWLEDGE_BASE.md | Documents mutual connections. |
| app/Services/PageMetadata.php | Adds mutuals preview metadata and canonical URL. |
| app/Http/Requests/ListUserMutualsRequest.php | Enforces block-aware access to mutuals. |
| app/Http/Controllers/UserMutualsController.php | Queries reciprocal follows and renders the connection list. |
Review effort: Balanced
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I don't think either “Friendships” or “Mutuals” is a good name. This isn't a new concept or feature where we need to come up with a suitable name. X already has this concept, so I don't see a reason to change the naming.
By the way, I already opened a PR for the same topic a while ago, so it might be worth taking a look at it. |
|
@ashkesarmaa That is not the same concept though... Mutuals is an already existing concept, and it is not the same as Followers you know. Mutuals: the list of people that someone follows that follow them back. |
|
@ashkesarmaa That being said... I think the latter is probably the more valuable list for people visiting a profile. It could also take the form of "followed by ..." on a profile, which could click to show the full list of people you also follow. |
|
its just something different. This 'mutuals' list, is just the intersection. So this is a list of people that mutually know eachother. thats it. Nothing more. 😅 The reason i wanted it was that i was curious who on my list of followers (which is small to be clear 🫣), i also followed. Thats it. |
|
@paulinevos, @kachelle Thanks for the clarification! Sorry, I misunderstood it. 🙂 |
|
@ashkesarmaa np! And I am in favor of your feature. But I would like to have both, in which case I would prefer "followers you know" to have the profile link approach, so that we don't get too many tabs |
|
okey, let me know if and what i should adjust here @paulinevos ! |
|
@kachelle Nothing, just waiting for @ashkesarmaa to confirm the change to link instead of tab on his end. Then we can have both, and I'll merge yours. |
|
lets go! nice chatting folks! 🫶🏼 |

When we follow eachother, we are mutuals, introducing a new tab:
mutuals.Desktop:

Iphone SE (!) - so small screen
