Skip to content

ActivityViewOptions

Defined in: namespaces.ts:245

Options for structured activity view registration.

title: string

Defined in: namespaces.ts:247

Display title for the activity view.


icon: SFSymbolName

Defined in: namespaces.ts:249

SF Symbol name for the activity icon.


optional badge?: string

Defined in: namespaces.ts:251

Optional badge text.


optional view?: ViewDescriptor

Defined in: namespaces.ts:253

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


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

Defined in: namespaces.ts:255

Handler function invoked for interactive elements within the view.

string

void | Promise<void>


optional priority?: number

Defined in: namespaces.ts:257

Priority for ordering (100+ for plugins).


optional linkedPanel?: string

Defined in: namespaces.ts:262

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