Skip to content

DiagnosticsDetailPanel

API reference and demos for DiagnosticsDetailPanel.

Source

import { DiagnosticsDetailPanel } from "@flanksource/clicky-ui/data";
With Tree · Open in Storybook
No Process Selected · Open in Storybook
Single Thread · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
collectBusy boolean — Shows loading state while stack capture is being collected.
frameActions StackFrameActions — Optional trailing actions rendered on each stack frame, revealed on hover. Lets a host app hang per-frame affordances (trace/watch/decompile) off the rendered thread dump.
headerActions ReactNode — Caller-supplied action buttons rendered right-aligned in the header row, next to the title and Refresh. Use for download/decompile-style actions.
onCollectStack (…) => void | Promise<void> — Called when the user requests a fresh stack capture.
process* ProcessNode | null — Selected process; null renders the empty selection state.
resolveSource JvmFrameSourceResolver — Optional resolver that supplies inline source under each JVM stack frame, so the rendered thread dump can be augmented in place (e.g. with decompiled source). A missing class must resolve to undefined, never throw.
runMeta RunMeta — Optional run metadata rendered above diagnostics.
singleItem boolean — The capture holds a single, already-selected item (e.g. one thread the caller picked from its own list). Suppresses the redundant per-item filter UI (search box, state chips, hide-runtime, count) and lifts Refresh into the header row so the detail view shows just that item's frames.