Skip to content

Conversation

@cristianscheid
Copy link
Contributor

Summary

Adds Teams (circles) memberships to the personal account details page, providing users with a complete overview of all their group memberships. This enhances the current scenario where only group memberships from connected user backends are displayed, excluding Teams memberships.

Before

before

After

after

Checklist

@cristianscheid cristianscheid requested review from a team as code owners January 8, 2026 16:40
@cristianscheid cristianscheid added the 3. to review Waiting for reviews label Jan 8, 2026
@cristianscheid cristianscheid requested review from artonge, leftybournes, provokateurin, sorbaugh, susnux and szaimen and removed request for a team January 8, 2026 16:40
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s a bit sad that we have to turn Circle instances into Team instances, I wonder why Team is not an ITeam interface implemented by Circle 🤷
But I guess it’s too late to change that without breaking API.

A few remarks but looks good 👍

$team->getDisplayName(),
$this->urlGenerator->linkToRouteAbsolute('contacts.contacts.directcircle', ['singleId' => $team->getSingleId()]),
);
}, $this->circlesManager->getCircles());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

	 * WARNING: This method is not using Cached Memberships meaning that the request can be heavy and should
	 * only be used if probeCircles() does not fit your need.
	 *
	 * Always prefer probeCircles();

According to circles code it may be better to call probeCircles here?
ping @ArtificialOwl

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing this out! Just to let you know I've tested locally using probeCircles() instead of getCircles() and it works perfectly.

Following the docblock recommendation, since this fits our use case well, I think probeCircles() is the appropriate way of doing it.

I'll wait for @ArtificialOwl's confirmation before updating the implementation.

cristianscheid and others added 2 commits January 8, 2026 14:56
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Cristian Scheid <[email protected]>
Signed-off-by: Cristian Scheid <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Showing Teams memberships on personal account details page

3 participants