Skip to content

Interface: ActivePanelInfo ​

Defined in: packages/sdk/src/panel-service.ts:16

A snapshot of the active center-dock panel, when it's a DockPanelKind other than the built-in editor or terminal. Returned by PanelService.getState and delivered to PanelService.subscribe listeners.

Properties ​

panelId ​

ts
panelId: string;

Defined in: packages/sdk/src/panel-service.ts:19

The active tab's own dockview id — the same string PanelService.focus and the tab-adornment methods take as their target.


kindId ​

ts
kindId: string;

Defined in: packages/sdk/src/panel-service.ts:21

The panel's DockPanelKind.id.


workspaceId ​

ts
workspaceId: string;

Defined in: packages/sdk/src/panel-service.ts:23

The workspace whose dock this panel is active in.


recordId? ​

ts
optional recordId?: string;

Defined in: packages/sdk/src/panel-service.ts:29

This tab's DockPanelRecord.id, when the kind is persistence: "recorded" — the same id Workspace.panels enumerates. undefined for a transient kind (no record exists to name).