From 9175ce7febfce9ff56194c1bc913e23b6202366a Mon Sep 17 00:00:00 2001 From: eti Date: Wed, 16 Sep 2026 04:21:41 +0200 Subject: [PATCH] web/profile: add organization fixtures Signed-off-by: eti --- .../components/profile/organization/mock.ts | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/web/src/lib/components/profile/organization/mock.ts b/web/src/lib/components/profile/organization/mock.ts index 59b0dc398..2afe22cb5 100644 --- a/web/src/lib/components/profile/organization/mock.ts +++ b/web/src/lib/components/profile/organization/mock.ts @@ -25,3 +25,73 @@ export const organizationRepoStats = { issues: 94, pulls: 76 }; + +export const viewerIsOrganizationOwner = true; + +export const organizationOnboardingComplete = false; + +export interface OrganizationSummary { + did: string; + handle: string; + description?: string; + members: number; + repos: number; + role: "owner" | "member"; +} + +export const userOrganizations: OrganizationSummary[] = [ + { + did: "did:plc:organization-tangled", + handle: "tangled.org", + description: "Building a social coding platform on atproto.", + members: 86, + repos: 24, + role: "owner" + }, + { + did: "did:plc:organization-microcosm", + handle: "microcosm.blue", + description: "Infrastructure and tooling for the atmosphere.", + members: 12, + repos: 9, + role: "owner" + }, + { + did: "did:plc:organization-oceanography", + handle: "oceanography.tld", + description: "Open datasets and models for ocean research.", + members: 41, + repos: 17, + role: "member" + }, + { + did: "did:plc:organization-fieldnotes", + handle: "fieldnotes.tld", + members: 4, + repos: 2, + role: "member" + } +]; + +export interface MemberCandidate { + did: string; + handle: string; + reason: "vouched" | "interacted"; +} + +export const memberCandidates: MemberCandidate[] = [ + { did: "did:plc:candidate-1", handle: "oppi.tld", reason: "vouched" }, + { did: "did:plc:candidate-2", handle: "icyphox.sh", reason: "vouched" }, + { did: "did:plc:candidate-3", handle: "akshay.tld", reason: "interacted" }, + { did: "did:plc:candidate-4", handle: "natalie.tld", reason: "interacted" }, + { did: "did:plc:candidate-5", handle: "jules.tld", reason: "interacted" }, + { did: "did:plc:candidate-6", handle: "rafael.tld", reason: "interacted" }, + { did: "did:plc:candidate-7", handle: "sasha.tld", reason: "interacted" }, + { did: "did:plc:candidate-8", handle: "wren.tld", reason: "interacted" } +]; + +export const organizationRepoSuggestions = [ + { name: "core", description: "The main monorepo." }, + { name: "docs", description: "User and operator documentation." }, + { name: "design", description: "Design system and brand assets." } +]; -- 2.51.2