Skip to content

ActivityViewOptions

Defined in: namespaces.ts:244

Options for structured activity view registration.

title: string

Defined in: namespaces.ts:246

Display title for the activity view.


icon: SFSymbolName

Defined in: namespaces.ts:248

SF Symbol name for the activity icon.


optional badge?: string

Defined in: namespaces.ts:250

Optional badge text.


optional view?: ViewDescriptor

Defined in: namespaces.ts:252

JSON view descriptor for the sidebar content. Optional when linkedPanel is set.


optional handler?: (action) => void | Promise<void>

Defined in: namespaces.ts:254

Handler function invoked for interactive elements within the view.

string

void | Promise<void>


optional priority?: number

Defined in: namespaces.ts:256

Priority for ordering (100+ for plugins).


optional linkedPanel?: string

Defined in: namespaces.ts:261

Links this activity bar icon to a registered pane panel. The value is the short panel ID (without plugin prefix).