This is an automated email from the ASF dual-hosted git repository.
enzomartellucci pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new f5d489da29c fix(actionlog): restore full name display in Action Logs
user column (#37985)
f5d489da29c is described below
commit f5d489da29ce2b938fbe9acb5024810d1a799601
Author: jaymasiwal <[email protected]>
AuthorDate: Thu Feb 26 21:06:24 2026 +0530
fix(actionlog): restore full name display in Action Logs user column
(#37985)
---
superset-frontend/src/pages/ActionLog/index.tsx | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/src/pages/ActionLog/index.tsx
b/superset-frontend/src/pages/ActionLog/index.tsx
index 25fba190a3d..e213fe228bc 100644
--- a/superset-frontend/src/pages/ActionLog/index.tsx
+++ b/superset-frontend/src/pages/ActionLog/index.tsx
@@ -33,7 +33,10 @@ import { fetchUserOptions } from 'src/features/groups/utils';
export type ActionLogObject = {
user: {
username: string;
+ first_name?: string;
+ last_name?: string;
};
+
action: string;
dttm: string | null;
dashboard_id?: number;
@@ -153,7 +156,22 @@ function ActionLogList() {
row: {
original: { user },
},
- }: any) => <span>{user?.username}</span>,
+ }: any) => {
+ const username = user?.username ?? '';
+ const fullName = [user?.first_name, user?.last_name]
+ .filter(Boolean)
+ .join(' ');
+
+ const displayName = fullName || username;
+
+ return (
+ <Typography.Text
+ ellipsis={fullName ? { tooltip: { title: username } } : true}
+ >
+ {displayName}
+ </Typography.Text>
+ );
+ },
},
{