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:
committed by
GitHub
parent
499067ae14
commit
fb8b9cb86c
+2
@@ -7,9 +7,11 @@ export const ADMIN_PANEL_RECENT_USERS = gql`
|
||||
email
|
||||
firstName
|
||||
lastName
|
||||
avatarUrl
|
||||
createdAt
|
||||
workspaceName
|
||||
workspaceId
|
||||
workspaceLogo
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
+1
-1
@@ -4,10 +4,10 @@ export const ADMIN_PANEL_TOP_WORKSPACES = gql`
|
||||
query AdminPanelTopWorkspaces($searchTerm: String) {
|
||||
adminPanelTopWorkspaces(searchTerm: $searchTerm) {
|
||||
id
|
||||
logoUrl
|
||||
name
|
||||
totalUsers
|
||||
subdomain
|
||||
logo
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
+1
@@ -26,6 +26,7 @@ export const WORKSPACE_LOOKUP_ADMIN_PANEL = gql`
|
||||
email
|
||||
firstName
|
||||
lastName
|
||||
avatarUrl
|
||||
}
|
||||
featureFlags {
|
||||
key
|
||||
|
||||
Reference in New Issue
Block a user