Skip to content

Interface: WorkspaceBadge

Defined in: packages/sdk/src/workspace-service.ts:73

A badge displayed next to the workspace name in the Workspaces side panel. Contributed by a WorkspaceBadgeProvider.

Properties

id

ts
id: string;

Defined in: packages/sdk/src/workspace-service.ts:75

Stable key unique within this provider's results; used for reconciliation.


text

ts
text: string;

Defined in: packages/sdk/src/workspace-service.ts:77

Short text rendered inside the badge.


color?

ts
optional color?: string;

Defined in: packages/sdk/src/workspace-service.ts:82

Solid chip fill color. Text paints white on top for contrast. Falls back to a muted solid background + hi text when omitted.