Skip to content

BugReportIssueFormFieldId

The ids of the bug-report issue form’s fields that getBugReportIssueFormUrl prefills. GitHub prefills a field from a query parameter named after the field’s id, so a form must give its fields these ids for them to be filled.

Import:

import type { BugReportIssueFormFieldId } from '@mnaoumov/obsidian-lib/bug-report';

Signature:

export enum BugReportIssueFormFieldId

Members:

Member Value Description
Environment 'environment' The whole environment, as formatBugReportEnvironment renders it.
ObsidianVersion 'obsidian-version' The Obsidian version.
OperatingSystem 'operating-system' The operating system.
PluginVersion 'plugin-version' The reporting plugin’s version.

Links to this page: