Skip to content

reviewBugReportDiagnostics

Shows the user the diagnostics a bug report can carry, with a switch per section and a preview of the exact text, and lets them continue or cancel. A potentially private section starts switched off.

Import:

import { reviewBugReportDiagnostics } from '@mnaoumov/obsidian-lib/modals/review-bug-report-diagnostics';

Signature:

function reviewBugReportDiagnostics(params: ReviewBugReportDiagnosticsParams): Promise<readonly BugReportDiagnosticSection[] | null>

Parameters:

Parameter Type Description
params ReviewBugReportDiagnosticsParams The parameters.

Returns: Promise<readonly BugReportDiagnosticSection[] | null> — The sections the user chose, in their original order, or null when the user cancelled.


Links to this page: