Add admin avatars and app logos (#20001)

## Summary
- Add user avatars and workspace logos to the admin general table and
workspace member detail view
- Show app icons in the admin app registrations table and reuse the
shared application display component
- Expose the needed avatar and logo fields through admin GraphQL queries
and backend lookup/statistics services
- Keep workspace fallback behavior consistent when no logo is set and
clean up a few local table styling duplicates

## Testing
- `./node_modules/.bin/tsc -p packages/twenty-front/tsconfig.json
--noEmit --pretty false`
- Manual UI verification of the admin general, workspace detail, and
apps tables

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Thomas des Francs
2026-04-26 19:15:20 +02:00
committed by GitHub
parent 499067ae14
commit fb8b9cb86c
20 changed files with 643 additions and 284 deletions
@@ -7,9 +7,11 @@ export const ADMIN_PANEL_RECENT_USERS = gql`
email
firstName
lastName
avatarUrl
createdAt
workspaceName
workspaceId
workspaceLogo
}
}
`;
@@ -4,10 +4,10 @@ export const ADMIN_PANEL_TOP_WORKSPACES = gql`
query AdminPanelTopWorkspaces($searchTerm: String) {
adminPanelTopWorkspaces(searchTerm: $searchTerm) {
id
logoUrl
name
totalUsers
subdomain
logo
}
}
`;
@@ -26,6 +26,7 @@ export const WORKSPACE_LOOKUP_ADMIN_PANEL = gql`
email
firstName
lastName
avatarUrl
}
featureFlags {
key