Skip to content

Issue report feature - #43

Merged
Blaizzy merged 4 commits into
mainfrom
issue-report-feature
Jul 22, 2026
Merged

Issue report feature#43
Blaizzy merged 4 commits into
mainfrom
issue-report-feature

Conversation

@Lazarus-931

Copy link
Copy Markdown
Collaborator

Way to report issues in nativ's gb repo's issue page.

Once clicked, opens a prefilled GitHub new-issue page populated with app/runtime diagnostics, server and model state, and recent log lines (home directory redacted) for the reporter to review and submit along with description of issue.

A Report an Issue sheet, opened from the sidebar footer, collects a
category (model download, model inference, app UI, app interaction,
crash), a description, and optional diagnostics: app and system info,
model and server settings, category-specific details such as cache
disk space, live inference metrics, or recent crash reports, plus an
optional server-output tail. The report is previewed in full, copied
to the clipboard, and opened as a prefilled GitHub issue; nothing is
sent anywhere until the user submits it on GitHub.
The sidebar's Report an Issue button now builds the diagnostics report and
opens a prefilled GitHub new-issue page to review and submit there, instead of
a separate in-app form. Uses a bug icon; removes the unused report view.
@Lazarus-931
Lazarus-931 requested a review from Blaizzy July 22, 2026 12:42
@Blaizzy

Blaizzy commented Jul 22, 2026

Copy link
Copy Markdown
Owner

LGTM, just a couple nits:

  1. Category-specific diagnostics are unreachable. reportIssue() hard-codes .appInteraction, the only call to IssueDiagnostics.collect. Consequently, download, inference, and crash reports are mislabeled and omit their disk, metrics, or crash diagnostics. Restore category selection or provide contextual report actions.

  2. Long reports are discarded without being copied. The truncation branch says the full report was copied to the clipboard, but no NSPasteboard write occurs. Reports exceeding 6,000 characters lose their suffix, and truncation can also split the log’s Markdown fence. Copy the original body before truncation and construct structurally valid truncated Markdown.

@Lazarus-931

Lazarus-931 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator Author

yeah, seems like a categorical design is best for which bugs users want to report, I'll address that and second issue!
thanks @Blaizzy!

edit: done!

@Lazarus-931 Lazarus-931 added the enhancement New feature or request label Jul 22, 2026
- Report an Issue is now a category menu; each choice collects that category's
  diagnostics (disk, metrics, or crash reports) and applies the matching label
  instead of every report being App interaction.
- When a report exceeds the URL budget, the full body is copied to the
  clipboard before truncation, and the truncated Markdown closes any open code
  fence or <details> block so it still renders.

@Blaizzy Blaizzy left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@Blaizzy
Blaizzy merged commit 60c4444 into main Jul 22, 2026
2 checks passed
@Blaizzy
Blaizzy deleted the issue-report-feature branch July 22, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants