revert: "feat: add membership creation date to Organization Member List table (CAL-5406) (#20595)" (#20978)

This reverts commit d21f7ccbc8.
This commit is contained in:
Keith Williams authored and GitHub committed 2025-04-26 00:46:49 +00:00
1 parent eacd05bf3b
commit 5aaca2b7aa
13 files changed
+14 -152

No files matched your search

@@ -131,7 +131,7 @@ function UserListTableContent({ oAuthClientId }: PlatformManagedUsersTableProps)
enableHiding: false,
size: 200,
header: () => {
return t("managed_users");
return `Managed Users`;
},
cell: ({ row }) => {
if (isPending) {
@@ -166,7 +166,7 @@ function UserListTableContent({ oAuthClientId }: PlatformManagedUsersTableProps)
{
id: "role",
accessorFn: (data) => data.role,
header: t("role"),
header: "Role",
size: 100,
cell: ({ row, table }) => {
if (isPending) {
@@ -188,7 +188,7 @@ function UserListTableContent({ oAuthClientId }: PlatformManagedUsersTableProps)
{
id: "teams",
accessorFn: (data) => data.teams.map((team) => team.name),
header: t("teams"),
header: "Teams",
size: 140,
cell: ({ row, table }) => {
if (isPending) {
@@ -74,8 +74,6 @@ const initalColumnVisibility = {
member: true,
role: true,
teams: true,
createdAt: false,
updatedAt: false,
actions: true,
};
@@ -368,52 +366,9 @@ function UserListTableContent() {
...generateAttributeColumns(),
{
id: "lastActiveAt",
accessorKey: "lastActiveAt",
header: t("last_active"),
enableSorting: false,
enableColumnFilter: true,
meta: {
filter: {
type: ColumnFilterType.DATE_RANGE,
dateRangeOptions: {
endOfDay: true,
},
},
},
header: "Last Active",
cell: ({ row }) => <div>{row.original.lastActiveAt}</div>,
},
{
id: "createdAt",
accessorKey: "createdAt",
header: t("member_since"),
enableSorting: false,
enableColumnFilter: true,
meta: {
filter: {
type: ColumnFilterType.DATE_RANGE,
dateRangeOptions: {
endOfDay: true,
},
},
},
cell: ({ row }) => <div>{row.original.createdAt || ""}</div>,
},
{
id: "updatedAt",
accessorKey: "updatedAt",
header: t("last_updated"),
enableSorting: false,
enableColumnFilter: true,
meta: {
filter: {
type: ColumnFilterType.DATE_RANGE,
dateRangeOptions: {
endOfDay: true,
},
},
},
cell: ({ row }) => <div>{row.original.updatedAt || ""}</div>,
},
{
id: "actions",
enableHiding: false,