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
Open
feat: in-app bug report and feature request modal#249Just-Insane wants to merge 4 commits into7w1:devfrom
Just-Insane wants to merge 4 commits into7w1:devfrom
Conversation
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.
903c9c0 to
99e33db
Compare
Just-Insane
pushed a commit
to CloudHub-Social/sable
that referenced
this pull request
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
/bugreportslash 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)navigator.userAgent+ build metadataFeature Request (maps to
feature_request.yml)UX details
github.com/.../issues/new?template=<file>.yml&<field-id>=<value>…in a new tab — each field id matches the YAML template'sid:so GitHub pre-fills the form directly