Skip to content

Scheduling infrastructure for absolutely everyone.

feat: add completed onboarding column to organization members table (#25582)

Joe Au-Yeung2b61bddf7bcb
diff --git a/apps/web/modules/users/components/UserTable/UserListTable.tsx b/apps/web/modules/users/components/UserTable/UserListTable.tsx
index 08365e2247a..c70b2c6e25e 100644
--- a/apps/web/modules/users/components/UserTable/UserListTable.tsx
+++ b/apps/web/modules/users/components/UserTable/UserListTable.tsx
@@ -79,6 +79,7 @@ const initalColumnVisibility = {
teams: true,
createdAt: false,
updatedAt: false,
+ completedOnboarding: false,
twoFactorEnabled: false,
actions: true,
};
@@ -418,6 +419,22 @@ function UserListTableContent({
},
cell: ({ row }) => <div>{row.original.updatedAt || ""}</div>,
},
+ {
+ id: "completedOnboarding",
+ accessorKey: "completedOnboarding",
+ header: t("completed_onboarding"),
+ enableSorting: false,
+ enableColumnFilter: false,
+ size: 80,
+ cell: ({ row }) => {
+ const { completedOnboarding } = row.original;
+ return (
+ <Badge variant={completedOnboarding ? "green" : "gray"}>
+ {completedOnboarding ? t("yes") : t("no")}
+ </Badge>
+ );
+ },
+ },
{
id: "twoFactorEnabled",
accessorKey: "twoFactorEnabled",
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index d3a9eb82388..b38ffb7ae53 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -3494,6 +3494,7 @@
"last_active": "Last Active",
"member_since": "Member Since",
"last_updated": "Last Updated",
+ "completed_onboarding": "Completed Onboarding",
"salesforce_on_cancel_write_to_event": "On cancelled booking, write to event record instead of deleting event",
"salesforce_on_every_cancellation": "On every cancellation",
"report_issue": "Report issue",