Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

feat: in-app bug report and feature request modal#249

Open
Just-Insane wants to merge 4 commits into7w1:devfrom
CloudHub-Social:feat/in-app-bug-report
Open

feat: in-app bug report and feature request modal#249
Just-Insane wants to merge 4 commits into7w1:devfrom
CloudHub-Social:feat/in-app-bug-report

Conversation

@Just-Insane
Copy link
Collaborator

@Just-Insane Just-Insane commented Mar 8, 2026

Summary

Adds a /bugreport slash command and a Report an Issue button in Settings → About. Both open a modal that mirrors the repo's GitHub issue templates so the form fields arrive pre-filled on GitHub — no template picker, no blank composer.

Fields

Bug Report (maps to bug_report.yml)

  • Description — required
  • Steps to reproduce
  • Expected behavior
  • Platform / version info — auto-populated from navigator.userAgent + build metadata
  • Additional context

Feature Request (maps to feature_request.yml)

  • Problem description — required
  • Desired solution — required
  • Alternatives considered
  • Additional context

UX details

  • Title field runs a debounced GitHub Search API query as you type and surfaces up to 5 similar open issues to reduce duplicates
  • Submitting opens github.com/.../issues/new?template=<file>.yml&<field-id>=<value>… in a new tab — each field id matches the YAML template's id: so GitHub pre-fills the form directly
  • No authentication required

@Just-Insane Just-Insane requested a review from 7w1 as a code owner March 8, 2026 17:55
@Just-Insane Just-Insane marked this pull request as draft March 8, 2026 17:55
@Just-Insane Just-Insane marked this pull request as ready for review March 8, 2026 18:24
Evie Gauthier added 3 commits March 8, 2026 18:52
- Add BugReportModal component with type selector (bug/feature)
- Debounced GitHub Search API integration for similar open issues
- Auto-populate platform info (Sable version, user agent) for bugs
- /report slash command opens the modal
- 'Report an Issue' button in Settings > About
- Uses existing Jotai atom + hooks pattern (bugReportOpenAtom)
- No authentication required; submits to GitHub pre-fill URL
Bug form: description (req), reproduction, expected-behavior, platform
(auto), context — matching bug_report.yml field ids.

Feature form: problem (req), solution (req), alternatives, context —
matching feature_request.yml field ids.

URL now uses template=<file>.yml and the field ids as query params so
GitHub pre-fills each form field directly, bypassing the template picker.
@Just-Insane Just-Insane force-pushed the feat/in-app-bug-report branch from 903c9c0 to 99e33db Compare March 8, 2026 22:53
Just-Insane pushed a commit to CloudHub-Social/sable that referenced this pull request Mar 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant