Describes additional content a provider contributes to the problem detail dialog.

Providers return an array of these from getViews to supply extra sections alongside the default detail panel. The platform decides how to present them (tabs, panels, etc.).

Example

const view: ProblemView = {
id: 'raw-email',
label: 'Raw Email',
icon: 'email',
component: {
name: 'email-raw-content',
props: { messageId: 'msg-123' },
},
};

See

Hierarchy

  • ProblemView

Properties

Properties

component: ComponentDescriptor<unknown>

Descriptor for the web component rendered inside this view.

icon?: string | Icon

Icon for this view.

See

Icon

id: string

Stable identifier for this view.

Used by the platform to persist user state (e.g. last selected view) and for deep-linking. Must be unique within a single provider.

label: string

Label identifying this view.