Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: show display names for team members instead of raw UUIDs

Ansh Groverd3481327ef8e
diff --git a/apps/screenpipe-app-tauri/components/settings/team-section.tsx b/apps/screenpipe-app-tauri/components/settings/team-section.tsx
index 1b38db2f8..ca9f788da 100644
--- a/apps/screenpipe-app-tauri/components/settings/team-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/team-section.tsx
@@ -738,8 +738,10 @@ export function TeamSection() {
className="flex items-center justify-between py-1.5 px-2 rounded-md hover:bg-muted/50"
>
<div className="flex items-center gap-2">
- <span className="text-sm font-mono truncate max-w-[180px]">
- {m.user_id === settings.user?.id ? "you" : m.user_id}
+ <span className="text-sm truncate max-w-[180px]">
+ {m.user_id === settings.user?.id
+ ? (settings.user?.name || "you")
+ : (m.name || m.email?.split("@")[0] || m.user_id.slice(0, 8) + "…")}
</span>
<Badge variant="outline" className="text-[10px]">
{m.role}
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-team.ts b/apps/screenpipe-app-tauri/lib/hooks/use-team.ts
index 473764432..0add4e4a6 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-team.ts
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-team.ts
@@ -33,6 +33,9 @@ export interface TeamMember {
user_id: string;
role: "admin" | "member";
joined_at: string;
+ // populated by backend when /api/team/members joins the users table
+ name?: string | null;
+ email?: string | null;
}
export interface TeamConfig {