Skip to content

Commit 94b6dad

Browse files
feat(web): roster badges, attention tint, origin filter, keyboard triage
Signed-up-here / Imported, GitHub (linked, with age, repos, followers; red when gone; amber when new or inactive), Slack SSO recency, bounced email, email-vs-name mismatch, links in bio, no bio / no avatar. Rows tint amber at three negative signals and red at five or on a critical one. Default filter is "no vote yet"; j/k/s/n/Enter drive triage. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LFyA5poHwrhAktrnsKrUiQ
1 parent e21aba2 commit 94b6dad

2 files changed

Lines changed: 222 additions & 23 deletions

File tree

‎apps/web/src/lib/api.ts‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,16 +591,32 @@ export interface VoteView {
591591
readonly evaluatedAt: string;
592592
}
593593

594+
export type MemberOrigin = 'imported' | 'signed-up';
595+
596+
export interface MemberGitHub {
597+
readonly login: string | null;
598+
readonly accountCreatedAt: string | null;
599+
readonly publicRepos: number | null;
600+
readonly followers: number | null;
601+
readonly status: 'ok' | 'gone' | 'unknown';
602+
readonly checkedAt: string | null;
603+
}
604+
594605
export interface MemberRow {
595606
readonly id: string;
596607
readonly slug: string;
597608
readonly fullName: string;
598609
readonly avatarUrl: string | null;
599610
readonly createdAt: string;
600611
readonly deletedAt: string | null;
612+
readonly origin: MemberOrigin;
601613
readonly email: string | null;
602614
readonly hasGitHubLink: boolean;
615+
readonly github: MemberGitHub | null;
603616
readonly lastLoginAt: string | null;
617+
readonly signInCount: number;
618+
readonly lastSlackSsoAt: string | null;
619+
readonly emailBounce: { readonly type: string; readonly bouncedAt: string } | null;
604620
readonly bioExcerpt: string;
605621
readonly footprint: {
606622
readonly memberships: number;
@@ -611,11 +627,14 @@ export interface MemberRow {
611627
readonly tags: number;
612628
};
613629
readonly latestVote: VoteView | null;
630+
readonly signals: string[];
631+
readonly attention: number;
614632
}
615633

616634
export interface MemberListParams {
617635
q?: string;
618636
vote?: 'none' | VoteVerdict;
637+
origin?: MemberOrigin;
619638
joinedAfter?: string;
620639
joinedBefore?: string;
621640
includeDeactivated?: boolean;

0 commit comments

Comments
 (0)