Skip to content

fix: Properly display teams in usergroup #1754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

fix: Properly display teams in usergroup #1754

wants to merge 3 commits into from

Conversation

enjeck
Copy link
Contributor

@enjeck enjeck commented Apr 16, 2025

fixes #1751

Now, it shows the team display name, not the ID. Plus, an icon is used to indicate it's a team:
image

@enjeck enjeck requested review from juliusknorr and hweihwang April 16, 2025 04:50
@enjeck enjeck self-assigned this Apr 16, 2025
@enjeck enjeck requested a review from blizzz as a code owner April 16, 2025 04:50
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Apr 16, 2025
enjeck and others added 2 commits April 24, 2025 06:39
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
Co-authored-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Enjeck <32180937+enjeck@users.noreply.github.com>
… be null

Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
$displayName = $cell->getValueType() === 0 ? ($this->userManager->getDisplayName($cell->getValue()) ?? $cell->getValue()) : $cell->getValue();
$displayName = $cell->getValue();
if ($cell->getValueType() === UsergroupType::USER) {
$displayName = $this->userManager->getDisplayName($cell->getValue()) ?? $cell->getValue();
Copy link
Member

Choose a reason for hiding this comment

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

fwiw groups also have displaynames

@blizzz blizzz added the 2. developing Work in progress label Apr 28, 2025
@blizzz blizzz moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 📝 Office team Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
Status: 🏗️ In progress
Development

Successfully merging this pull request may close these issues.

Adding Teams to a row is broken
3 participants