Files
twenty/packages/twenty-front/src/modules/settings/admin-panel/graphql/queries/adminPanelRecentUsers.ts
T
Thomas des Francs fb8b9cb86c 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>
2026-04-26 17:15:20 +00:00

18 lines
345 B
TypeScript

import { gql } from '@apollo/client';
export const ADMIN_PANEL_RECENT_USERS = gql`
query AdminPanelRecentUsers($searchTerm: String) {
adminPanelRecentUsers(searchTerm: $searchTerm) {
id
email
firstName
lastName
avatarUrl
createdAt
workspaceName
workspaceId
workspaceLogo
}
}
`;