MAIDR JavaScript API
    Preparing search index...

    Function buildIssueUrl

    • Builds the link that opens a bug report against the upstream repository with the reader's diagnostics already filled in.

      Nothing is sent anywhere: the whole report travels in the URL, so it is the reader who decides — on GitHub's own form, with the block in front of them — whether to submit it at all.

      Parameters

      • diagnostics: Diagnostics

        The snapshot to prefill the Environment section with.

      Returns string

      An absolute github.com URL for the prefilled issue form.